SlideShare a Scribd company logo
Kubernetes in Google Cloud
Cloud Study Jam:
Kubernetes in the
Google Cloud
● Continuous delivery with Jenkins using Kubernetes engine
● Introduction to docker
● Kubernetes Engine : Quick start
● Orchestrating the cloud with Kubernetes Engine
● Managing deployments using Kubernetes Engine
Introduction to Docker
Traditional deployment Virtualized deployment Container deployment
Demo
What is Docker? & Why use Docker?
● Docker is a software that allows us to run applications in
separate environments called containers.
● Docker makes it easier to create, deploy and run applications.
● Uses Linux cgroups (control groups) to create and run multiple
isolated Linux VEs on a single control host
Kubernetes in Google Cloud
Dockerfile
A Dockerfile is a text document that contains all the
commands a user could call on the command line to
assemble an image.
FROM node:alpine
MAINTAINER <docker>
WORKDIR ‘/app’
COPY . .
ADD resource .
RUN apt-get update
VOLUME <mount>
CMD [“npm”, “start”]
Multiple ways to create Docker containers
● From an Image
● From a Dockerfile
● From a docker-compose.yml file
Kubernetes in Google Cloud
hands
on
● Build and Run
● Debug
● Publish
Three Ideals of Images
● Small in Size
● Lean in Functionality
● Extensible in Configuration
Container Image scan
Recap
- Docker, Dockerfile and Images
- Docker commands
- Ideals of images
- Container Image scan
docker pull
docker push
docker tag
docker images
docker ps
docker start
docker pause
docker stop
docker run
docker logs
docker exec
docker inspect
docker stop
docker rm
docker prune
Kubernetes Engine: Qwik Start
Need for Multiple Containers
Kubernetes in Google Cloud
Kubernetes in Google Cloud
Kubernetes Cluster
Kubernetes coordinates a highly available cluster of computers that are connected to work as a single unit.
Node - VM or a physical computer that serves as a
worker machine in a Kubernetes cluster.
Master - The master is responsible for managing the
cluster.
Kubernetes in Google Cloud
Pods
Pod 3 Pod 4
Kubernetes in Google Cloud
Kubernetes in Google Cloud
Kubernetes in Google Cloud
Replica set
Deployment
10.0.0.111 10.0.0.112
10.0.0.111 10.0.0.112
10.0.0.111 10.0.0.112 10.0.0.113
10.0.0.111 10.0.0.112 10.0.0.113
10.0.0.111 10.0.0.112
Services
10.0.0.111 10.0.0.112
app: studyjam
app: studyjam app: studyjam
Services
app: studyjam2
app: studyjam2
10.0.0.111 10.0.0.112
app: studyjam
app: studyjam app: studyjam
Services
app: studyjam2
app: studyjam2
10.0.0.111 10.0.0.112
app: studyjam
app: studyjam app: studyjam
Services
app: studyjam2
app: studyjam2
INGRESS
10.0.0.111 10.0.0.112
app: studyjam
app: studyjam app: studyjam
Services
app: studyjam2
app: studyjam2
Service type- ClusterIP
Service type- NodePort
Service type- LoadBalancer
ClusterIP NodePort LoadBalancer
Recap
● Pods
Recap
● Pods
● Replica set
Recap
● Pods
● Replica set
● Deployment
Recap
● Pods
● Replica set
● Deployment
● Services
● Labels
10.0.0.111 10.0.0.112
app: studyjam
app: studyjam app: studyjam
Recap
● Pods
● Replica set
● Deployment
● Services
● Labels
● Service types
hands
on
Kubernetes Engine: Qwik Start
We seek your feedback ...
hands
on
Managing Deployments
Using Kubernetes Engine
Managing deployments
Challenges:
● Maxed out resources
● Limited geographic reach
● Limited availability
● Vendor lock-in
● Inflexible resources
Kubernetes in Google Cloud
Kubernetes in Google Cloud
Kubernetes in Google Cloud
Replicasets
Scaling
Rolling Update
Canary Deployment
Canary Deployment
Phased Rollout
Incremental Rollout
Canary deployment
Blue Green Deployments
Crops up delays in getting the
software "done" and getting it to
realize its value.
Blue Green Deployments
Pros
● Minimize downtime
● Rapid way to rollback
Blue Green Deployments
Challenges
● Missed transactions
● Deployment of schema changes
Blue green deployment
hands
on
● Create deployment
● Rolling update
● Canary Deployment
● Blue Green
Continuous Delivery with
Jenkins in Kubernetes
Engine
Continuous Delivery With Jenkins In Kubernetes
An open source automation server. With Jenkins,
organisations can accelerate the software development
process through automation. Jenkins manages and controls
development lifecycle processes of all kinds, including build,
document, test, package, stage, deployment, static analysis
and many more.
Architecture:
Deploying Jenkins In A Multi-node Kubernetes Cluster
Helm
Package Manager For Kubernetes
Helm Client
Tiller Server
Kubernetes in Google Cloud
Kubernetes in Google Cloud

More Related Content

