SlideShare a Scribd company logo
LinuxDady.Com
What is Kubernetes and its
terminology for beginners
For more information visit
https://linuxdady.com
sswhat is Kubernetes
What is Kubernetes? I hope if you are working as a devops engineer then definitely you have to
listen about Kubernetes. If you don’t list don’t worry. In this tutorial we are going to learn complete
about Kubernetes and its terminology. Why we use Kubernetes in our infra and how Kubernetes is
better than other technology like docker swarm, rancher etc. and what are the advantages of
Kubernetes over docker swarm?
What is Kubernetes?
Kubernetes is an orchestration server that is use for central management and automatic
deployment of containers in our infra. I think we should learn more deeper about orchestration
means suppose we are running 10 application in containers and our application is highly
productive. So, we need high availability and scalability. For one or two container we can achieve
high availably and scalability manually but suppose if we are running thousands of containers
then Kubernetes comes in scenario. .
Why we use Kubernetes?
I think you have understood basic about what is Kubernetes. Now my question is why we use
Kubernetes.
But before moving next in Kubernetes first learn about docker because Kubernetes
help to overcome the disadvantage of docker. So, what are the challenges of docker that we were
facing before Kubernetes. If I will explain in simple language if we are planning for high availability
scalability central management container provisioning on demand. User management, resource
allocation, share storage , container migration, container recreation all these thinks is not possible if
possible then we have to do manually like if we need 10 copies of container we have to make
manually. If any container become stop, we have to start manually for small infra this is ok but for
health infra like mine we are running 700 containers doing this task manually become hectic.
Advantage of Kubernetes:-
I think you have better understood about what is Kubernetes and why we should use it. Now let’s
discus it’s advantages.
1) Centralized managed system → means we can run the command on all docker host from
one server. No need to go on every system inadvisably and run the command. We can
manage from Kubernetes master server.
2) Centralized container provision → Centralized provision means we can create or destroy
containers from Kubernetes master according to requirement.
3) Maintain state → High availability means suppose in our infra we are running 10 container
and one container becomes destroy. Then Kubernetes master automatically create new
container automatically.
4) Scalability → Scalability means we can increase or decrease resources of containers without
having downtime.
5) Self-maintained load distribution across the pod → Kubernetes also have the beauty of
load distribution on required pod(container)
6) Resource allocation based on project → Resource allocation is good factor means we can set
which one pod will use 2 GB RAM or which will use 5GB etc. according to requirement.
7) User level access based on project → Based on name space we can isolate user level access
like who can see our pod or who can delete or pod etc.
8) Resource planning → We can do resource planning according to our infra requirement with
the help of Kubernetes.
Kubernetes Architecture
Before learning new technology, we should learn about that technology architecture first.
Because with the help of architecture we will be easily able to understand the base of that
technology. So, let’s discuss the architecture of Kubernetes how it works?
Kubernetes Master:--Kubernetes master is those machines from where we will manage our
pod at Kubernetes node. At Kubernetes master server mainly four service will run. But
before learning architecture we should aware about a term that is called POD.
POD --: POD is nothing this is simply a container or collection of containers that is running on
Kubernetes node or client machine.
Now discuss Kubernetes services one by one that will help to understand what is Kubernetes
architecture.
1) KUBE API--:
Kube api is the communication channel into Kubernetes means when execute any
command or access any service all these actions first receive by kube api. Means kube
api will validate user authorization that user have the access to execute command or
access the services. Finally, we can say all communication, authorization and role access
is manged by kube api even if Kubernetes master will run any command or even if client
give and output to Kubernetes master all things will be verified by kube api. So, this is
very use full part of Kubernetes.
2) Kube controller → It will communicate with kubelet on client host node using KUBE API
means suppose we want to run any command on client machine or any action that we
want to perform on client then kube controller comes in scenario.
3) Kube etcd → It contains persistence information of Kubernetes in yaml format. Means
suppose you want launch three pod then api check etcd file here our pod count will be
saved suppose we want to launch tree pod then will be tree suppose want launch four
pod the count will be four in etcd file.
4) Kube scheduler:-- To check best client node for new upcoming pod means suppose we
have three client nodes then it will check on which pod we have available ram or cpu
resource according that it will scheduler upcoming or new pod. We can also apply
custom policy. Like my first pod will launch only on node 1 not any other node. Such kind
of policy we can also perform by scheduler.
Kubernetes Node:-- If I will explain in simple language this is the client machine of
Kubernetes master where our container is running, or we can say that this is client machine
where we want to perform action. Finally, client host is called Kubernetes node.
Kubelet → Kubelet is an agent installed on Kubernetes node. Kube controller will give
command to kubelet and kubelet will run command on client node.
Kubeproxy :-- It is used to manage the container networking .
For better understanding go through the architectural diagram of Kubernetes that will to
understand what is Kubernetes and how it’s service communicates with each other.
Still I think it will be clear what is Kubernetes. how it works and why we use it in our infra.
But still in our mind there is raising a question that is if docker community is providing their
own orchestration docker swarm then why we use Kubernetes means third party
orchestration tool. Let’s try to compare and take decision on you own behalf.
Conclusion:--
In this tutorial we have discussed what is Kubernetes and why we prefer it in our infra. Also,
we have discussed about difference between Kubernetes and docker swarm. We did this
because moving to next in Kubernetes we should aware about basic of Kubernetes. So, I
tried my best to clear the picture of what is Kubernetes. Still anyone has doubt write me in
comment box. I will try my best to resolve them.
Basic Interview question on Kubernetes introduction?
Write answer of below question in comment box or correct if I am telling any answer wrong.
1) What is pod
2) What is difference between docker swarm and Kubernetes?
3) What is Kubernetes workflow?
4) Which once is better between Kubernetes and docker swarm?
5) What is backup of Kubernetes?
6) Interview can ask about terminology of Kubernetes like etcd, controller etc.
7) What are the port number of Kubernetes?
Ans:- This is very important question what Kubernetes port numbers are:-
1) Scheduler → 10251
2) Controller → 10252
3) Kube-API → 6443
4) Etcd → 2379, 2380
2379 → For client communication.
2380 → For server to server communication.
8) What are the resource planning for Kubernetes service like etcd , kube controller.
What is kubernet

