SlideShare a Scribd company logo
1 of 6
Download to read offline
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 TribefireOperatorOliver Moser
 
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes MeetupKubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetupalexgervais
 
Extending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitionsExtending kubernetes with CustomResourceDefinitions
Extending kubernetes with CustomResourceDefinitionsStefan Schimanski
 
Kubernetes Architecture and Introduction
Kubernetes Architecture and IntroductionKubernetes Architecture and Introduction
Kubernetes Architecture and IntroductionStefan Schimanski
 
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 monitorSysdig
 
Kubernetes @ Squarespace: Kubernetes in the Datacenter
Kubernetes @ Squarespace: Kubernetes in the DatacenterKubernetes @ Squarespace: Kubernetes in the Datacenter
Kubernetes @ Squarespace: Kubernetes in the DatacenterKevin 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 makerAWSCOMSUM
 
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 KubernetesCoreOS
 
Api versioning w_docker_and_nginx
Api versioning w_docker_and_nginxApi versioning w_docker_and_nginx
Api versioning w_docker_and_nginxLee Wilkins
 
Understanding Kubernetes
Understanding KubernetesUnderstanding Kubernetes
Understanding KubernetesTu Pham
 
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021whywaita
 
Serverless in Java Lessons learnt
Serverless in Java Lessons learntServerless in Java Lessons learnt
Serverless in Java Lessons learntKrzysztof 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

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 KubernetesWill Hall
 
Getting started with google kubernetes engine
Getting started with google kubernetes engineGetting started with google kubernetes engine
Getting started with google kubernetes engineShreya Pohekar
 
Kubernetes cheetsheet.pdf
Kubernetes cheetsheet.pdfKubernetes cheetsheet.pdf
Kubernetes cheetsheet.pdfEswar378637
 
Best Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptxBest Kubernetes Consultant In USA.pptx
Best Kubernetes Consultant In USA.pptxWillSmith622206
 
Kubernetes.pptx
Kubernetes.pptxKubernetes.pptx
Kubernetes.pptxhgfodsiuh
 
Kubernetes Architecture with Components
 Kubernetes Architecture with Components Kubernetes Architecture with Components
Kubernetes Architecture with ComponentsAjeet 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 EKSamanmakwana3
 
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 BroadheadMongoDB
 
Kubernetes Immersion
Kubernetes ImmersionKubernetes Immersion
Kubernetes ImmersionJuan Larriba
 
Azure kubernetes service
Azure kubernetes serviceAzure kubernetes service
Azure kubernetes serviceVishwas N
 
Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Nugwc k8s session-16-march-2021
Nugwc k8s session-16-march-2021Avanti Patil
 
Google Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTEGoogle Cloud Platform Kubernetes Workshop IYTE
Google Cloud Platform Kubernetes Workshop IYTEGokhan Boranalp
 
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 DevOpsAmbassador 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 VishwkarmaRajiv Vishwkarma
 
stupid-simple-kubernetes-final.pdf
stupid-simple-kubernetes-final.pdfstupid-simple-kubernetes-final.pdf
stupid-simple-kubernetes-final.pdfDaniloQueirozMota
 
Jenkins_K8s (2).pptx
Jenkins_K8s (2).pptxJenkins_K8s (2).pptx
Jenkins_K8s (2).pptxkhalil 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

會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesAmanpreetKaur157993
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfcupulin
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportDenish Jangid
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi RajagopalEADTU
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17Celine George
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 

Recently uploaded (20)

會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 

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.