Kubernetes components
Kubernetes follows a client-server architecture. In Kubernetes, multiple master nodes control multiple worker nodes. Each master and worker has a set of components that are required for the cluster to work correctly. A master node generally has kube-apiserver
, etcd
storage, kube-controller-manager
, cloud-controller-manager
, and kube-scheduler
. The worker nodes have kubelet
, kube-proxy
, a Container Runtime Interface (CRI) component, a Container Storage Interface (CRI) component, and so on. We will go through each of them in detail now:
kube-apiserver
: The Kubernetes API server (kube-apiserver
) is a control-plane component that validates and configures data for objects such as pods, services, and controllers. It interacts with objects using REST requests.etcd
:etcd
is a high-availability key-value store used to store data such as configuration, state, and metadata. The watch functionality ofetcd
provides Kubernetes with the ability to listen for updates...