SlideShare a Scribd company logo
Google Kubernetes Engine
(GKE) Deep Dive
Akash Agrawal | 08-12-2019
Agenda
● Containers, Kubernetes & GKE - Overview / Architecture / Request Flow
● GKE Deep Dive
● GKE Ecosystem
About Me
● Have 11+ years of experience in IT Industry
● Previously I worked with various clients like Sabre Travel Technologies / Citi Bank / Goldman Sachs
/ L&T Infotech etc.
● From last couple of years, I work as Full Time Independent Consultant (Freelancer):
○ I work with different startups/enterprise helping them to design/improve their solutions
around Kubernetes & Cloud (as Technical Adviser / Architect / Analyst)
○ Trainer around Cloud & Kubernetes Ecosystem
● Google Developer Expert (GDE) for Google Cloud Platform (GCP)
● Developer Community: https://www.meetup.com/Technology-Cafe-Bengaluru/
Containers, Kubernetes &
GKE (Overview, Architecture
& Request Flow)
Containers
● Package your application & it’s dependencies (application dependencies)
● Container Runtimes: Docker, Rkt etc.
Containers
● It works on the principle of Build / Ship / Run
○ Build: Build Container Images on local Laptop or automate it through Continuous Integration Pipeline &
Build Process (explore: Google Cloud Build)
○ Ship: Ship Container Images through Container Registry e.g. DockerHub, etc. (explore: Google Container
Registry)
○ Run: Run anywhere on Cloud/On-Prem etc. (explore: GCE VMs, GKE Clusters, Spinnaker)
Kubernetes
● Open Source System for Container Orchestration (Deployment/Scaling/Management)
● Focused around:
○ Scheduling workloads
○ Scaling (Manual / Auto) workloads
○ Self Healing workloads
○ ...
● Components:
○ Control Plane Components
○ Data Plane Components
Source: https://software.danielwatrous.com/wp-content/uploads/2017/02/kubernetes-overview.png
Source: https://carltsuis-blog.readthedocs.io/en/latest/kubernetes/components-of-k8s.png
Google Kubernetes Engine (GKE)
● Managed Kubernetes Service on Google Cloud Platform
● Customer should not worry about managing Control Plane, but of course they can access it (+ Cost
Saving: customers are not charged for Master Nodes)
● While using GKE service, you only pay for cloud resources you are using are chargeable like VMs,
Disks, Load Balancers etc.
● Certified Kubernetes Conformant
● Fast & Reliable Kubernetes Cluster (Kubernetes System) - Setup & Maintenance (especially for
Production Level workloads)
GKE Deep Dive
Google Kubernetes Engine (GKE) - Features
● Node Pools
● Cluster Scoping (Zonal / Multi Zonal / Regional Clusters)
● Auto Repairing / Patching of Cluster Nodes
● VPC Native Clusters
● Preemptible VMs & Sustained User Discounts
● Accelerators Support (GPUs/TPUs)
● Deep Learning Containers
Google Kubernetes Engine (GKE) - Features
● Integration:
○ Google Container Registry (GCR)
○ Stackdriver
○ Cloud IAM
○ Persistent Disks
○ AddOns:
■ Istio
■ Cloud Run
Day-1 (How fast can I start playing around)
● Try GCP Console or Cloud Shell
● Qwik Labs (Quests)
○ Kubernetes in the Google Cloud
http://bit.ly/2P3MFrn
○ Google Kubernetes Engine Best Practices
http://bit.ly/2P0EBre
Day-1 (How fast can I start playing around)
● Codelabs
○ https://codelabs.developers.google.com/ ( Search for ‘Kubernetes’ or ‘gke’ )
Day-2 (Thinking about Production)
● Qwik Labs (Quests)
○ Kubernetes Solutions
http://bit.ly/2OZfC7v
○ Google Kubernetes Engine Best Practices: Security
http://bit.ly/351mozo
Day-2 (Thinking about Production)
● Best Practices for Operating Containers
https://cloud.google.com/solutions/best-practices-for-operating-containers
● Preparing a GKE Environment for Production
https://cloud.google.com/solutions/prep-kubernetes-engine-for-prod
Day-2 (Thinking about Production)
● GKE SLA
○ https://cloud.google.com/kubernetes-engine/sla
● GKE Pricing
○ https://cloud.google.com/kubernetes-engine/pricing
● Quotas & Limits
○ https://cloud.google.com/kubernetes-engine/quotas
● Compliance
○ https://cloud.google.com/security/compliance/
GKE Ecosystem
GKE Ecosystem
● GKE
● GKE On-Prem
● Anthos
● Cloud Run
Thanks
Akash Agrawal
LinkedIn: http://www.linkedin.com/in/akash-agrawal-58a97813
Twitter: @akkiagrawal29

