Let us try to understand the Kubernetes Component in a simple way.
Let’s see what a Kubernetes cluster is composed of.
There are many nodes in the Kubernetes cluster, and they can be divided into two categories:
- Master node, that hosts Control Plane on it, which manages and governs the whole Kubernetes System.
- Worker nodes, that run the deployed applications.
What the Control Plane is and how it functions in Kubernetes.
The Control Plane is what controls and functions the cluster. Control Plane consists of several components that can run on a single master node or be distributed across multiple nodes and replicated to ensure high availability.
List of Control Plane components.
- Kubernetes API Server
- Scheduler
- Controller Manager
- etcd
Let’s understand them one by one.
Kubernetes API Server – This is the endpoint with which you and every component communicate. For every request, the components have to talk with the API server.
Scheduler – Scheduler is the one who schedules your application. It assigns the best worker node for your application.
Controller Manager – The Controller Manager is the one who performs cluster-level functions, such as handling node failures, replicating components, keeping track of worker nodes etc.
etcd – The etcd is a reliable distributed data storage that persistently stores the cluster configuration.
Let’s see about worker node components.
Worker nodes are the machines that run your application. It also consists of a few components which are listed below.
- Kubelet
- Container runtime
- Kube-proxy
Kubelet – The Kubelet, which talk to the API server and manages containers on its node. Kubelet shares all the containers and node details with the API server. It is a “node agent” which runs on each node.
Container runtime – Container runtime is the one which runs the application. Docker, rkt, and containerd are some names of container runtime.
Kube-proxy – The kubernetes service proxy which load-balances network traffic between application components. It runs on each node of the cluster. kube-proxy maintains network rules on nodes. These network rules allow network communication to your Pods from network sessions inside or outside of your cluster.
MtroView team is giving its best & working hard to provide the content to help you understand things better in simple terms. We are heartily open to receiving suggestions to improve our content to help more people in society. Please write to us in the form of a comment or can also send an email to mtroview@gmail.com