Skip to main content

Posts

Showing posts from December, 2021

Kubernetes - Architecture

  What is Kubernetes:      Kubernetes is an open source container orchestration system for automating application deployment,     scaling, self-healing, rolling update and roll back.   Architecture Diagram: Master Node / Control Plane components:     Kube API server     Scheduler     Controller Manager     etcd store 1. Kube API Server:  API server acts as a front-end to kubernetes cluster & exposes the kubernetes cluster API.  API server talks to worker nodes.  API server validates and configures data for the api objects which includes pods, service   replica-controllers, deployments etc.  Once request is validated, it stores the cluster data under etcd store. 2. Schedulers:   Scheduler assigns pods to nodes  Scheduler determines which nodes are free and can take a new load.   Scheduler also checks for constraints before placing the load on any nodes. 3. etcd  store:   Kubernetes uses etcd ro store all cluster data - configuration data, its state and metadata.  Since Kubernetes is