SlideShare a Scribd company logo
Kubernetes Deployment Tutorial | Kubernetes Tutorial For Beginners | Kubernetes Training | Edureka
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Topics For Today’s Session
❖ W h a t i s K u b e r n e t e s ?
❖ W h a t i s a P o d ?
❖ R e p l i c a t i o n C o n t r o l l e r
❖ R e p l i c a S e t
❖ D e p l o y m e n t C o n t r o l l e r s
❖ D e p l o y m e n t U s e - C a s e s
Kubernetes Certification Training www.edureka.co/kubernetes-certification
What is Kubernetes?
Google’s
Brainchild.
Now, donated
to CNCF
Groups
containers
into logical
units
Open source
and portable
platform
Automates
scaling of
workloads
Groups
containers
into logical
units
A container
orchestration
tool
Written in Go
programming
language
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Used for applications which are dependent
on other applications/services for their
functioning.
Is widely used when a container runs on a
physical machine on top of an operating
system.
What is a Pod?
Pod 1
Container Image
Pod 2
Container Image
Container Image
Pod is the basic unit of Kubernetes. A pod can consist of one or more container images.
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Replication Controller
Replication Controller is one of the key features of Kubernetes, and is responsible for managing the pod
lifecycle. It owns the responsibility for making sure that the specified number of pod replicas are running at
any given point of time.
Kubernetes Certification Training www.edureka.co/kubernetes-certification
ReplicaSets
ReplicaSet ensures how many replica of pod should be running. It can be considered as a replacement of
replication controller.
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Deployment Controllers
Deployment Controller are declarative in
nature to provide the required information /
updates to pods and ReplicaSets.
Deployment Controller changes the actual
state of the defined desired state of controller
object.
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Update Deployment
Pause the
deployment to apply
multiple fixes and
then the deployment
can be resumed.
Pause the Deployment
Use – Case 5
Each and every
deployment can
be scaled up or
scaled down
based on the
requirement.
Scale a Deployment
Use – Case 4
Used in case
when the current
state of the
deployment is not
stable. Only the
container image
gets updated..
Use – Case 3
A new ReplicaSet
is created and the
Deployment is
updated. Each
new ReplicSet
updates the
revision of
Deployment.
Use - Case 2
A deployment is
created. Once that
is done the
ReplicaSet
automatically
creates Pods in the
background.
Use - Case 1
Create a Deployment
Rollback Deployment
Deployment Use-Cases
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Use – Case: 1 : Create a Deployment
Let us create a deployment and see how the
ReplicaSets run in the background.
Kubectl create deployment.yaml
Kubectl get deployments
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Use – Case: 2 : Update Deployments
Let us update the previous deployment and see how
the container image gets updated.
Kubectl edit
deployment/deploymentname
Kubectl rollout status deployment
deploymentname
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Use – Case: 3 : Rollback Deployment
Let us roll back to a previous deployment to see the
history of Deployments.
kubectl rollout history
deployment/deploymentname
kubectl rollout undo
deployment/deploymentname
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Use – Case: 4 : Scale up a Deployment
Let us scale up or scale down a deployment based on
the requirements.
kubectl scale deployment
deploymentname --replicas=4
kubectl autoscale deployment
nginx-deployment
Kubernetes Certification Training www.edureka.co/kubernetes-certification
Use – Case: 5 : Pause a Deployment
Let us pause a deployment, apply the required fixes
and then resume back the deployment.
kubectl rollout pause
deployment/deploymentname
kubectl rollout resume
deploy/deploymentname
Kubernetes Deployment Tutorial | Kubernetes Tutorial For Beginners | Kubernetes Training | Edureka
Ad

Recommended

Kubernetes Networking
Kubernetes Networking
CJ Cullen
 
Kubernetes security
Kubernetes security
Thomas Fricke
 
DevOps with Kubernetes
DevOps with Kubernetes
EastBanc Tachnologies
 
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Edureka!
 
Introduction to GitHub Actions
Introduction to GitHub Actions
Bo-Yi Wu
 
Continuous Integration/Deployment with Gitlab CI
Continuous Integration/Deployment with Gitlab CI
David Hahn
 
Kubernetes Application Deployment with Helm - A beginner Guide!
Kubernetes Application Deployment with Helm - A beginner Guide!
Krishna-Kumar
 
Introduction to Kubernetes Workshop
Introduction to Kubernetes Workshop
Bob Killen
 
Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
Ryan Jarvinen
 
Getting Started with Kubernetes
Getting Started with Kubernetes
VMware Tanzu
 
Helm - Application deployment management for Kubernetes
Helm - Application deployment management for Kubernetes
Alexei Ledenev
 
