Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Deploy Ktor applications instantly to Kubernetes - EKS on AWS

Deploy Ktor applications instantly to Kubernetes - EKS on AWS

Deploy Ktor applications instantly to Kubernetes – in this case EKS on AWS – without Dockerfiles. A showcase how to create docker images with kotlin, gradle and jib. The docker image is pushed instantly to ECR on AWS. Afterwards the updated docker image is deployed to the EKS cluster on AWS. Kubernetes uses the updated docker image and rolls the deployment.

Kotlin, ktor, gradle, jib, skaffold, kubernetes (EKS) rock 😉

Lothar Schulz

April 20, 2020
Tweet

More Decks by Lothar Schulz

Other Decks in Technology

Transcript

  1. Continuous Delivery to Kubernetes with jib, skaffold and ktor enterprise:CODE

    from Home Lothar Schulz 2020 04 20 @lothar_schulz
  2. pic: © Moovel Continuous Delivery to Kubernetes with jib, skaffold

    and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20 @lothar_schulz
  3. pic: © Moovel Continuous Delivery to Kubernetes with jib, skaffold

    and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20 @lothar_schulz
  4. Me Continuous Delivery to Kubernetes with jib, skaffold and ktor

    - enterprise:CODE from Home | Lothar Schulz | 2020 04 20 @lothar_schulz Engineering Manager lotharschulz.info CI/CD Meetup Berlin github.com/lotharschulz speakerdeck.com/lothar @lothar_schulz lnkd.in/lotharschulz
  5. Continuous Delivery (to Kubernetes) 5 Containers & Engineers first @lothar_schulz

    Continuous Delivery to Kubernetes with jib, skaffold and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  6. Container First 6 Assume container runtime by default @lothar_schulz Continuous

    Delivery to Kubernetes with jib, skaffold and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  7. Engineers First • improve Engineering experience • avoid context switches

    • Kotlin ◦ keep the context most kotlin devs work in ▪ IDE ▪ Terminal ▪ Source Code Management System @lothar_schulz Continuous Delivery to Kubernetes with jib, skaffold and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  8. Keep the dev context & CD to Kubernetes with Kotlin

    tools 8 @lothar_schulz Continuous Delivery to Kubernetes with jib, skaffold and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  9. Demo Time @lothar_schulz Continuous Delivery to Kubernetes with jib, skaffold

    and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  10. 10 @lothar_schulz Continuous Delivery to Kubernetes with jib, skaffold and

    ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  11. Recap 11 - Jib builds optimized Docker and OCI images

    for your Java applications without a Docker daemon - and without deep mastery of Docker best-practices. Plugins: - Gradle - Maven - Ktor is a framework for building asynchronous servers and clients in connected systems with minimal effort. @lothar_schulz Continuous Delivery to Kubernetes with jib, skaffold and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  12. Recap 12 - Skaffold is a command line tool that

    facilitates continuous development for Kubernetes applications. You can iterate on your application source code locally then deploy to local or remote Kubernetes clusters. - K8s: Container Orchestration - automated configuration, coordination, and management @lothar_schulz Continuous Delivery to Kubernetes with jib, skaffold and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  13. I am sure you have questions @lothar_schulz Continuous Delivery to

    Kubernetes with jib, skaffold and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20
  14. THANK YOU. @lothar_schulz Continuous Delivery to Kubernetes with jib, skaffold

    and ktor - enterprise:CODE from Home | Lothar Schulz | 2020 04 20