What is the architecture of Kubernetes?

The architecture of Kubernetesconsists following components:

Master: There is a master node that is responsible for managing the cluster. The master performs the following functions in a cluster.

  1. SchedulingApplications
  2. Maintaining the desired state of applications
  3. Scaling applications
  4. Applying updates to applications

Nodes: A Node in Kubernetes is responsible for running an application. The Node can be a VirtualMachine or a Computer in the cluster. There is a software called Kubelet on each node. This software is used for managing the node and communicating with the Master node in the cluster.

There is a Kubernetes API that is used by Nodes to communicate with the Master. When we deploy an application on Kubernetes, we request Master to start application containers on nodes.