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.

EasyTechnical
69 practiced

What is a StorageClass in Kubernetes and what are its most important fields (for example provisioner, parameters, reclaimPolicy, volumeBindingMode)? Explain dynamic versus static provisioning and when you would mark a StorageClass as the cluster default.

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?

HardSystem Design
55 practiced

Design how you would run a stateful, production-grade database within Kubernetes. Discuss operators, persistent volumes, storage classes, pod disruption budgets, backup/restore, and handling of node failures and scaling.

HardTechnical
43 practiced

Describe how you would implement admission control with OPA Gatekeeper to deny creation of Pods that either run privileged containers or do not declare resource limits. Provide a concise example (high-level Rego or ConstraintTemplate/Constraint) that validates spec.containers[].securityContext.privileged == false and requires each container to specify resources.limits.cpu and resources.limits.memory. Explain how you'd roll this policy out safely.

EasyTechnical
44 practiced

Describe the kubectl commands and rollout strategies you would use to perform a safe rolling restart of a Deployment, view rollout history, and rollback to a previous revision. Include examples using kubectl and explain how you would avoid causing cascading failures during a restart of a consumer‑facing 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.