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

A Gentle Introduction to Kubernetes

A Gentle Introduction to Kubernetes

Presented at Collision Conf @Home 2020

Eddie Zaneski

June 25, 2020
Tweet

More Decks by Eddie Zaneski

Other Decks in Technology

Transcript

  1. © 2020, Amazon Web Services, Inc. or its Affiliates. Eddie

    Zaneski Senior Developer Advocate @AWS @eddiezane A Gentle Introduction to Kubernetes
  2. © 2020, Amazon Web Services, Inc. or its Affiliates. Agenda

    • What is a container? • What is Kubernetes? • What is Amazon EKS? • Codez
  3. © 2020, Amazon Web Services, Inc. or its Affiliates. What

    is a container? “A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another.” – Docker https://www.docker.com/resources/what-container
  4. © 2020, Amazon Web Services, Inc. or its Affiliates. Container

    Evolution https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
  5. © 2020, Amazon Web Services, Inc. or its Affiliates. Container

    Evolution https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
  6. © 2020, Amazon Web Services, Inc. or its Affiliates. Container

    Evolution https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/
  7. © 2020, Amazon Web Services, Inc. or its Affiliates. What

    is Kubernetes? Kubernetes is a container orchestration system which started as an open source project from Google. Heart of the “Cloud Native” movement. Designed to run everywhere from on-premises to the cloud. Automatic scaling and self-healing. Innovative declarative resource model.
  8. © 2020, Amazon Web Services, Inc. or its Affiliates. Architecture

    https://kubernetes.io/docs/concepts/overview/components/
  9. © 2020, Amazon Web Services, Inc. or its Affiliates. Pod

    A pod is the basic unit of Kubernetes. It generally represents a container. Most resources have 4 fields: • apiVersion • kind • metadata • spec Don’t create these yourself.
  10. © 2020, Amazon Web Services, Inc. or its Affiliates. Deployment

    A deployment represents a single app/service. This is the most common resource you’ll use. Completely isolated from other deployments by default. Notice the spec.template field is the same as the pod.
  11. © 2020, Amazon Web Services, Inc. or its Affiliates. Service

    A service is how we make deployments accessible inside and outside our cluster. Three different types: • ClusterIP • NodePort • LoadBalancer
  12. © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon

    EKS Fully managed Kubernetes service. Deeply integrated with services such as Amazon CloudWatch, Auto Scaling Groups, AWS Identity and Access Management (IAM), and Amazon Virtual Private Cloud (VPC). Runs upstream Kubernetes and is certified Kubernetes conformant.