Gitops: the kubernetes way
Gitops: the kubernetes way
sparkfabrik
 
Kubernetes 101 for Beginners
Kubernetes 101 for Beginners
Oktay Esgul
 
Kubernetes Summit 2023: Head First Kubernetes
Kubernetes Summit 2023: Head First Kubernetes
smalltown
 
Kubernetes Basics
Kubernetes Basics
Antonin Stoklasek
 
CD using ArgoCD(KnolX).pdf
CD using ArgoCD(KnolX).pdf
Knoldus Inc.
 
Ansible - Hands on Training
Ansible - Hands on Training
Mehmet Ali Aydın
 
Openshift Container Platform
Openshift Container Platform
DLT Solutions
 
Gitlab ci-cd
Gitlab ci-cd
Dan MAGIER
 
Kubernetes and container security
Kubernetes and container security
Volodymyr Shynkar
 
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
OpenStack Korea Community
 
NGINX Ingress Controller for Kubernetes
NGINX Ingress Controller for Kubernetes
NGINX, Inc.
 
Introduction to helm
Introduction to helm
Jeeva Chelladhurai
 
Kubernetes #6 advanced scheduling
Kubernetes #6 advanced scheduling
Terry Cho
 
Kubernetes a comprehensive overview
Kubernetes a comprehensive overview
Gabriel Carro
 
Kubernetes Introduction
Kubernetes Introduction
Peng Xiao
 
Kubernetes Deployment Strategies
Kubernetes Deployment Strategies
Abdennour TM
 
Container based CI/CD on GitHub Actions
Container based CI/CD on GitHub Actions
Casey Lee
 
WP_The Beginners Guide to Kubernetes_2020.pdf
WP_The Beginners Guide to Kubernetes_2020.pdf
BoeyHe1
 
Kubernetes Interview Questions PDF By ScholarHat
Kubernetes Interview Questions PDF By ScholarHat
Scholarhat
 

More Related Content

What's hot (20)

Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
Ryan Jarvinen
 
Getting Started with Kubernetes
Getting Started with Kubernetes
VMware Tanzu
 
Helm - Application deployment management for Kubernetes
Helm - Application deployment management for Kubernetes
Alexei Ledenev
 
Gitops: the kubernetes way
Gitops: the kubernetes way
sparkfabrik
 
Kubernetes 101 for Beginners
Kubernetes 101 for Beginners
Oktay Esgul
 
Kubernetes Summit 2023: Head First Kubernetes
Kubernetes Summit 2023: Head First Kubernetes
smalltown
 
Kubernetes Basics
Kubernetes Basics
Antonin Stoklasek
 
CD using ArgoCD(KnolX).pdf
CD using ArgoCD(KnolX).pdf
Knoldus Inc.
 
Ansible - Hands on Training
Ansible - Hands on Training
Mehmet Ali Aydın
 
Openshift Container Platform
Openshift Container Platform
DLT Solutions
 
Gitlab ci-cd
Gitlab ci-cd
Dan MAGIER
 
Kubernetes and container security
Kubernetes and container security
Volodymyr Shynkar
 
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
OpenStack Korea Community
 
NGINX Ingress Controller for Kubernetes
NGINX Ingress Controller for Kubernetes
NGINX, Inc.
 
Introduction to helm
Introduction to helm
Jeeva Chelladhurai
 
Kubernetes #6 advanced scheduling
Kubernetes #6 advanced scheduling
Terry Cho
 
Kubernetes a comprehensive overview
Kubernetes a comprehensive overview
Gabriel Carro
 
Kubernetes Introduction
Kubernetes Introduction
Peng Xiao
 
Kubernetes Deployment Strategies
Kubernetes Deployment Strategies
Abdennour TM
 
Container based CI/CD on GitHub Actions
Container based CI/CD on GitHub Actions
Casey Lee
 
Hands-On Introduction to Kubernetes at LISA17
Hands-On Introduction to Kubernetes at LISA17
Ryan Jarvinen
 
Getting Started with Kubernetes
Getting Started with Kubernetes
VMware Tanzu
 
Helm - Application deployment management for Kubernetes
Helm - Application deployment management for Kubernetes
Alexei Ledenev
 
Gitops: the kubernetes way
Gitops: the kubernetes way
sparkfabrik
 
Kubernetes 101 for Beginners
Kubernetes 101 for Beginners
Oktay Esgul
 
Kubernetes Summit 2023: Head First Kubernetes
Kubernetes Summit 2023: Head First Kubernetes
smalltown
 
CD using ArgoCD(KnolX).pdf
CD using ArgoCD(KnolX).pdf
Knoldus Inc.
 
