Complete Kubernetes Interview Q&A
K8s is asked in every senior DevOps interview.
Here are the most important questions.
Beginner
Q: What is Kubernetes?
Container orchestration platform. Handles: auto-scaling,
self-healing, load balancing, rolling updates.
Q: What is a Pod?
Smallest deployable unit. Wraps one or more containers
sharing same network namespace and storage.
Q: Deployment vs Service?
Deployment: manages pod replicas, rolling updates
Service: stable network endpoint, load balancing
Intermediate
Q: How does HPA work?
Horizontal Pod Autoscaler scales replicas based on
CPU/memory metrics every 15 seconds automatically.
Q: CrashLoopBackOff — how to debug?
- kubectl describe pod — check Events
- kubectl logs pod --previous
- Check resource limits, image name, env vars
Advanced
Q: How do namespaces + cgroups enable containers?
Namespaces: isolation (pid, net, mnt, user)
cgroups: resource limits (CPU, memory, I/O)
...100+ more questions 👇
🔗 devopsrise.vercel.app/qa
Top comments (0)