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.

Gardener -- The Kubernetes Botanist - Bangalore Kubernetes Meetup

406 views

Published on

Gardener -- The Kubernetes Botanist -- as presented by Amshuman Rao Karaya and Prashanth at the Kubernetes Meetup 2018 in Bangalore

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Gardener -- The Kubernetes Botanist - Bangalore Kubernetes Meetup

  1. 1. BENGALURU 2018 meetup
  2. 2. Gardener: The Kubernetes Botanist Amshuman Rao Karaya Architect, SAP Cloud Platform Prashanth Developer, SAP Cloud Platform
  3. 3. MOTIVATION Support for hybrid infrastructure Open sourceManage clusters at scale
  4. 4. Kubernetes on Kubernetes Credits: M.C. Escher
  5. 5. Shoot SEED-SHOOT Gardener: The Kubernetes Botanist
  6. 6. KUBERNETES ARCHITECTURE Container Runtime OS Master Node Worker Node Kubelet Container Runtime OS P P P P ETCD (Key-value store) Kube controller manager API Server Scheduler Cloud controller manager Custom controller1 Custom controller2
  7. 7. CONTROL PLANE AS A SERVICE Seed Cluster Master Master Master Worker Worker Worker Worker HA Worker Shoot Clusters Worker Worker Manages Worker … Worker Worker Worker Worker Worker Worker Worker Worker Worker Worker API Server Scheduler Controller Mgr ETCD Namespace cluster1 NS cluster2 NS cluster3 . . .
  8. 8. Garden Cluster Administrator Garden Cluster Worker ... Kubelet + Container Runtime Garden Cluster API LB Garden Cluster Control Plane Storage [K8s] DS, RS, SS, J, ... [CRD] Shoot, Seed, ... kubify ... Ingress LB Gardener API Server D G Controller Manager D Gardener Dashboard gardenctl Gardener Dashboard D IaaS kubectl Kubernetes Dashboard
  9. 9. Garden Cluster kubectl Administrator Garden Cluster Worker Seed Cluster W Worker ... Seed Cluster API LB Kubelet + Container Runtime Seed Cluster Control Plane Storage [K8s] DS, RS, SS, J, ... [CRD] Machine Deployment, ... ... ... Kubelet + Container Runtime Ingress LBGarden Cluster API LB Gardener API Server D G Controller Manager D Kubernetes Dashboard Gardener Dashboard Storage [K8s] DS, RS, SS, J, ... [CRD] Shoot, Seed, ... Garden Cluster Control Plane gardenctlkubify Gardener Dashboard D IaaS Seed Cluster Target IaaS Namespace Isolation
  10. 10. Seed Cluster W Worker Garden Cluster Seed Cluster kubectl ... Administrator Seed Cluster API LB Kubelet + Container Runtime Garden Cluster Worker ... ... Kubelet + Container Runtime Ingress LBGarden Cluster API LB Gardener API Server D G Controller Manager D Kubernetes Dashboard Gardener Dashboard Seed Cluster Control Plane Storage [K8s] DS, RS, SS, J, ... [CRD] Shoot, Seed, ... Garden Cluster Control Plane Storage [K8s] DS, RS, SS, J, ... [CRD] Machine Deployment, ... gardenctlkubify Gardener Dashboard D Logging Monitoring VPN IaaS Shoot Cluster Control Plane Target IaaS Main PVSSetcd Main BckUp Events PVetcd Events SS Shoot Cluster API LB Scheduler D Controller Manager D API Server VPN D Addon Manager D
  11. 11. Shoot Cluster Account/Network Prep ... Garden Cluster Seed Cluster Seed Cluster kubectl W Worker ... Main PV Worker Kubelet + Container Runtime Administrator Seed Cluster API LB Kubelet + Container Runtime Garden Cluster Worker ... ... Kubelet + Container Runtime Ingress LBGarden Cluster API LB Gardener API Server D G Controller Manager D Kubernetes Dashboard Gardener Dashboard Seed Cluster Control Plane Storage [K8s] DS, RS, SS, J, ... [CRD] Shoot, Seed, ... Garden Cluster Control Plane Storage [K8s] DS, RS, SS, J, ... [CRD] Machine Deployment, ... Logging gardenctl ... Actual Workload Optional Addons Shoot Cluster API LB kubify Gardener Dashboard D Monitoring VPN IaaS Scheduler D Controller Manager D SSetcd Main BckUp Events PVetcd Events SS API Server VPN D Machine Controller D Addon Manager D Shoot Cluster Control Plane Shoot Cluster VPN LB VPN D Calico DS Kube DNS D Kube Proxy DS Target IaaS kubectl Kubernetes Dashboard Target IaaS/Account Shoot Cluster End-User Terraformer J
  12. 12. DEMO
  13. 13. Worker v1.11 Worker v1.11 Worker v1.11 Worker v1.11 Worker v1.12 Worker v1.12 Worker v1.12
  14. 14. Worker v1.11 Worker v1.11 Worker v1.11 ETCD Cloud object store ETCD backup restore Push it to the cloud Trigger a backup restore ETCD Take periodic incremental backups Fetch the latest backup
  15. 15. OTHER FEATURES • Gardener reconciliation • Gardener dashboard (UI) • Monitoring and Alerting • VPN used for seed shoot communications • Continuous performance evaluation • Support for custom OS DC
  16. 16. DEMO
  17. 17. GARDENER COMMUNITY https://gardener.cloud https://groups.google.com/forum/#!forum/gardener/
  18. 18. CLUSTER API COLLABORATIONS
  19. 19. Open Innovation with

×