SlideShare a Scribd company logo
How Kubernetes work internally?
Kubernetes works internally by using a cluster architecture consisting
of master nodes and worker nodes. The master node oversees the
entire cluster, managing the control plane components such as the API
server, etcd (key-value store), scheduler, and controller manager.
The API server is the main entry point for interacting with Kubernetes.
It exposes a RESTful API that can be used to create, update, and
delete resources. The etcd key-value store is used to store the cluster
state. This includes information about pods, services, and other
resources.
The scheduler is responsible for assigning pods to worker nodes. It
takes into account factors such as the availability of resources, the load
on the nodes, and the affinity and anti-affinity rules for the pods.
The controller manager is responsible for ensuring that the desired
state of the cluster is maintained. This includes things like restarting
pods that fail, scaling pods up or down, and updating the configuration
of the cluster.
The worker nodes are the machines that run the pods. They are
responsible for provisioning resources for the pods, such as CPU,
memory, and storage. They also provide networking for the pods.
Kubernetes uses a set of concepts to manage containerized
applications. These concepts include:
Pods: A pod is a group of one or more containers that are deployed
together and share a network namespace and IP address.
Services: A service is a logical abstraction of a set of pods. It
provides a single point of access to the pods, and it can be used
to load balance traffic between the pods.
Deployments: A deployment is a way to manage the lifecycle of
pods. It can be used to create, update, and delete pods.
Replication controllers: A replication controller is a way to ensure
that a specific number of pods are running.
Kubernetes is a powerful tool that can be used to manage
containerized applications at scale. It provides a number of features
that make it easy to deploy, scale, and manage containerized
applications.
Here is a diagram of the Kubernetes architecture:
Code snippet
Master Node
|
|
API Server
|
|
etcd
|
|
Scheduler
|
|
Controller Manager
|
|
Worker Node
|
|
...
Use code with caution.

More Related Content

Similar to how Kubernetes work.docx (20)

PDF
A Deeper Look Into How Kubernetes Works.pdf
PetaBytz Technologies
 
PPTX
Understanding Kubernetes master components
SISTechnologies
 
PPTX
Kubernetes
Srinath Reddy
 
PDF
Kubernetes - A Comprehensive Overview
Bob Killen
 
PDF
Kubernetes acomprehensiveoverview
Ankit Shukla
 
PDF
(Draft) Kubernetes - A Comprehensive Overview
Bob Killen
 
PDF
Kubernetes a comprehensive overview
Gabriel Carro
 
PDF
Introduction to Kubernetes Workshop
Bob Killen
 
PPTX
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
nhannguyensi
 
PPTX
Kubernetes Cluster vs Nodes vs Pods vs Containers Comparison
jeetendra mandal
 
PPTX
Kubernetes PPT.pptx
ssuser0cc9131
 
PPTX
First steps with kubernetes
Vinícius Kroth
 
PPTX
Working with kubernetes
Nagaraj Shenoy
 
PPTX
Kubernetes presentation
GauranG Bajpai
 
PDF
Gdg izmir kubernetes
Gokhan Boranalp
 
PDF
LISA2017 Kubernetes: Hit the Ground Running
Chris McEniry
 
PDF
MongoDB Ops Manager + Kubernetes
MongoDB
 
PDF
Best Docker Kubernetes Training - Docker Kubernetes Online.pdf
venkatakrishnavisual
 
PDF
What is kubernet
linuxdady
 
PDF
Kubernetes Architecture with Components
Ajeet Singh
 
A Deeper Look Into How Kubernetes Works.pdf
PetaBytz Technologies
 
Understanding Kubernetes master components
SISTechnologies
 
Kubernetes
Srinath Reddy
 
Kubernetes - A Comprehensive Overview
Bob Killen
 
Kubernetes acomprehensiveoverview
Ankit Shukla
 
(Draft) Kubernetes - A Comprehensive Overview
Bob Killen
 
Kubernetes a comprehensive overview
Gabriel Carro
 
Introduction to Kubernetes Workshop
Bob Killen
 
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
nhannguyensi
 
