- helmsman
- A helmsman is a person who physically steers a ship, boat, sailboat, submarine, airship, or spacecraft.
- K8s
- Most popular for managing the container.
- Open source container orchestration platform.
- orchestration --> Management of container.
- Automate --> scale up & scale down , Deployment process.
- Load Balacing
History
- Developed by Google - 2014
- CNCF --> Managing the k8s ( CNCF acquried ).
- Kubernetes a greek word for helmsman.
- 7 spokes in k8s represents 7 founders.
Why we need k8s ?
- To update all the container at a time with docker is a challange or complex process.
- Container should not go down ( maintaince ).
- If container fails , it needs to restart by itself.
- Production Challenges : Manual scaling , HA & Networking along with storage.
K8s
- All the above will be automated by KUBERNETES.
- Automating deployment & scaling.
- Self-healing.
- LB
- Managing storage.
- Its like Swiggy Eg., Order FOOD and just relax . Swiggy will take care everything.
- To host the application inside the containers.
- We can't directly work with container , here its called PODS.
- Pods will run on worker nodes.
Docker Swarm vs K8s
- Both are event organiser.
- Docker Swarm contains --> Cluster --> Cluster contains --> Nodes --> Nodes containes --> Containers --> Containers contain APPs.
- K8s contains --> Cluster --> Cluster contains --> Nodes --> Nodes --> Nodes containes --> PODS --> PODS contain --> Containers contain APPs.
- Docker Swarm --> Small scale events. Eg., Common wealth
- K8s --> Large scale events. Eg., Olympics
Cluster
- Cluster is a group of servers or virtual machine.
- Any cluster contains
- Master Node / Control Plane
- Worker Nodes / Data Plane
Control Plane
- Its like a director
- Manage the scheduling , scaling & Monitoring.
- Control Plane is like டைரக்டர் சங்கர். Control Plane எல்லாத்தையும் பாத்துப்பார்.
Worker Nodes / Data Plane
- Its like actors
- Follow the instruction of control plane and ensure the task is executed.
- Each nodes will have containers inside.
- The actual work will happen inside the worker node.
- Each node runs containers inside PODS.
Notes
- Docker is used to create.





