KUBERNETES ARCHITECTURE USING EXAMPLES

Understanding the architecture of Kubernetes

- Kubernetes offers four fundamental advantages over Docker: cluster in nature, auto healing, auto scaling, and multiple enterprise level support.

- Kubernetes has a control plane and data plane with multiple components in each, including API server, etcd, scheduler, controller manager, cloud controller manager, cubelet, Q proxy, and container runtime.

Comparison of Docker and Kubernetes architecture

- Containers in Docker require a container runtime component called Docker shim

- Kubernetes architecture involves creating a master and worker component, with requests going through the master

Kubernetes has two main components: kubelet and container runtime.

- kubelet is responsible for ensuring that the pod is always running and informs other components if there is an issue.

- Kubernetes supports multiple container runtimes, including Docker shim, containerd, and Creo.

Kubernetes worker node has three components: Q proxy, kubelet, and container runtime.

- Q proxy provides networking, IP addresses, and load balancing capabilities.

- kubelet is responsible for running and ensuring the pod is always in the running state.

- Container runtime runs the container.

Kubernetes has three components: worker node, control plane, and API server.

- Worker node runs the application, Kubelet deploys, Cube proxy provides networking, and container runtime provides execution environment.

- Control plane or master component manages instructions, standards, and security

API server exposes Kubernetes to the external world and scheduler schedules resources.

Kubernetes has essential components like etcd, controller manager, and Cloud controller manager.

- etcd is a key-value store that stores the entire Kubernetes cluster information.

- Controller manager ensures that the controllers like replica set are always running.

- Cloud controller manager is used to run Kubernetes on cloud platforms like EKS.

Kubernetes uses Cloud Controller Manager to translate user requests to cloud provider API requests.

- Cloud Controller Manager is an open source utility that allows cloud providers to write logic for their platform.

- Kubernetes is divided into two parts: control plane and data plane, with three components in the data plane: kubelet, Q proxy, and container runtime.

- Control plane components include API server, scheduler, etcd, controller manager, and cloud controller manager.

- Data plane components execute actions on worker nodes.

Launch your GraphyLaunch your Graphy
100K+ creators trust Graphy to teach online
𝕏
Tech Guides 2024 Privacy policy Terms of use Contact us Refund policy