More Related Content

What's hot

Building the TribefireOperator
Building the TribefireOperatorBuilding the TribefireOperator
Building the TribefireOperator
Oliver Moser
 
Kubernetes Basics
Kubernetes BasicsKubernetes Basics
Kubernetes Basics
Eueung Mulyana
 
Kubernetes 101 and Fun
Kubernetes 101 and FunKubernetes 101 and Fun
Kubernetes 101 and Fun
Mario-Leander Reimer
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
Martin Danielsson
 
Kubernetes
KubernetesKubernetes
Kubernetes
Meng-Ze Lee
 
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes MeetupKubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
alexgervais
 
Extending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitionsExtending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitions
Stefan Schimanski
 
Kubernetes Architecture and Introduction
Kubernetes Architecture and IntroductionKubernetes Architecture and Introduction
Kubernetes Architecture and Introduction
Stefan Schimanski
 
Rex gke-clustree
Rex gke-clustreeRex gke-clustree
Rex gke-clustree
Romain Vrignaud
 
The top 5 Kubernetes metrics to monitor
The top 5 Kubernetes metrics to monitorThe top 5 Kubernetes metrics to monitor
The top 5 Kubernetes metrics to monitor
Sysdig
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
Jacopo Nardiello
 
Kubernetes @ Squarespace: Kubernetes in the Datacenter
Kubernetes @ Squarespace: Kubernetes in the DatacenterKubernetes @ Squarespace: Kubernetes in the Datacenter
Kubernetes @ Squarespace: Kubernetes in the Datacenter
Kevin Lynch
 
Phil Basford - machine learning at scale with aws sage maker
Phil Basford - machine learning at scale with aws sage makerPhil Basford - machine learning at scale with aws sage maker
Phil Basford - machine learning at scale with aws sage maker
AWSCOMSUM
 
Tectonic Summit 2016: The Origins of Kubernetes
Tectonic Summit 2016: The Origins of KubernetesTectonic Summit 2016: The Origins of Kubernetes
Tectonic Summit 2016: The Origins of Kubernetes
CoreOS
 
Api versioning w_docker_and_nginx
Api versioning w_docker_and_nginxApi versioning w_docker_and_nginx
Api versioning w_docker_and_nginx
Lee Wilkins
 
Understanding Kubernetes
Understanding KubernetesUnderstanding Kubernetes
Understanding Kubernetes
Tu Pham
 
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
whywaita
 
