Kubernetes Basics & Architecture

Kubernetes Basics & Architecture

Kubernetes (K8s) is an open-source container orchestration platform designed to automate the deployment, scaling, and management of containerized applications. It was originally developed by Google and is now maintained by the Cloud Native Computing Foundation (CNCF).

Note: The number of letters between K...........S is 8. so Kubernetes is popularly called K8s.

The architecture of Kubernetes:

s

Why do we use Kubernetes (K8s)?

-Failure and downtime are mitigated.
-For deploying micro-services and small apps which are production ready.

-Backup and Restores.

  • Load balancing

  • Auto healing, Health monitoring of containers and Batch execution

Components of the Control Panel

Kube API: Basically for all communications. This API server directly interacts with the user and it is meant to auto scale as per load.
Etcd: It stores metadata and the status of the cluster.

Scheduler: Whenever a user requests the creation and management of Pods.

Controller Manager: To ensure the actual state of the cluster matches the desired state.

Components of Worker Node

Kubelet: The agent running on the node sends success/failure reports to the Master.

Kube-Proxy: Assigning IP to each POD. Since it runs on each POD, thereby each POD gets a unique IP address.

POD: The smallest unit in K8s. POD is a group of one or more containers that are deployed together on the same host.