Skip to main content
β
Login Register

Kubernetes interview questions 2026

An open notebook full of diagrams on a gym bench next to a leather wallet, a stopwatch and a towel
Diagrams on the bench between sets. Kubernetes is learned the same way: a little, often.

How Kubernetes questions are asked in 2026

Kubernetes questions show up in three kinds of loops: platform and SRE roles, where they are the main topic; backend roles, where they take ten minutes of the system design round; and DevOps roles, where you may get a broken cluster and a shared terminal. The questions overlap, the depth does not.

Below are twenty questions that keep coming up, grouped by topic. For each one there is a short answer and the follow-up that separates a junior answer from a senior one. At the end: what changed in versions 1.33 to 1.35, because interviewers like to check whether you read release notes.

Basics: pods, deployments, services

#QuestionShort answerSenior follow-up
1What is a pod and why not run containers directly?The smallest schedulable unit: containers that share a network namespace and volumesWhen would you put two containers in one pod, and when is that a mistake?
2Deployment vs StatefulSetInterchangeable replicas vs stable identity and per-replica storageHow do you scale a StatefulSet down without losing data?
3What does a Service do?A stable virtual IP and DNS name in front of pods chosen by labelsTraffic goes to a pod that is not ready. Why, and where do you look?
4ClusterIP, NodePort, LoadBalancerInside the cluster; a port on every node; an external balancer from the cloudWhat does each one cost on a managed cloud cluster?
5Ingress vs Gateway APIGateway API is the newer, role-oriented replacement with richer routingWould you migrate an existing Ingress setup now? What breaks?

Health, rollouts and failure

#QuestionShort answerSenior follow-up
6Liveness vs readiness vs startup probeRestart a stuck container; keep a pod out of traffic; give slow starts timeWhich probe should never check the database, and why?
7A pod is in CrashLoopBackOff. Your steps?describe pod, logs --previous, events, then exit codeExit code 137 vs 1: what does each tell you?
8How does a rolling update work?New ReplicaSet scales up while the old one scales down, limited by maxSurge and maxUnavailableThe new version passes readiness but returns errors. How do you stop the rollout automatically?
9What is a PodDisruptionBudget?A minimum of available pods during voluntary disruption such as node drainsYour PDB blocks a node upgrade for hours. What went wrong?
10Pod stuck in PendingNo node fits: resources, taints, affinity, or an unbound volumeHow do you tell a capacity problem from a scheduling rule problem in under a minute?

Resources, scaling and scheduling

#QuestionShort answerSenior follow-up
11Requests vs limitsRequests drive scheduling; limits cap usage. CPU over the limit is throttled, memory over it is killedShould you set CPU limits at all? Argue both sides.
12QoS classesGuaranteed, Burstable, BestEffort, decided by requests and limitsWhich pods go first under node memory pressure?
13HPA vs VPA vs cluster autoscalerMore pods; bigger pods; more nodesHPA on CPU scales a service that is slow because of the database. What happens?
14Taints, tolerations, affinityKeep pods off nodes; allow them back; attract them to nodes or to each otherHow do you spread replicas across zones without breaking scheduling in a small cluster?
15In-place pod resizeStable since 1.35: change CPU and memory of a running pod without recreating itWhich workloads still need a restart after a resize, and why?

Configuration, security and operations

#QuestionShort answerSenior follow-up
16ConfigMap vs SecretPlain configuration vs sensitive data; Secrets are only base64-encoded by defaultHow would you keep secrets out of etcd in plain form and out of Git?
17RBAC: Role vs ClusterRoleNamespaced permissions vs cluster-wide; bound with RoleBinding or ClusterRoleBindingA CI job needs to deploy to one namespace. Write the minimum permissions out loud.
18NetworkPolicyAllow-lists for pod traffic; without any policy, everything talks to everythingYou add a deny-all policy and DNS breaks. Why?
19Native sidecar containersStable since 1.33: init containers with restartPolicy Always that start before and stop after the main containerWhat problem did the old sidecar pattern have with Jobs?
20How do you upgrade a cluster?Control plane first, then node pools one at a time, after checking deprecated APIsHow many minor versions can the kubelet lag the API server, and why does it matter for upgrade order?

What changed in 1.33 to 1.35

Interviewers do not expect you to know every release note. They do notice when a candidate describes a workaround that the platform has since replaced. Three changes are worth knowing:

  • Native sidecars, stable in 1.33. Init containers with restartPolicy: Always. They solve the old problem of a log shipper or proxy keeping a Job alive after the main container exits.
  • Dynamic Resource Allocation, core APIs GA in 1.34. A standard way to request GPUs and other devices with parameters, instead of fixed device-plugin counts. Expect it in AI infrastructure loops.
  • In-place pod resize, stable in 1.35. CPU and memory of a running pod become mutable; the kubelet changes the cgroup without recreating the pod. Useful for JVM services with slow starts.

How to practise without a cluster at work

A laptop with kind or minikube is enough for every question above. The trick is to break things on purpose, then fix them while talking:

  1. Deploy a small service with three replicas and a readiness probe.
  2. Change the Service selector to a wrong label. Watch traffic stop. Find it with kubectl get endpoints.
  3. Set a memory limit of 64Mi on something that needs more. Read the OOMKilled event.
  4. Roll out an image tag that does not exist. Read the events and roll back.
  5. Add a deny-all NetworkPolicy and fix DNS by allowing port 53 to kube-system.

Five exercises, about two evenings. Then explain each failure to a partner on a pair mock: the explanation is what the interview scores.

The short version

Twenty questions cover most loops. Learn the short answers, then prepare for the follow-up, because that is where the level is decided. Know three recent changes, practise failures on a local cluster, and say the debugging steps out loud before the interview does it for you.

Related: system design interview prep, what is MLOps, system design for agentic AI.

Questions readers ask

5 questions

  1. Do I need a certification like CKA to pass?

    No interviewer we know of requires it. It helps if you have no production Kubernetes on your CV, because it proves you have at least run kubectl under a clock.

    Link to this answer
  2. How deep should a backend developer go?

    Pods, deployments, services, probes, resource requests and how a rollout fails. Leave etcd internals and scheduler plugins to platform roles.

    Link to this answer
  3. Which version should I study?

    Whatever your target company runs, usually one or two minor versions behind the latest. Know that native sidecars went stable in 1.33 and in-place resize in 1.35.

    Link to this answer
  4. Will they ask me to write YAML from memory?

    Sometimes a short manifest, more often 'find what is wrong with this one'. Practise reading broken manifests more than writing perfect ones.

    Link to this answer
  5. How do I practise without a cluster at work?

    kind or minikube on a laptop is enough for every question in this list. Break things on purpose: wrong selector, failing probe, memory limit too low.

    Link to this answer

Sources

  1. Kubernetes blog: v1.34 release, Dynamic Resource Allocation graduates to GA
  2. Kubernetes blog: v1.35, in-place Pod restart
  3. Kubernetes documentation: Sidecar containers
  4. Kubernetes documentation: Resize CPU and memory resources assigned to containers

Figures were checked against these pages in October 2026. Pay and dates change; the links show where to recheck.

← Back to the blog

Newsletter

By subscribing you agree to our Privacy.