InterviewStack.io LogoInterviewStack.io

Kubernetes Troubleshooting Questions

Covers diagnosing and resolving failures in container orchestration with an emphasis on Kubernetes pod and deployment issues. Topics include Kubernetes architecture and components, pod lifecycle and states, common failure modes such as CrashLoopBackOff, ImagePullBackOff, out of memory conditions, resource limit and quota problems, and node or scheduling issues. Practical debugging skills include using command line inspection and control tools, reading and correlating logs and events, using exec into containers, describing resources, checking node and cluster health, and interpreting health checks, liveness and readiness probes. Also includes distinguishing platform or cluster issues from application level faults, analyzing networking and service discovery problems, using monitoring and observability data, understanding rolling updates and deployment strategies, and applying remediation and rollback techniques for reliable recovery.

EasyTechnical
141 practiced
Explain the difference between liveness and readiness probes. Provide two concrete examples where a readiness probe should mark a pod NotReady without triggering a restart, and explain how misconfigured probes can cause outages.
HardTechnical
68 practiced
A service mesh sidecar injection recently caused some pods to fail at startup. Describe a methodical approach to isolate whether the sidecar or the app is at fault, including runtime checks, logs to inspect, and safe mitigations to bring services back without disabling the mesh cluster-wide.
EasyTechnical
85 practiced
You observe a Deployment with multiple pods stuck in CrashLoopBackOff. Describe the immediate investigative steps you would take to identify the root cause and the specific commands you would run to capture evidence before taking remediation actions to restore service.
HardTechnical
93 practiced
A container's liveness probe calls an endpoint that under heavy load causes the process to terminate, producing CrashLoopBackOff. Describe how you would change probe configuration or application behavior to avoid false-positive restarts. Provide an example of probe configuration changes and explain trade-offs between responsiveness and stability.
HardTechnical
70 practiced
The cluster is showing high API-server request latency, causing kubectl to be slow and controllers to lag. Which metrics and logs would you inspect (etcd request latency, apiserver request-duration, audit logs), and how would you triage whether the bottleneck is etcd, API server, network, or noisy clients?

Unlock Full Question Bank

Get access to hundreds of Kubernetes Troubleshooting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.