Kubernetes
All interview questions related to Kubernetes
A pod is stuck in Pending state. What are the common causes and troubleshooting steps?
Briefly explain ClusterIP, NodePort, and LoadBalancer service types in Kubernetes and when to use each.
What is the difference between a ConfigMap and a Secret in Kubernetes, and when do you use each?
What is the difference between readiness and liveness probes in Kubernetes?
What is the difference between Kubernetes Ingress and Service, and when would you use each?
A Kubernetes pod is stuck in a restart loop. Walk me through your systematic approach to diagnose and fix this issue.
Your production Kubernetes cluster shows unusually high CPU usage in multiple pods. Walk me through your investigation and mitigation steps.
Describe how you would design a Kubernetes architecture for multi-region high availability and low latency.
Design a secure multi-tenant Kubernetes setup. How do you isolate workloads and enforce policy across namespaces?
Design a monitoring and alerting system for a microservices architecture running on Kubernetes. Consider metrics, logs, traces, and alerting.
A pod has been stuck in Pending state for over 15 minutes. Walk me through how you would troubleshoot and resolve this issue.
One of your production nodes is reporting 100% disk usage and workloads are failing. How do you investigate and resolve this?
A Kubernetes service keeps restarting with CrashLoopBackOff. How do you debug and resolve this?
New pods are failing with ImagePullBackOff and registry logs show rate limiting/throttling. How do you restore service quickly and prevent recurrence?
A container is consistently OOMKilled under normal workload. How do you debug and fix it?
Your Kubernetes etcd cluster shows high fsync latency, causing API server slowness. How do you troubleshoot and resolve?