惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
F
Fortinet All Blogs
爱范儿
爱范儿
博客园 - Franky
MyScale Blog
MyScale Blog
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
B
Blog
P
Proofpoint News Feed
IT之家
IT之家
宝玉的分享
宝玉的分享
D
DataBreaches.Net
S
SegmentFault 最新的问题
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
M
MIT News - Artificial intelligence
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
雷峰网
雷峰网
Stack Overflow Blog
Stack Overflow Blog
量子位
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Kubernetes Architecture: The Complete Beginner-to-Interme...
Arnab Adhikary · 2026-06-23 · via DEV Community
Cover image for Kubernetes Architecture: The Complete Beginner-to-Intermediate Guide

Arnab Adhikary

Most engineers learn Kubernetes by memorizing commands.

The best engineers understand how the architecture works behind the scenes.

Once you understand the architecture, troubleshooting becomes significantly easier.

Let's dive in.


Why Kubernetes Exists

Imagine manually managing:

  • Hundreds of servers
  • Thousands of containers
  • Constant deployments
  • Hardware failures
  • Traffic spikes

Without orchestration, managing this environment would be nearly impossible.

Kubernetes automates these tasks.


High-Level Architecture

A Kubernetes cluster consists of:

✅ Control Plane

✅ Worker Nodes

The Control Plane manages the cluster.

The Worker Nodes run applications.


Control Plane Components

API Server

The API Server acts as the gateway to the cluster.

Every action performed through:

kubectl get pods
kubectl apply -f deployment.yaml
kubectl delete pod nginx

ultimately communicates with the API Server.


ETCD

ETCD is the distributed key-value database of Kubernetes.

It stores:

  • Pods
  • Deployments
  • Services
  • ConfigMaps
  • Secrets
  • Cluster configuration

Think of ETCD as the single source of truth.

Without ETCD, Kubernetes loses its memory.


Scheduler

The Scheduler decides:

"Which worker node should run this pod?"

It evaluates:

  • Available CPU
  • Available Memory
  • Affinity rules
  • Taints and Tolerations
  • Resource constraints

Controller Manager

Controllers continuously monitor cluster health.

Examples:

  • ReplicaSet Controller
  • Node Controller
  • Deployment Controller

If something drifts from the desired state, controllers correct it.


Cloud Controller Manager

Used in cloud environments such as AWS.

Responsible for:

  • Load Balancers
  • Node lifecycle management
  • Cloud networking integration

Worker Node Components

Kubelet

The primary node agent.

Responsibilities:

  • Receives instructions
  • Creates pods
  • Monitors pod health

Container Runtime

Runs containers.

Examples:

  • containerd
  • CRI-O

Docker support now works through container runtimes rather than directly.


Kube Proxy

Responsible for service networking.

Provides:

  • Service discovery
  • Traffic routing
  • Load balancing

Pods

The smallest deployable unit in Kubernetes.

Applications ultimately run inside Pods.


What Happens During Deployment?

When a Deployment YAML is applied:

  1. API Server receives request
  2. ETCD stores desired state
  3. Scheduler chooses node
  4. Kubelet creates pod
  5. Container runtime starts containers
  6. Kube Proxy enables networking
  7. Application becomes available

The Core Kubernetes Philosophy

Desired State Management.

You declare:

"I want 3 replicas."

Kubernetes continuously ensures:

"I have 3 replicas."

If one replica disappears, Kubernetes creates another automatically.

This self-healing behavior is one of Kubernetes' most powerful features.


Real-World Relevance

Understanding Kubernetes Architecture is critical for:

  • CKA Certification
  • DevOps Engineering
  • Site Reliability Engineering
  • Platform Engineering
  • Cloud Engineering
  • AWS EKS Administration

Without architectural knowledge, troubleshooting production incidents becomes extremely difficult.


Challenge Question

Suppose:

  • API Server is healthy
  • Worker Nodes are healthy
  • ETCD is unavailable

Can new Pods be scheduled?

Why or why not?

Drop your answer below 👇

kubernetes #cka #cloudnative #devops #sre #aws #eks #containers #docker #platformengineering #terraform #argocd #gitops #helm #prometheus #grafana #observability #linux #cloudcomputing #devsecops #opensource #siteReliabilityEngineering #cloudengineering #automation #infrastructureascode #learninginpublic