Skip to content
IROSG.
Articles

Kubernetes architecture from scratch: control plane, nodes, pods and deployments

An original source-backed IROSG IT guide.

Kubernetes architecture from scratch: control plane, nodes, pods and deployments

Scope

This original IROSG guide covers اجزای اصلی Kubernetes و reconciliation loop using the cited primary documentation.

Core model

Kubernetes سیستم desired-state است. شما وضعیت مطلوب را به API Server می‌دهید؛ controllerها اختلاف را می‌بینند، scheduler جای Pod را انتخاب می‌کند و kubelet وضعیت node را به اجرا نزدیک می‌کند. etcd state مهم control plane را نگه می‌دارد.

Practical workflow

kubectl get -o yaml و eventها را همراه با controller/scheduler/kubelet log ببینید. برای troubleshooting همیشه بپرسید object در کدام مرحله از control loop متوقف شده است.

Failure modes

Pod Pending همیشه scheduler مشکل‌دار نیست؛ admission، quota، volume یا image pull می‌تواند علت باشد. همچنین restart کردن component قبل از جمع‌آوری evidence تشخیص را سخت می‌کند.

Lab

یک Deployment بسازید، replica را تغییر دهید، یک scheduling constraint ناممکن اضافه کنید و eventها را دنبال کنید. سپس مشکل را رفع و زمان reconciliation را اندازه بگیرید.

Production method

Capture a baseline, change one variable at a time, test positive and negative paths, keep evidence, and rehearse rollback before broad rollout.

TRACEABLE KNOWLEDGE

Sources & further reading

01
Kubernetes — مرجع فنیhttps://kubernetes.io/docs/concepts/overview/components/

Editorial review date:

IROSG / EDITORIAL

News and pioneer profiles use original writing with source attribution. Image credits and licenses are kept in each page’s sources section instead of beneath the images. CVE reference data credits its primary sources.

Editorial and image policy ↗

Keep exploring.

Articles ↗
VyOS network operating systemArticles
Networking

VyOS network operating system

Original Persian technical editorial based on the official sources below. It covers the subject, architecture, practical use cases, important limitations and defensive considerations.

1 min readRead story
Routinator RPKI validatorArticles
Networking

Routinator RPKI validator

Original Persian technical editorial based on the official sources below. It covers the subject, architecture, practical use cases, important limitations and defensive considerations.

1 min readRead story
ISC Kea DHCP High AvailabilityArticles
Networking

ISC Kea DHCP High Availability

Original Persian technical editorial based on the official sources below. It covers the subject, architecture, practical use cases, important limitations and defensive considerations.

1 min readRead story