Curious about how Kubernetes gets things done effortlessly? π€ Discover the magic behind scheduling Pods in this fascinating sequence diagram! π
π Key Takeaways:
ππ The user creates a Pod via the API Server β¨π₯οΈ
π₯ The API server writes it to etcd ππ
π The scheduler notices an βunboundβ Pod and decides which node to run that Pod on π§πββοΈ
π Scheduler writes that binding back to the API Server ποΈπ
π The Kubelet notices a change in the set of Pods that are bound to its node ππ§
π³ Kubelet, in turn, runs the container via the container runtime (i.e. Docker) π’πββοΈ
π The Kubelet monitors the status of the Pod via the container runtime π΅οΈββοΈπ¬
π As things change, the Kubelet will reflect the current status back to the API Server πππ‘
π Dive into the orchestration magic of Kubernetes! π Embrace the containerized journey with ease! π― #KubernetesWorkflow #ContainerMagic #DevOpsTech π
By using the API Server as a central coordination point, Kubernetes is able to have a set of components interact with each other in a loosely coupled manner.
Kubernetes Control Plane
API Server
The API server is a component of the Kubernetes control plane that exposes the Kubernetes API.
The API server is the front end for the Kubernetes control plane.
The main implementation of a Kubernetes API server is kube-apiserver.
kube-apiserver is designed to scale horizontallyβthat is, it scales by deploying more instances.
You can run several instances of kube-apiserver and balance traffic between those instances.
ETCD
Consistent and highly-available key value store.
It is used as Kubernetes’ backing store for all cluster data.
Backup and restore is a must.
Scheduler
Control plane component that watches for newly created Pods with no assigned node,
And selects a node for them to run on.
Factors taken into account for scheduling decisions include:
1.Individual and collective resource requirements,
2.Hardware/software/policy constraints,
3.Affinity and anti-affinity specifications,
4.Data locality,
5.Inter-workload interference, and deadlines.
Kubernetes Node
Kubelet
An agent that runs on each node in the cluster.
It makes sure that containers are running in a Pod.
The kubelet takes a set of PodSpecs that are provided through various mechanisms and ensures that the containers described in those PodSpecs are running and healthy.
The kubelet doesn’t manage containers which were not created by Kubernetes.
Docker
Is an open source DevOps tool designed to help developers & operations guys to streamline application development and deployment.
By dockerizing an application means deploying and running an application using containers.
Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and deploy it as one package.
Now, we need YOUR support to spread the word! π
#KubernetesAnimation #ContainerMagic #DevOpsCommunity #TechRevolution
#BeginnerAcademy #cloud #awscloud #AWS #DevOps #CommunityBuilding #CloudEnthusiast #KnowledgeSharing #awscommunitybuilders #AWSCommunity #CloudComputing #CloudCommunity #AWSNetworking #awscommunitybuilder
#cncf