Intro to kubernetes
Intro to kubernetesIntro to kubernetes
Serverless in Java Lessons learnt
Serverless in Java Lessons learntServerless in Java Lessons learnt
Serverless in Java Lessons learnt
Krzysztof Pawlowski
 

What's hot (20)

Building the TribefireOperator
Building the TribefireOperatorBuilding the TribefireOperator
Building the TribefireOperator
 
Kubernetes Basics
Kubernetes BasicsKubernetes Basics
Kubernetes Basics
 
Kubernetes 101 and Fun
Kubernetes 101 and FunKubernetes 101 and Fun
Kubernetes 101 and Fun
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes MeetupKubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
 
Extending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitionsExtending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitions
 
Kubernetes Architecture and Introduction
Kubernetes Architecture and IntroductionKubernetes Architecture and Introduction
Kubernetes Architecture and Introduction
 
Rex gke-clustree
Rex gke-clustreeRex gke-clustree
Rex gke-clustree
 
The top 5 Kubernetes metrics to monitor
The top 5 Kubernetes metrics to monitorThe top 5 Kubernetes metrics to monitor
The top 5 Kubernetes metrics to monitor
 
IP Multicast on ec2
IP Multicast on ec2IP Multicast on ec2
IP Multicast on ec2
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Kubernetes @ Squarespace: Kubernetes in the Datacenter
Kubernetes @ Squarespace: Kubernetes in the DatacenterKubernetes @ Squarespace: Kubernetes in the Datacenter
Kubernetes @ Squarespace: Kubernetes in the Datacenter
 
Phil Basford - machine learning at scale with aws sage maker
Phil Basford - machine learning at scale with aws sage makerPhil Basford - machine learning at scale with aws sage maker
Phil Basford - machine learning at scale with aws sage maker
 
Tectonic Summit 2016: The Origins of Kubernetes
Tectonic Summit 2016: The Origins of KubernetesTectonic Summit 2016: The Origins of Kubernetes
Tectonic Summit 2016: The Origins of Kubernetes
 
Api versioning w_docker_and_nginx
Api versioning w_docker_and_nginxApi versioning w_docker_and_nginx
Api versioning w_docker_and_nginx
 
Understanding Kubernetes
Understanding KubernetesUnderstanding Kubernetes
Understanding Kubernetes
 
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
 
Intro to kubernetes
Intro to kubernetesIntro to kubernetes
Intro to kubernetes
 
Serverless in Java Lessons learnt
Serverless in Java Lessons learntServerless in Java Lessons learnt
Serverless in Java Lessons learnt
 

Similar to What is kubernet

Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
Paris Apostolopoulos
 
Container Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and KubernetesContainer Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and Kubernetes
Will Hall
 
Getting started with google kubernetes engine
Getting started with google kubernetes engineGetting started with google kubernetes engine
Getting started with google kubernetes engine
Shreya Pohekar
 
Kubernetes cheetsheet.pdf
Kubernetes cheetsheet.pdfKubernetes cheetsheet.pdf
Kubernetes cheetsheet.pdf
Eswar378637
 
Best Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptxBest Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptx
WillSmith622206
 
Kubernetes.pptx
Kubernetes.pptxKubernetes.pptx
Kubernetes.pptx
hgfodsiuh
 
Kubernetes.pptx
Kubernetes.pptxKubernetes.pptx
Kubernetes.pptx
rameshbharat1
 
Kubernetes Architecture with Components
 Kubernetes Architecture with Components Kubernetes Architecture with Components
Kubernetes Architecture with Components
Ajeet Singh
 
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKSCNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
amanmakwana3
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James BroadheadMongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB
 
Kubernetes Immersion
Kubernetes ImmersionKubernetes Immersion
Kubernetes Immersion
Juan Larriba
 
Azure kubernetes service
Azure kubernetes serviceAzure kubernetes service
Azure kubernetes service
Vishwas N
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
Avanti Patil
 
Google Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTEGoogle Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTE
Gokhan Boranalp
 
Kubernetes
KubernetesKubernetes
Kubernetes
Lhouceine OUHAMZA
 
Challenges of Kubernetes On-premise Deployment
Challenges of Kubernetes On-premise DeploymentChallenges of Kubernetes On-premise Deployment
Challenges of Kubernetes On-premise Deployment
Vietnam Open Infrastructure User Group
 
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOpsDevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
Ambassador Labs
 
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Kubernates : An Small introduction for Beginners by Rajiv VishwkarmaKubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Rajiv Vishwkarma
 
