Debug School

Jijesh Janardanan
Jijesh Janardanan

Posted on

My K8s note

What is Kubernetes?

Kubernetes is an orchestrator tool to deploy the containers and scale based on the needs.

Why do we need it?

Managing a lot of containers manually is difficult considering the high availability of the system. K8s will help in managing containers for scaling, high availability, recovering from failures etc..

How it works?

The user can create the instructions in yaml file and submit it to kubectl which will interact with API server under master node and store it in etcd. The control manager will look for the instructions and instruct the scheduler to schedule the job if there is no match.
The kubelet matching with job criteria scheduled by the scheduler will pull the job using api server and execute the job. Succefull execution will be updated the to the etcd through api server.

What are the components of Master?

etcd
controller manager
scheduler
API server

What are the components of Worker?

kubelet

Top comments (0)