Openshift Container Platform
Openshift Container Platform
DLT Solutions
 
Kubernetes and container security
Kubernetes and container security
Volodymyr Shynkar
 
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
[OpenStack Days Korea 2016] Track1 - 카카오는 오픈스택 기반으로 어떻게 5000VM을 운영하고 있을까?
OpenStack Korea Community
 
NGINX Ingress Controller for Kubernetes
NGINX Ingress Controller for Kubernetes
NGINX, Inc.
 
Kubernetes #6 advanced scheduling
Kubernetes #6 advanced scheduling
Terry Cho
 
Kubernetes a comprehensive overview
Kubernetes a comprehensive overview
Gabriel Carro
 
Kubernetes Introduction
Kubernetes Introduction
Peng Xiao
 
Kubernetes Deployment Strategies
Kubernetes Deployment Strategies
Abdennour TM
 
Container based CI/CD on GitHub Actions
Container based CI/CD on GitHub Actions
Casey Lee
 

Similar to Kubernetes Deployment Tutorial | Kubernetes Tutorial For Beginners | Kubernetes Training | Edureka (20)

WP_The Beginners Guide to Kubernetes_2020.pdf
WP_The Beginners Guide to Kubernetes_2020.pdf
BoeyHe1
 
Kubernetes Interview Questions PDF By ScholarHat
Kubernetes Interview Questions PDF By ScholarHat
Scholarhat
 
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
Alexandre Roman
 
kubernetesforbeginners.pptx
kubernetesforbeginners.pptx
BaskarKannanK
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
Extending Kubernetes with Operators
Extending Kubernetes with Operators
peychevi
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
Kumton Suttiraksiri
 
VMware Tanzu Introduction- June 11, 2020
VMware Tanzu Introduction- June 11, 2020
VMware Tanzu
 
Cluster management with Kubernetes
Cluster management with Kubernetes
Satnam Singh
 
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
Edureka!
 
Getting started with google kubernetes engine
Getting started with google kubernetes engine
Shreya Pohekar
 
kubernetes_Ajhhhhhhhghhbggggygghghhhghhh.pptx
kubernetes_Ajhhhhhhhghhbggggygghghhhghhh.pptx
1967DarshanGaragatti
 
Better code, faster with kubernetes in google cloud
Better code, faster with kubernetes in google cloud
Andrés Leonardo Martinez Ortiz
 
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
nhannguyensi
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
Avanti Patil
 
Best online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdf
abhayah2k
 
New York Kubernetes: CI/CD Patterns for Kubernetes
New York Kubernetes: CI/CD Patterns for Kubernetes
Andrew Phillips
 
Google Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTE
Gokhan Boranalp
 
CI/CD Across Multiple Environments
CI/CD Across Multiple Environments
Karl Isenberg
 
10 tips for Cloud Native Security
10 tips for Cloud Native Security
Karthik Gaekwad
 
WP_The Beginners Guide to Kubernetes_2020.pdf
WP_The Beginners Guide to Kubernetes_2020.pdf
BoeyHe1
 
Kubernetes Interview Questions PDF By ScholarHat
Kubernetes Interview Questions PDF By ScholarHat
Scholarhat
 
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
La sécurité avec Kubernetes et les conteneurs Docker (June 19th, 2019)
Alexandre Roman
 
kubernetesforbeginners.pptx
kubernetesforbeginners.pptx
BaskarKannanK
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
Extending Kubernetes with Operators
Extending Kubernetes with Operators
peychevi
 
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
Kumton Suttiraksiri
 
VMware Tanzu Introduction- June 11, 2020
VMware Tanzu Introduction- June 11, 2020
VMware Tanzu
 
Cluster management with Kubernetes
Cluster management with Kubernetes
Satnam Singh
 
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
Edureka!
 
Getting started with google kubernetes engine
Getting started with google kubernetes engine
Shreya Pohekar
 
kubernetes_Ajhhhhhhhghhbggggygghghhhghhh.pptx
kubernetes_Ajhhhhhhhghhbggggygghghhhghhh.pptx
1967DarshanGaragatti
 
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
nhannguyensi
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
Avanti Patil
 
Best online kubernetes course in H2KInfosys.pdf
Best online kubernetes course in H2KInfosys.pdf
abhayah2k
 
New York Kubernetes: CI/CD Patterns for Kubernetes
New York Kubernetes: CI/CD Patterns for Kubernetes
Andrew Phillips
 
Google Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTE
Gokhan Boranalp
 
CI/CD Across Multiple Environments
CI/CD Across Multiple Environments
Karl Isenberg
 
10 tips for Cloud Native Security
10 tips for Cloud Native Security
Karthik Gaekwad
 