stupid-simple-kubernetes-final.pdf
stupid-simple-kubernetes-final.pdfstupid-simple-kubernetes-final.pdf
stupid-simple-kubernetes-final.pdf
DaniloQueirozMota
 
Jenkins_K8s (2).pptx
Jenkins_K8s (2).pptxJenkins_K8s (2).pptx
Jenkins_K8s (2).pptx
khalil Ismail
 

Similar to What is kubernet (20)

Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
Container Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and KubernetesContainer Orchestration with Docker Swarm and Kubernetes
Container Orchestration with Docker Swarm and Kubernetes
 
Getting started with google kubernetes engine
Getting started with google kubernetes engineGetting started with google kubernetes engine
Getting started with google kubernetes engine
 
Kubernetes cheetsheet.pdf
Kubernetes cheetsheet.pdfKubernetes cheetsheet.pdf
Kubernetes cheetsheet.pdf
 
Best Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptxBest Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptx
 
Kubernetes.pptx
Kubernetes.pptxKubernetes.pptx
Kubernetes.pptx
 
Kubernetes.pptx
Kubernetes.pptxKubernetes.pptx
Kubernetes.pptx
 
Kubernetes Architecture with Components
 Kubernetes Architecture with Components Kubernetes Architecture with Components
Kubernetes Architecture with Components
 
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKSCNCF Rajkot group- Know the magic of kubernetes with AWS EKS
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
 
MongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James BroadheadMongoDB Ops Manager and Kubernetes - James Broadhead
MongoDB Ops Manager and Kubernetes - James Broadhead
 
Kubernetes Immersion
Kubernetes ImmersionKubernetes Immersion
Kubernetes Immersion
 
Azure kubernetes service
Azure kubernetes serviceAzure kubernetes service
Azure kubernetes service
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021
 
Google Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTEGoogle Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTE
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
Challenges of Kubernetes On-premise Deployment
Challenges of Kubernetes On-premise DeploymentChallenges of Kubernetes On-premise Deployment
Challenges of Kubernetes On-premise Deployment
 
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOpsDevOps Days Boston 2017: Real-world Kubernetes for DevOps
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
 
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Kubernates : An Small introduction for Beginners by Rajiv VishwkarmaKubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
 
stupid-simple-kubernetes-final.pdf
stupid-simple-kubernetes-final.pdfstupid-simple-kubernetes-final.pdf
stupid-simple-kubernetes-final.pdf
 
Jenkins_K8s (2).pptx
Jenkins_K8s (2).pptxJenkins_K8s (2).pptx
Jenkins_K8s (2).pptx
 

Recently uploaded

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 

Recently uploaded (20)

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 

