Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Kubernetes: A Short Introduction (2019)


Published on

Why containers? Why Kubernetes? And how does it work?

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Kubernetes: A Short Introduction (2019)

  1. 1. Kubernetes: A Short Introduction Megan O'Keefe 1 March 2019
  2. 2. Hi! I'm a Developer Programs Engineer. I work with users and our engineering teams to make our products better. I work on Cloud platform infrastructure!
  3. 3. source:
  4. 4. Virtual Machines Containers source:
  5. 5. Google runs on containers In any given week, we launch over two billion containers. Gmail, Search, Maps, Docs... source: Google
  6. 6. source: Github
  7. 7. source: Wikimedia Commons Kubernetes runs Applications in a Cluster. Applications = Pods
  8. 8. master node node node Cluster
  9. 9. master Pods in a Cluster
  10. 10. master Pods in a Cluster you!
  11. 11. apiVersion: extensions/v1beta1 kind: Deployment metadata: name: hello-world spec: replicas: 1 template: metadata: labels: app: hello-world spec: containers: - name: hello-world-server image: ports: - containerPort: 8080 Pod Docker Image
  12. 12. apiVersion: v1 kind: Service metadata: name: helloworld spec: selector: app: hello-world ports: - name: http protocol: TCP port: 80 targetPort: 8080 type: LoadBalancer Allow traffic in
  13. 13. ➜ kubectl apply -f deployment.yaml deployment.extensions/hello-world created
  14. 14. ➜ kubectl get pods NAME READY STATUS RESTARTS hello-world-84c646556b-kn59b 1/1 Running 0
  15. 15. ➜ kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP helloworld LoadBalancer
  16. 16. ➜ curl Hello world!
  17. 17. source: GCP Blog Uses Kubernetes to process archived images (front and back!)
  18. 18. source: CERN / slides Runs Kubernetes at the Large Hadron Collider to analyze 40M particle interactions per second.
  19. 19. source: GCP Blog 2016: Pokémon Go was the largest deployment on Google Kubernetes Engine ever.
  20. 20. Kubernetes is portable...
  21. 21. source:
  22. 22. ... and growing every day. Serverless Computing Stateless functions, on Kubernetes. Hybrid Cloud Many clusters, working together. Beyond Containers Orchestrate VMs with Kubernetes
  23. 23. Thank you! Learn more: source: Google