Ad

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 
What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 
Ad

Recently uploaded (20)

Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
 
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
 
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
Salesforce Summer '25 Release Frenchgathering.pptx.pdf
yosra Saidani
 
Techniques for Automatic Device Identification and Network Assignment.pdf
Techniques for Automatic Device Identification and Network Assignment.pdf
Priyanka Aash
 
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Smarter Aviation Data Management: Lessons from Swedavia Airports and Sweco
Safe Software
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Mastering AI Workflows with FME by Mark Döring
Mastering AI Workflows with FME by Mark Döring
Safe Software
 
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
 
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
EIS-Webinar-Engineering-Retail-Infrastructure-06-16-2025.pdf
Earley Information Science
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
 

Kubernetes Deployment Tutorial | Kubernetes Tutorial For Beginners | Kubernetes Training | Edureka

  • 2. Kubernetes Certification Training www.edureka.co/kubernetes-certification Topics For Today’s Session ❖ W h a t i s K u b e r n e t e s ? ❖ W h a t i s a P o d ? ❖ R e p l i c a t i o n C o n t r o l l e r ❖ R e p l i c a S e t ❖ D e p l o y m e n t C o n t r o l l e r s ❖ D e p l o y m e n t U s e - C a s e s
  • 3. Kubernetes Certification Training www.edureka.co/kubernetes-certification What is Kubernetes? Google’s Brainchild. Now, donated to CNCF Groups containers into logical units Open source and portable platform Automates scaling of workloads Groups containers into logical units A container orchestration tool Written in Go programming language
  • 4. Kubernetes Certification Training www.edureka.co/kubernetes-certification Used for applications which are dependent on other applications/services for their functioning. Is widely used when a container runs on a physical machine on top of an operating system. What is a Pod? Pod 1 Container Image Pod 2 Container Image Container Image Pod is the basic unit of Kubernetes. A pod can consist of one or more container images.
  • 5. Kubernetes Certification Training www.edureka.co/kubernetes-certification Replication Controller Replication Controller is one of the key features of Kubernetes, and is responsible for managing the pod lifecycle. It owns the responsibility for making sure that the specified number of pod replicas are running at any given point of time.
  • 6. Kubernetes Certification Training www.edureka.co/kubernetes-certification ReplicaSets ReplicaSet ensures how many replica of pod should be running. It can be considered as a replacement of replication controller.
  • 7. Kubernetes Certification Training www.edureka.co/kubernetes-certification Deployment Controllers Deployment Controller are declarative in nature to provide the required information / updates to pods and ReplicaSets. Deployment Controller changes the actual state of the defined desired state of controller object.
  • 8. Kubernetes Certification Training www.edureka.co/kubernetes-certification Update Deployment Pause the deployment to apply multiple fixes and then the deployment can be resumed. Pause the Deployment Use – Case 5 Each and every deployment can be scaled up or scaled down based on the requirement. Scale a Deployment Use – Case 4 Used in case when the current state of the deployment is not stable. Only the container image gets updated.. Use – Case 3 A new ReplicaSet is created and the Deployment is updated. Each new ReplicSet updates the revision of Deployment. Use - Case 2 A deployment is created. Once that is done the ReplicaSet automatically creates Pods in the background. Use - Case 1 Create a Deployment Rollback Deployment Deployment Use-Cases
  • 9. Kubernetes Certification Training www.edureka.co/kubernetes-certification Use – Case: 1 : Create a Deployment Let us create a deployment and see how the ReplicaSets run in the background. Kubectl create deployment.yaml Kubectl get deployments
  • 10. Kubernetes Certification Training www.edureka.co/kubernetes-certification Use – Case: 2 : Update Deployments Let us update the previous deployment and see how the container image gets updated. Kubectl edit deployment/deploymentname Kubectl rollout status deployment deploymentname
  • 11. Kubernetes Certification Training www.edureka.co/kubernetes-certification Use – Case: 3 : Rollback Deployment Let us roll back to a previous deployment to see the history of Deployments. kubectl rollout history deployment/deploymentname kubectl rollout undo deployment/deploymentname
  • 12. Kubernetes Certification Training www.edureka.co/kubernetes-certification Use – Case: 4 : Scale up a Deployment Let us scale up or scale down a deployment based on the requirements. kubectl scale deployment deploymentname --replicas=4 kubectl autoscale deployment nginx-deployment
  • 13. Kubernetes Certification Training www.edureka.co/kubernetes-certification Use – Case: 5 : Pause a Deployment Let us pause a deployment, apply the required fixes and then resume back the deployment. kubectl rollout pause deployment/deploymentname kubectl rollout resume deploy/deploymentname