Kubernetes Cluster vs Nodes vs Pods vs Containers Comparison
jeetendra mandal
 
Kubernetes PPT.pptx
ssuser0cc9131
 
First steps with kubernetes
Vinícius Kroth
 
Working with kubernetes
Nagaraj Shenoy
 
Kubernetes presentation
GauranG Bajpai
 
Gdg izmir kubernetes
Gokhan Boranalp
 
LISA2017 Kubernetes: Hit the Ground Running
Chris McEniry
 
MongoDB Ops Manager + Kubernetes
MongoDB
 
Best Docker Kubernetes Training - Docker Kubernetes Online.pdf
venkatakrishnavisual
 
What is kubernet
linuxdady
 
Kubernetes Architecture with Components
Ajeet Singh
 

More from Safia Humayun (13)

DOCX
function of liver.docx
Safia Humayun
 
DOCX
structure of liver.docx
Safia Humayun
 
DOCX
Nasa.docx
Safia Humayun
 
DOCX
tele scope.docx
Safia Humayun
 
DOCX
heart structure.docx
Safia Humayun
 
DOCX
function of eye.docx
Safia Humayun
 
DOCX
structure of the kidney.docx
Safia Humayun
 
DOCX
leaf structure.docx
Safia Humayun
 
DOCX
eye.docx
Safia Humayun
 
DOCX
high moral valiues.docx
Safia Humayun
 
DOCX
Good parents.docx
Safia Humayun
 
DOCX
village life over view.docx
Safia Humayun
 
DOCX
heart.docx
Safia Humayun
 
function of liver.docx
Safia Humayun
 
structure of liver.docx
Safia Humayun
 
Nasa.docx
Safia Humayun
 
tele scope.docx
Safia Humayun
 
heart structure.docx
Safia Humayun
 
function of eye.docx
Safia Humayun
 
structure of the kidney.docx
Safia Humayun
 
leaf structure.docx
Safia Humayun
 
eye.docx
Safia Humayun
 
high moral valiues.docx
Safia Humayun
 
Good parents.docx
Safia Humayun
 
village life over view.docx
Safia Humayun
 
heart.docx
Safia Humayun
 
Ad

Recently uploaded (20)

PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
July Patch Tuesday
Ivanti
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Python basic programing language for automation
DanialHabibi2
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Ad

how Kubernetes work.docx

  • 1. How Kubernetes work internally? Kubernetes works internally by using a cluster architecture consisting of master nodes and worker nodes. The master node oversees the entire cluster, managing the control plane components such as the API server, etcd (key-value store), scheduler, and controller manager. The API server is the main entry point for interacting with Kubernetes. It exposes a RESTful API that can be used to create, update, and delete resources. The etcd key-value store is used to store the cluster state. This includes information about pods, services, and other resources. The scheduler is responsible for assigning pods to worker nodes. It takes into account factors such as the availability of resources, the load on the nodes, and the affinity and anti-affinity rules for the pods. The controller manager is responsible for ensuring that the desired state of the cluster is maintained. This includes things like restarting pods that fail, scaling pods up or down, and updating the configuration of the cluster. The worker nodes are the machines that run the pods. They are responsible for provisioning resources for the pods, such as CPU, memory, and storage. They also provide networking for the pods. Kubernetes uses a set of concepts to manage containerized applications. These concepts include: Pods: A pod is a group of one or more containers that are deployed together and share a network namespace and IP address. Services: A service is a logical abstraction of a set of pods. It provides a single point of access to the pods, and it can be used to load balance traffic between the pods. Deployments: A deployment is a way to manage the lifecycle of pods. It can be used to create, update, and delete pods.
  • 2. Replication controllers: A replication controller is a way to ensure that a specific number of pods are running. Kubernetes is a powerful tool that can be used to manage containerized applications at scale. It provides a number of features that make it easy to deploy, scale, and manage containerized applications. Here is a diagram of the Kubernetes architecture: Code snippet Master Node | | API Server | | etcd | | Scheduler | | Controller Manager | | Worker Node | | ... Use code with caution.