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.

Introduction to Kubernetes

2,033 views

Published on

Presentation by Ross Kukulinski at the Philadelphia Docker Meetup on September 27, 2016.

This talk will introduce Kubernetes, the industry standard system for automatic deployment, scaling, and management of containerized applications. We'll walk through key concepts and you will learn how to deploy a multi-tier application to Kubernetes in 10 minutes.

Published in: Technology
  • Be the first to comment

Introduction to Kubernetes

  1. 1. September 27, 2016 Introduction to Kubernetes Ross Kukulinski @RossKukulinski
  2. 2. ©2016 NodeSource @RossKukulinski Welcome 2 Ross Kukulinski Product Manager @ NodeSource Node.js Evangelism WG Introduction to CoreOS - O’Reilly Media
  3. 3. ©2016 NodeSource @RossKukulinski3 Welcome Today’s Roadmap • Container Orchestration • Kubernetes 101 • DEMO FOR THE DEMO GODS
  4. 4. ©2016 NodeSource @RossKukulinski4
  5. 5. ©2016 NodeSource @RossKukulinski Container Orchestration 5
  6. 6. ©2016 NodeSource @RossKukulinski6 If your architecture looks like this Manage your containers with Ansible, Docker Swarm, ECS, etc.
  7. 7. ©2016 NodeSource @RossKukulinski7 If your architecture looks like this You need orchestration help
  8. 8. ©2016 NodeSource @RossKukulinski8 Orchestration Overview Container Orchestration • Schedule containers to physical machines • Restart containers if they stop • Provide private container network • Scale up and down • Service discovery
  9. 9. ©2016 NodeSource @RossKukulinski Kubernetes 101 9
  10. 10. ©2016 NodeSource @RossKukulinski Kubernetes is an open source system for automating deployment, scaling, and management of containerized applications Kubernetes 101 10
  11. 11. ©2016 NodeSource @RossKukulinski11 Kubernetes 101 Kubernetes Orchestration • Schedules containers to physical machines • Service discovery & load balancing • Horizontal application scaling • Automated rollouts & rollbacks • Secret and configuration management • Storage orchestration • … and a whole lot more!
  12. 12. ©2016 NodeSource @RossKukulinski Kubernetes Nomenclature 12
  13. 13. ©2016 NodeSource @RossKukulinski13 Kubernetes 101 Terminology - Nodes • Is a worker machine in Kubernetes • Node may be a VM or a physical machine • Each Node has the services necessary to run Pods
  14. 14. ©2016 NodeSource @RossKukulinski14 Kubernetes 101 Terminology - Pods • Smallest deployable units of computing • Group of one or more containers • Containers within Pod share a cluster-accessible IP address (and localhost) • Containers within a Pod have access to shared volumes
  15. 15. ©2016 NodeSource @RossKukulinski15 Kubernetes 101 Terminology - Replica Sets • Ensures that a specified number of Pod “replicas” are running at one time • If there are too many, it will kill some Pods • If there are too few, it will start more
  16. 16. ©2016 NodeSource @RossKukulinski16 Kubernetes 101 Terminology - Deployments • Provides declarative updates for Pods/Replica Sets • Manages one or more Replica Sets • Primary mechanism for interacting with Pods! • Automated rollouts and rollbacks :)
  17. 17. ©2016 NodeSource @RossKukulinski17 Kubernetes 101 Terminology - Services • An abstraction which defines a logical set of Pods • Provides a mechanism for accessing them • 3 Types: ClusterIP, NodePort, LoadBalancer
  18. 18. ©2016 NodeSource @RossKukulinski Let’s play with Kubernetes right now! 18
  19. 19. ©2016 NodeSource @RossKukulinski github.com/rosskukulinski/docker-philly 19
  20. 20. Thank you. Ross Kukulinski ross@nodesource.com @RossKukulinski

×