DevOpsAnywhere

Remote DevOps, SRE & platform jobs, worldwide.

Guides

Kubernetes interview questions for DevOps, SRE and platform roles

By the DevOpsAnywhere team · Published December 2, 2026

What Kubernetes interviews focus on

Kubernetes remains the tool remote DevOps listings name most. On 2 December 2026, 158 of the 539 remote DevOps, SRE and platform roles on DevOpsAnywhere named it. It rarely comes alone: 99 of those roles also named Terraform and 92 AWS. Of the 150 with a full description, 104 mention security or access control, 50 GitOps, 41 a managed service (EKS, AKS or GKE) and 32 Helm. These roles pay well, too: the Kubernetes DevOps salary page shows a median of $199,000 a year across 55 roles that stated a salary.

Interviewers rarely want definitions alone. They ask what happens inside the cluster, then follow up with "and what if it goes wrong?" The guide to the Kubernetes skills remote jobs expect describes the levels of experience and walks through debugging a failing deployment, so this guide covers the other questions.

Architecture

"What happens when you run kubectl apply -f deployment.yaml?"

kubectl sends the manifest to the API server, which authenticates and authorises the request, runs admission controllers, and stores the object in etcd. The Deployment controller in the controller manager notices the new Deployment and creates a ReplicaSet, which creates Pods. The scheduler picks a node for each Pod based on resource requests, affinity, taints and tolerations. On that node, the kubelet sees the Pod assigned to it and asks the container runtime to pull the image and start the containers. The core idea to convey: every component watches the API server and works to make the actual state match the desired state.

"What happens if a node dies?"

The node stops reporting, the node controller marks it NotReady, and after a timeout its Pods are evicted. Pods managed by a ReplicaSet, Deployment or StatefulSet are recreated elsewhere. A bare Pod is not. Mention what this means in practice: always run workloads through controllers, keep more than one replica, and use a PodDisruptionBudget so voluntary disruptions such as node upgrades don't take every replica down at once.

Workloads

"Deployment, StatefulSet or DaemonSet: when do you use each?"

  • Deployment: stateless services, where any replica can replace any other.
  • StatefulSet: stable names and their own storage for each replica, started in order. Databases, Kafka, ZooKeeper.
  • DaemonSet: one Pod per node, for node-level agents such as log collectors or monitoring exporters.
  • Job and CronJob: run-to-completion work, once or on a schedule.

"How does a rolling update work, and how do you roll back?"

The Deployment creates a new ReplicaSet and shifts Pods over gradually, controlled by maxSurge and maxUnavailable. It waits for new Pods to pass their readiness probes before removing old ones. Roll back with kubectl rollout undo, or better, by reverting the change in Git if you use GitOps. Bonus points: readiness probes that genuinely test the app, so a bad version stops the rollout instead of taking traffic.

"Requests versus limits?"

Requests are what the scheduler reserves for the container. Limits are the maximum it may use. Exceeding a memory limit gets the container OOM-killed. Exceeding a CPU limit throttles it. Many teams set memory limits equal to requests, and leave CPU limits off or generous to avoid throttling. Know the QoS classes this creates: Guaranteed, Burstable and BestEffort, and that BestEffort Pods are evicted first under pressure.

Networking

"How does traffic reach a Pod from outside the cluster?"

An Ingress controller (or the newer Gateway API) or a LoadBalancer Service receives the traffic, routes it to a Service, and the Service forwards to the healthy Pods matching its selector, through kube-proxy rules or an eBPF-based data plane. Inside the cluster, DNS gives each Service a name such as orders.shop.svc.cluster.local.

"ClusterIP, NodePort and LoadBalancer?"

ClusterIP is reachable inside the cluster only. NodePort opens a port on every node. LoadBalancer asks the cloud provider for an external load balancer. Most production setups use ClusterIP Services behind one Ingress or Gateway.

"How do you restrict traffic between services?"

