Kubernetes Architecture and Components

Hi there! I'm Dinesh, a passionate Cloud and DevOps enthusiast. I love to dive into the latest new technologies and sharing my journey through blog.
Search for a command to run...

Hi there! I'm Dinesh, a passionate Cloud and DevOps enthusiast. I love to dive into the latest new technologies and sharing my journey through blog.
No comments yet. Be the first to comment.
1. Difference between Docker and Kubernetes Docker → Builds and runs containers.Kubernetes → Orchestrates containers across multiple nodes. Key points: Docker = container runtime. Kubernetes = container orchestration tool. Kubernetes provides auto...
In this session, we learn how to monitor a Kubernetes cluster using Prometheus and Grafana.This is not just theory — there is a GitHub repository containing all installation commands and demo steps.The repo will also be enhanced later with advanced K...
1. What is a ConfigMap in Kubernetes? A ConfigMap is used to store non-sensitive configuration data that your application needs — such as: Database port Connection type Any general configuration values In normal applications (non-Kubernetes), de...
Kubernetes normally supports built-in resources like: Deployment Service Pod ConfigMap Secret Ingress These are called native resources. Sometimes companies (Istio, ArgoCD, Prometheus Operator, Kyverno, etc.) want to add new features that Kub...
1. Why Kubernetes Services Are Needed When a Pod is created in Kubernetes, it receives a dynamic IP address.If the Pod dies and restarts, its IP changes.So other Pods (like checkout → payments) cannot rely on Pod IP because it changes, creating issue...
Kubernetes is a powerful container orchestration platform that automates the deployment, scaling, and management of containerized applications.
At its core, Kubernetes follows a client-server architecture, consisting of the following primary components:
Master Node (Control Plane): Manages the cluster's state, including scheduling, scaling, and maintaining the desired state.
Worker Nodes: Machines that run containerized applications, managed by the control plane.

API Server
The front-end for the Kubernetes control plane, handling all administrative tasks.
etcd
A distributed key-value store for storing all cluster data, configuration, and state information.
Scheduler
Assigns pods to available worker nodes based on resource requirements.
Controller Manager
Runs controllers to ensure the cluster’s desired state matches the current state (e.g., maintaining the correct number of pod replicas).
Cloud Controller Manager
Integrates Kubernetes with cloud provider APIs for managing cloud resources like load balancers and storage.
Kubelet
An agent on each worker node that ensures containers are running and healthy.
Kube Proxy
Maintains network rules on each node, enabling communication between pods and services.
Pods
The smallest deployable units in Kubernetes, consisting of one or more containers sharing the same network namespace and storage.