Kubernetes Cheat Sheet for DevOps Interviews

🚀 **Kubernetes (K8s) – Complete Concepts Cheat Sheet (Quick Revision)** If you're preparing for DevOps / Kubernetes interviews or want a quick refresher, here’s a **one-line guide to all major K8s concepts** 👇 --- 🧱 **Core Concepts** • Cluster – Group of nodes running containerized apps • Node – Machine where pods run • Control Plane – Manages cluster state • Pod – Smallest deployable unit • Container – Application runtime --- 🚀 **Workloads** • ReplicaSet – Maintains number of pods • Deployment – Handles updates & scaling • StatefulSet – For stateful applications • DaemonSet – One pod per node • Job – Runs a task once • CronJob – Runs scheduled jobs --- 🌐 **Networking** • Service – Exposes pods • ClusterIP – Internal access • NodePort – Access via node IP • LoadBalancer – External access • Ingress – HTTP/HTTPS routing • CoreDNS – Service discovery --- 💾 **Storage** • Volume – Pod storage • PV – Persistent storage • PVC – Storage request • StorageClass – Dynamic provisioning --- 🔐 **Security & Config** • ConfigMap – Non-sensitive data • Secret – Sensitive data • Namespace – Logical isolation • RBAC – Access control • ServiceAccount – Pod identity • NetworkPolicy – Traffic control --- ⚙️ **Scheduling** • Scheduler – Assigns pods to nodes • NodeSelector – Basic node selection • Node Affinity – Advanced rules • Pod Affinity – Pod placement rules • Taints & Tolerations – Restrict scheduling • Resource Limits/Requests – CPU & memory control --- 🔍 **Monitoring & Debugging** • kubectl – CLI tool • Logs – Container output • Events – Cluster activity • Liveness Probe – Health check • Readiness Probe – Traffic readiness • Startup Probe – App startup check --- 🔄 **Scaling & Updates** • HPA – Auto-scale pods • VPA – Adjust resources • Rolling Update – Zero downtime updates • Rollback – Revert changes --- 🧰 **Advanced** • Helm – Package manager • CRD – Extend Kubernetes API • Operator – Automation for apps • ETCD – Cluster database • API Server – Entry point • Kubelet – Node agent • Kube-Proxy – Networking --- 💡 **Quick Summary:** Kubernetes helps manage, scale, and automate containerized applications efficiently. --- #Kubernetes #DevOps #CloudComputing #Docker #K8s #Learning #Tech #SRE

To view or add a comment, sign in

Explore content categories