NetworkPolicies, with a default deny and explicit allows. They only work if the CNI plugin enforces them, a classic follow-up. A service mesh adds mutual TLS and policies by identity.

Scaling

  • Horizontal Pod Autoscaler: adds Pods based on CPU, memory or custom metrics. Needs requests set, since utilisation is measured against them.
  • Cluster Autoscaler or Karpenter: adds nodes when Pods can't be scheduled, and removes underused ones.
  • Vertical Pod Autoscaler: recommends or sets requests. Usually not combined with HPA on the same metric.
  • KEDA: scaling on event sources such as queue length, including down to zero.

A good follow-up answer: autoscaling only helps if the app starts quickly and handles shutdown gracefully (SIGTERM, a preStop hook, connection draining).

Security and access

Security came up in 104 of the 150 descriptions, so expect several questions here.

"How does RBAC work?"

A Role (one namespace) or ClusterRole (cluster-wide) lists allowed verbs on resources. A RoleBinding or ClusterRoleBinding grants it to users, groups or service accounts. Apply least privilege: no cluster-admin for applications, a dedicated service account per workload, and automountServiceAccountToken: false where the Pod doesn't need the API.

"How do you handle secrets?"

Kubernetes Secrets are only base64-encoded, so enable encryption at rest and restrict who can read them. Most teams keep the real values in an external store (AWS Secrets Manager, Vault, Azure Key Vault) and sync them in with the External Secrets Operator or a CSI driver. Never commit secrets to Git, including in Helm values. Sealed Secrets or SOPS are the exceptions designed for that.

"How do you harden workloads?"

Pod Security Standards (restricted where possible): non-root users, read-only root filesystems, dropped capabilities. Image scanning and signed images, admission policies with Kyverno or OPA Gatekeeper, and cloud IAM bound to service accounts (IRSA or EKS Pod Identity on AWS, Workload Identity on GKE and AKS) instead of static keys.

Delivery: Helm and GitOps

"Helm or Kustomize?"

Helm packages applications as templated charts with versioned releases, suited to distributing software and to many similar services. Kustomize patches plain YAML for each environment, with no templating. Many teams use both: Helm for third-party charts and Kustomize overlays for their own services.

"What is GitOps, and why use it?"

The desired state of the cluster lives in Git, and an agent in the cluster (Argo CD or Flux) continuously applies it and reports drift. Benefits: every change is reviewed and audited, rollback is a Git revert, and nobody needs cluster credentials in CI. See GitOps with Argo CD.

Managed clusters

"What does EKS, AKS or GKE manage for you, and what doesn't it?"

The provider runs the control plane: API server, etcd, upgrades and availability. You still own node groups and their upgrades, add-ons (CNI, CoreDNS, ingress, autoscaler), IAM integration, networking design, and everything running on the cluster. Mention version support windows: managed clusters must be upgraded regularly, and the API deprecations between versions are a frequent cause of trouble.

Scenarios to prepare

  • "Pods are stuck in Pending." Check events: insufficient resources, unschedulable due to taints or affinity, unbound PersistentVolumeClaims.
  • "A service is slow only at peak times." Check CPU throttling, HPA limits, node capacity, and downstream dependencies.
  • "We need to upgrade a cluster with no downtime." Read the deprecation notes, upgrade a staging cluster first, keep PodDisruptionBudgets in place, and replace node groups gradually.

Tie each answer to an example from your own work, or from a cluster you ran yourself. The observability guide helps with the monitoring follow-ups.

The open roles below name Kubernetes.

Open remote DevOps roles that use Kubernetes

  1. Senior Site Reliability Engineer (SRE & Platform Reliability)Affirm · Remote Poland
  2. DevOps/Ansible EngineerJobgether · US
  3. Senior DevOps Engineersustaind GmbH · Berlin
  4. Senior Staff Platform Engineer - KubernetesJobgether · US
  5. AWS DevOps Engineer (Freelancer)Mactores · USA

More guides