Senior
Do you know the architecture of Kubernetes — what entities are there, what is the control plane?
sobes.tech AI
Answer from AI
Kubernetes is a container orchestration system that manages deployment, scaling, and maintenance of applications.
Main entities of Kubernetes:
- Pod — the smallest deployable unit, containing one or more containers.
- Service — an abstraction that provides stable access to a set of Pods.
- Deployment — manages updates and scaling of Pods.
- Namespace — a virtual cluster within Kubernetes for resource separation.
- ConfigMap and Secret — used for storing configurations and secret data.
Control Plane — a set of components that manage the cluster's state:
- kube-apiserver — the API server through which all components interact.
- etcd — a distributed configuration and state storage.
- kube-scheduler — responsible for assigning Pods to nodes.
- kube-controller-manager — runs controllers that monitor the cluster's state and ensure the desired state.
The Control Plane manages and coordinates all worker nodes where containers run.