What is kubernet

  • 1. LinuxDady.Com What is Kubernetes and its terminology for beginners For more information visit https://linuxdady.com
  • 2. sswhat is Kubernetes What is Kubernetes? I hope if you are working as a devops engineer then definitely you have to listen about Kubernetes. If you don’t list don’t worry. In this tutorial we are going to learn complete about Kubernetes and its terminology. Why we use Kubernetes in our infra and how Kubernetes is better than other technology like docker swarm, rancher etc. and what are the advantages of Kubernetes over docker swarm? What is Kubernetes? Kubernetes is an orchestration server that is use for central management and automatic deployment of containers in our infra. I think we should learn more deeper about orchestration means suppose we are running 10 application in containers and our application is highly productive. So, we need high availability and scalability. For one or two container we can achieve high availably and scalability manually but suppose if we are running thousands of containers then Kubernetes comes in scenario. . Why we use Kubernetes? I think you have understood basic about what is Kubernetes. Now my question is why we use Kubernetes. But before moving next in Kubernetes first learn about docker because Kubernetes help to overcome the disadvantage of docker. So, what are the challenges of docker that we were facing before Kubernetes. If I will explain in simple language if we are planning for high availability scalability central management container provisioning on demand. User management, resource allocation, share storage , container migration, container recreation all these thinks is not possible if possible then we have to do manually like if we need 10 copies of container we have to make manually. If any container become stop, we have to start manually for small infra this is ok but for health infra like mine we are running 700 containers doing this task manually become hectic. Advantage of Kubernetes:- I think you have better understood about what is Kubernetes and why we should use it. Now let’s discus it’s advantages. 1) Centralized managed system → means we can run the command on all docker host from one server. No need to go on every system inadvisably and run the command. We can manage from Kubernetes master server. 2) Centralized container provision → Centralized provision means we can create or destroy containers from Kubernetes master according to requirement. 3) Maintain state → High availability means suppose in our infra we are running 10 container and one container becomes destroy. Then Kubernetes master automatically create new container automatically. 4) Scalability → Scalability means we can increase or decrease resources of containers without having downtime. 5) Self-maintained load distribution across the pod → Kubernetes also have the beauty of load distribution on required pod(container) 6) Resource allocation based on project → Resource allocation is good factor means we can set which one pod will use 2 GB RAM or which will use 5GB etc. according to requirement. 7) User level access based on project → Based on name space we can isolate user level access like who can see our pod or who can delete or pod etc.
  • 3. 8) Resource planning → We can do resource planning according to our infra requirement with the help of Kubernetes. Kubernetes Architecture Before learning new technology, we should learn about that technology architecture first. Because with the help of architecture we will be easily able to understand the base of that technology. So, let’s discuss the architecture of Kubernetes how it works? Kubernetes Master:--Kubernetes master is those machines from where we will manage our pod at Kubernetes node. At Kubernetes master server mainly four service will run. But before learning architecture we should aware about a term that is called POD. POD --: POD is nothing this is simply a container or collection of containers that is running on Kubernetes node or client machine. Now discuss Kubernetes services one by one that will help to understand what is Kubernetes architecture. 1) KUBE API--: Kube api is the communication channel into Kubernetes means when execute any command or access any service all these actions first receive by kube api. Means kube api will validate user authorization that user have the access to execute command or access the services. Finally, we can say all communication, authorization and role access is manged by kube api even if Kubernetes master will run any command or even if client give and output to Kubernetes master all things will be verified by kube api. So, this is very use full part of Kubernetes. 2) Kube controller → It will communicate with kubelet on client host node using KUBE API means suppose we want to run any command on client machine or any action that we want to perform on client then kube controller comes in scenario. 3) Kube etcd → It contains persistence information of Kubernetes in yaml format. Means suppose you want launch three pod then api check etcd file here our pod count will be saved suppose we want to launch tree pod then will be tree suppose want launch four pod the count will be four in etcd file. 4) Kube scheduler:-- To check best client node for new upcoming pod means suppose we have three client nodes then it will check on which pod we have available ram or cpu resource according that it will scheduler upcoming or new pod. We can also apply custom policy. Like my first pod will launch only on node 1 not any other node. Such kind of policy we can also perform by scheduler. Kubernetes Node:-- If I will explain in simple language this is the client machine of Kubernetes master where our container is running, or we can say that this is client machine where we want to perform action. Finally, client host is called Kubernetes node. Kubelet → Kubelet is an agent installed on Kubernetes node. Kube controller will give command to kubelet and kubelet will run command on client node.
  • 4. Kubeproxy :-- It is used to manage the container networking . For better understanding go through the architectural diagram of Kubernetes that will to understand what is Kubernetes and how it’s service communicates with each other. Still I think it will be clear what is Kubernetes. how it works and why we use it in our infra. But still in our mind there is raising a question that is if docker community is providing their own orchestration docker swarm then why we use Kubernetes means third party orchestration tool. Let’s try to compare and take decision on you own behalf.
  • 5. Conclusion:-- In this tutorial we have discussed what is Kubernetes and why we prefer it in our infra. Also, we have discussed about difference between Kubernetes and docker swarm. We did this because moving to next in Kubernetes we should aware about basic of Kubernetes. So, I tried my best to clear the picture of what is Kubernetes. Still anyone has doubt write me in comment box. I will try my best to resolve them. Basic Interview question on Kubernetes introduction? Write answer of below question in comment box or correct if I am telling any answer wrong. 1) What is pod 2) What is difference between docker swarm and Kubernetes? 3) What is Kubernetes workflow? 4) Which once is better between Kubernetes and docker swarm? 5) What is backup of Kubernetes? 6) Interview can ask about terminology of Kubernetes like etcd, controller etc. 7) What are the port number of Kubernetes? Ans:- This is very important question what Kubernetes port numbers are:- 1) Scheduler → 10251 2) Controller → 10252 3) Kube-API → 6443 4) Etcd → 2379, 2380 2379 → For client communication. 2380 → For server to server communication. 8) What are the resource planning for Kubernetes service like etcd , kube controller.