More Related Content

Google Kubernetes Engine (GKE) deep dive

  • 1. Google Kubernetes Engine (GKE) Deep Dive Akash Agrawal | 08-12-2019
  • 2. Agenda ● Containers, Kubernetes & GKE - Overview / Architecture / Request Flow ● GKE Deep Dive ● GKE Ecosystem
  • 3. About Me ● Have 11+ years of experience in IT Industry ● Previously I worked with various clients like Sabre Travel Technologies / Citi Bank / Goldman Sachs / L&T Infotech etc. ● From last couple of years, I work as Full Time Independent Consultant (Freelancer): ○ I work with different startups/enterprise helping them to design/improve their solutions around Kubernetes & Cloud (as Technical Adviser / Architect / Analyst) ○ Trainer around Cloud & Kubernetes Ecosystem ● Google Developer Expert (GDE) for Google Cloud Platform (GCP) ● Developer Community: https://www.meetup.com/Technology-Cafe-Bengaluru/
  • 4. Containers, Kubernetes & GKE (Overview, Architecture & Request Flow)
  • 5. Containers ● Package your application & it’s dependencies (application dependencies) ● Container Runtimes: Docker, Rkt etc.
  • 6. Containers ● It works on the principle of Build / Ship / Run ○ Build: Build Container Images on local Laptop or automate it through Continuous Integration Pipeline & Build Process (explore: Google Cloud Build) ○ Ship: Ship Container Images through Container Registry e.g. DockerHub, etc. (explore: Google Container Registry) ○ Run: Run anywhere on Cloud/On-Prem etc. (explore: GCE VMs, GKE Clusters, Spinnaker)
  • 7. Kubernetes ● Open Source System for Container Orchestration (Deployment/Scaling/Management) ● Focused around: ○ Scheduling workloads ○ Scaling (Manual / Auto) workloads ○ Self Healing workloads ○ ... ● Components: ○ Control Plane Components ○ Data Plane Components
  • 10. Google Kubernetes Engine (GKE) ● Managed Kubernetes Service on Google Cloud Platform ● Customer should not worry about managing Control Plane, but of course they can access it (+ Cost Saving: customers are not charged for Master Nodes) ● While using GKE service, you only pay for cloud resources you are using are chargeable like VMs, Disks, Load Balancers etc. ● Certified Kubernetes Conformant ● Fast & Reliable Kubernetes Cluster (Kubernetes System) - Setup & Maintenance (especially for Production Level workloads)
  • 12. Google Kubernetes Engine (GKE) - Features ● Node Pools ● Cluster Scoping (Zonal / Multi Zonal / Regional Clusters) ● Auto Repairing / Patching of Cluster Nodes ● VPC Native Clusters ● Preemptible VMs & Sustained User Discounts ● Accelerators Support (GPUs/TPUs) ● Deep Learning Containers
  • 13. Google Kubernetes Engine (GKE) - Features ● Integration: ○ Google Container Registry (GCR) ○ Stackdriver ○ Cloud IAM ○ Persistent Disks ○ AddOns: ■ Istio ■ Cloud Run
  • 14. Day-1 (How fast can I start playing around) ● Try GCP Console or Cloud Shell ● Qwik Labs (Quests) ○ Kubernetes in the Google Cloud http://bit.ly/2P3MFrn ○ Google Kubernetes Engine Best Practices http://bit.ly/2P0EBre
  • 15. Day-1 (How fast can I start playing around) ● Codelabs ○ https://codelabs.developers.google.com/ ( Search for ‘Kubernetes’ or ‘gke’ )
  • 16. Day-2 (Thinking about Production) ● Qwik Labs (Quests) ○ Kubernetes Solutions http://bit.ly/2OZfC7v ○ Google Kubernetes Engine Best Practices: Security http://bit.ly/351mozo
  • 17. Day-2 (Thinking about Production) ● Best Practices for Operating Containers https://cloud.google.com/solutions/best-practices-for-operating-containers ● Preparing a GKE Environment for Production https://cloud.google.com/solutions/prep-kubernetes-engine-for-prod
  • 18. Day-2 (Thinking about Production) ● GKE SLA ○ https://cloud.google.com/kubernetes-engine/sla ● GKE Pricing ○ https://cloud.google.com/kubernetes-engine/pricing ● Quotas & Limits ○ https://cloud.google.com/kubernetes-engine/quotas ● Compliance ○ https://cloud.google.com/security/compliance/
  • 20. GKE Ecosystem ● GKE ● GKE On-Prem ● Anthos ● Cloud Run