Kubernetes Components
Kubernetes Node: It is a worker machine. Kubernetes node may be vm machine and physical machine. The service on a node includes container runtime, kubelet and kube-proxy.Each node contains the services necessary to run pods and is managed by the master components.
Kubernetes Cluster: It is a set of node machines for running applications.Kubernetes cluster consists of a set of worker machines, called nodes, that run containerized applications. When you deploy Kubernetes, you get a cluster. If you’re running Kubernetes, you’re running a cluster. Cluster contains a worker node and a master node. Worker nodes actually run the applications and workloads. Master node is responsible for maintaining the desired state of the cluster.
Kubernetes Container: It is a packaged code along with dependencies needs at run time. Each container run is repeatable manner that means you get the same behavior wherever you run it. Container makes application decouple from underlying infrastructure. Container image and container runtime make container deployment into the different cloud and OS environment. Here,Container image provides ready to run software package and Container runtime provides running container.
Kubernetes Controller: Controllers are control loops ( control loop is a non-terminating loop that regulates the state of a system.) that watch the state of your cluster, then make or request changes where needed.
Kubernets Control Plane: The control plane manages the worker node and pod. Control plane run across multiple computer. Control plane has two task. 1. It makes global decision about the cluster like scheduling 2. It also handles cluster event like creating new pod. Control plane has component like kube-api server, etcd, kube-scheduler, kube-controller-manager and cloud controller manager.
- kube-api server: Exposes the Kubernetes API.
- etcd: Consistent and highly-available key value store used as Kubernetes’ backing store.
- kube-scheduler: Watches for newly created Pods with no assigned node, and selects a node for them to run on.
- kube-controller-manager: Runs controller processes.
- cloud controller manager: Runs controllers that interact with the underlying cloud providers
Kubernets Node Components: Node components run on every node, maintaining running pods and providing the Kubernetes runtime environment. It has kubelet, kube-proxy and container runtime to manage the node.
- kubelet: Runs on each node in the cluster.
- kube-proxy: Network proxy that runs on each node in your cluster.
- container runtime: Software that is responsible for running containers.
Comments
Post a Comment