1 / 40

Getting Started with Kubernetes and Rancher 2.0

Getting Started with Kubernetes and Rancher 2.0. Rancher Labs Training. #rancherk8s. Today’s objectives. Technical introduction to Kubernetes using Rancher Keep the slides to a minimum Demo, then demo some more Questions are always welcome

adelle
Download Presentation

Getting Started with Kubernetes and Rancher 2.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting Started with Kubernetes and Rancher 2.0 Rancher Labs Training #rancherk8s

  2. Today’s objectives Technical introduction to Kubernetes using Rancher Keep the slides to a minimum Demo, then demo some more Questions are always welcome We won’t leave until all your questions are answered!

  3. Matthew Scheer Community Advocate @matthew_scheer Slack: @matthew • RajashreeMandaogane • Software Engineer • Twitter: @rajashree_28 • Slack: rajashree • Github: mrajashree

  4. For the purpose of this training, we’re assuming you understand basic Docker concepts…. #rancherk8s

  5. Resources - docs • https://rancher.com/docs/rancher/v2.x/en/quick-start-guide/ #rancherk8s

  6. Resources - forums http://slack.rancher.io http://forums.rancher.com #rancherk8s

  7. Rancher & Kubernetes - better together Open source container manager used to run Kubernetes in production Easy-to-use interface for k8s configuration and deployment Infrastructure management across multiple clusters and clouds Automated deployment of the latest k8s release Workload, RBAC, policy, and project management 24x7 enterprise-grade support Rancher Kubernetes Distribution Certified and supported distribution that closely follows the upstream Kubernetes project Rancher Infrastructure Services Storage, networking, load balancing, security, etc.

  8. Kubernetes 101 Pods Deployments Services Config maps Ingresses #rancherk8s

  9. Pods Smallest unit that can be deployed in Kubernetes Consist of one or more containers that are always scheduled together Each pod is given a unique IP address Containers in a pod can speak to each other via localhost #rancherk8s

  10. Pods are confusing If the explanation is confusing, don’t worry too much Pods typically contain only a single container Try to think of pods as containers for the remainder of the training #rancherk8s

  11. Pods

  12. Replication Controller and Replica Set Defines the desired scale and state of a group of pods SOT for driving the current state to the desired state (in controller manager)

  13. Replica Set

  14. Replica Set

  15. Replica Set

  16. Deployments Level of abstraction above ReplicaSets Deployments create and update ReplicaSets Allow you to easily scale and perform rolling upgrades #rancherk8s

  17. Deployments

  18. Deployments

  19. Deployments

  20. Deployments

  21. Deployments

  22. Services Define a DNS entry that can be used to refer to a group of pods Provide a consistent endpoint for the group of pods Different types: nodePort, clusterIP, loadbalancer #rancherk8s

  23. Services 123.456.789 Service IP

  24. Config maps Allow storing of arbitrary configuration values and files Exposed in pods as either environment variables or as local storage Decoupled storage of configuration from pod spec #rancherk8s

  25. Config Maps apiVersion: v1  kind: ConfigMap metadata:    name: dev-config    namespace: default  data:    Item1: qa-stuff    Item2: more qa stuff apiVersion: v1  kind: ConfigMap metadata:    name: dev-config    namespace: default  data:    Item1: prod-stuff    Item2: more prod stuff apiVersion: v1  kind: ConfigMap metadata:    name: dev-config    namespace: default  data:    Item1: dev-stuff    Item2: more dev stuff

  26. Ingresses Define how traffic outside the cluster is routed to inside the cluster Used to expose Kubernetes services to the world Route traffic to internal services based on factors such as host and path Ingress is usually implemented by a load balancer (Nginx, HAProxy, AWS ELB, etc…) #rancherk8s

  27. Ingresses Ingress Controller Service IP https://my-nginx-app.cluster.comhttps://cluster.com/my-nginx-app

  28. Rancher 2.0 101 Setting up Rancher Clusters Authentication & Security Storage Projects Namespaces Catalogs CLI/API/Kubectl

  29. Demo Time

  30. Join other Rancher users in Slack https://slack.rancher.io #Kubernetes channel

  31. Thank you rancher.com/kubernetes #rancherk8s

More Related