PDF
Very Early Review - Rocket(CoreOS)
PPTX
Docker orchestration
PPTX
Docker 101 & Workshop
PPTX
Learn enough Docker to be dangerous
PDF
Automatic docker service announcement with registrator and confd
PDF
Docker 101
PDF
What’s New in Docker - Victor Vieux, Docker
PPTX
Cloud Native Okteto Cloud
Very Early Review - Rocket(CoreOS)
Docker orchestration
Docker 101 & Workshop
Learn enough Docker to be dangerous
Automatic docker service announcement with registrator and confd
Docker 101
What’s New in Docker - Victor Vieux, Docker
Cloud Native Okteto Cloud

What's hot (20)

PDF
Docker at Spotify
PPTX
Pluralsight Webinar: Simplify Your Project Builds with Docker
PDF
Introduction to telepresence
PDF
Docker introduction
PDF
Provisioning & Deploying with Docker
PPTX
CI-CD WITH GITLAB WORKFLOW
PPTX
TechUG - Kubernetes 101 - May 2020
PDF
An introduction to Docker and Project Atomic
PDF
Clustering Docker with Docker Swarm on openSUSE
PDF
RancherOS - The perfect place to run Docker
PDF
"Yahoo! JAPAN の Kubernetes-as-a-Service" で加速するアプリケーション開発
PDF
Docker linuxday 2015
PDF
Securing Containers, One Patch at a Time - Michael Crosby, Docker
PDF
Docker Intro
PPTX
Dockerizing stashboard - Docker meetup at Twilio
PDF
МИХАЙЛО ЗЕНІН «Dockerizing environment for mobile test automation. Scaling fr...
PDF
Learned lessons in a real world project
PPTX
Docker Warsaw Meetup 12/2017 - DockerCon 2017 Recap
PDF
CI/CD with Docker on AWS
PDF
Run K8s on Local Environment
Docker at Spotify
Pluralsight Webinar: Simplify Your Project Builds with Docker
Introduction to telepresence
Docker introduction
Provisioning & Deploying with Docker
CI-CD WITH GITLAB WORKFLOW
TechUG - Kubernetes 101 - May 2020
An introduction to Docker and Project Atomic
Clustering Docker with Docker Swarm on openSUSE
RancherOS - The perfect place to run Docker
"Yahoo! JAPAN の Kubernetes-as-a-Service" で加速するアプリケーション開発
Docker linuxday 2015
Securing Containers, One Patch at a Time - Michael Crosby, Docker
Docker Intro
Dockerizing stashboard - Docker meetup at Twilio
МИХАЙЛО ЗЕНІН «Dockerizing environment for mobile test automation. Scaling fr...
Learned lessons in a real world project
Docker Warsaw Meetup 12/2017 - DockerCon 2017 Recap
CI/CD with Docker on AWS
Run K8s on Local Environment
Ad

Similar to Kubernetes in Google Cloud (20)

PPTX
Docker Basic to Advance
PPTX
K8s in 3h - Kubernetes Fundamentals Training
PDF
Docker in everyday development
PDF
Dockerized maven
PDF
[@NaukriEngineering] Docker 101
PDF
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PDF
Get you Java application ready for Kubernetes !
PDF
docker.pdf
PDF
Lecture eight to be introduced in class.
PDF
kubernetes_start_tutorial_by_ruben_tejero.pdf
PPTX
Baking docker using chef
PPTX
Baking Docker Using Chef - ChefConf 2015
PDF
Docker: A New Way to Turbocharging Your Apps Development
PDF
Docker and Puppet for Continuous Integration
PDF
Docker puebla bday #4 celebration
PDF
Docker how to
PPTX
Run automated tests in Docker
PDF
Docker+java
PDF
Docker Basic to Advance
K8s in 3h - Kubernetes Fundamentals Training
Docker in everyday development
Dockerized maven
[@NaukriEngineering] Docker 101
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Get you Java application ready for Kubernetes !
docker.pdf
Lecture eight to be introduced in class.
kubernetes_start_tutorial_by_ruben_tejero.pdf
Baking docker using chef
Baking Docker Using Chef - ChefConf 2015
Docker: A New Way to Turbocharging Your Apps Development
Docker and Puppet for Continuous Integration
Docker puebla bday #4 celebration
Docker how to
Run automated tests in Docker
Docker+java
Ad

Recently uploaded (20)

PPT
Project quality management in manufacturing
PPTX
Artificial Intelligence
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
introduction to datamining and warehousing
PDF
composite construction of structures.pdf
PDF
Well-logging-methods_new................
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
CH1 Production IntroductoryConcepts.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
Geodesy 1.pptx...............................................
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
web development for engineering and engineering
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Project quality management in manufacturing
Artificial Intelligence
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
introduction to datamining and warehousing
composite construction of structures.pdf
Well-logging-methods_new................
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
CH1 Production IntroductoryConcepts.pptx
573137875-Attendance-Management-System-original
Geodesy 1.pptx...............................................
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Internet of Things (IOT) - A guide to understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
web development for engineering and engineering
bas. eng. economics group 4 presentation 1.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks

Kubernetes in Google Cloud