InterviewStack.io LogoInterviewStack.io

Kubernetes Architecture, Operations, and Troubleshooting Questions

How Kubernetes works, how to run it, and how to debug it. Covers control-plane and node components, the scheduler and API server, cluster design, high availability and multi-cluster topologies, and platform-level operations; the workload primitives (pods, deployments, services, controllers), cluster upgrades, and designing Kubernetes as an internal platform; and the operational depth inside a cluster including pod and service networking, ingress and the CNI model, service mesh, persistent volumes and storage classes, resource requests and limits, and systematically diagnosing scheduling, networking, and storage failures. The full architecture-through-day-two-operations span of Kubernetes.

HardTechnical
40 practiced

Describe how Horizontal Pod Autoscaler (HPA) can scale based on a custom metric such as queue length. Which components are required (metrics adapter, exporter), how do you expose the metric to the cluster, and what operational pitfalls should you watch for when autoscaling on custom metrics?

HardTechnical
39 practiced

Explain Kubernetes networking end-to-end: pod IP model, service virtual IPs, kube-proxy modes (iptables vs IPVS), CNI plugins and how they implement pod networking, and practical debugging steps when pods on different nodes cannot reach each other on specific TCP ports. Include commands and sources of truth to inspect.

HardTechnical
56 practiced

Compare managed Kubernetes offerings such as GKE/EKS/AKS with self-managed clusters on provisioned VMs. Discuss trade-offs around operational overhead, upgrade and patching responsibilities, control plane availability, cost components, security responsibilities, and scenarios where self-managed might still be preferable.

EasyTechnical
40 practiced

Explain the differences between a Pod, ReplicaSet, Deployment, StatefulSet, and DaemonSet in Kubernetes. For each resource, describe its primary use cases, how it manages lifecycle and scaling, how updates/rollbacks are handled, and provide concrete examples of when you'd choose each resource (stateless web service, per-node agent, stateful database, etc.).

EasyTechnical
48 practiced

Explain liveness, readiness, and startup probes in Kubernetes. For each type describe when it is evaluated, what consequences a failing probe has on pod lifecycle and traffic routing, and list best practices for implementing probes for a typical HTTP-based web service.

Unlock Full Question Bank

Get access to all Kubernetes Architecture, Operations, and Troubleshooting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.