Kubernetes Administrator Interview Questions (2027)

52 Kubernetes administrator interview questions: kubeadm, etcd backup and restore, upgrades, RBAC, networking, storage and NotReady node scenarios.

Sep 10, 2025 - 15:38
Nov 5, 2026 - 11:22
 0  105
Kubernetes Administrator Interview Questions (2027)

Kubernetes administrator interviews test whether you can build, secure, upgrade and repair a cluster: control plane components, kubeadm, etcd backup and restore, node maintenance, RBAC, networking, storage and troubleshooting. This guide has 52 questions with direct answers for freshers, engineers with 2 to 5 years of experience and senior admins, plus scenario questions.

It focuses on running the cluster itself, the day-2 work of an admin or platform engineer. For architecture basics, read 12 must-know Kubernetes architecture components. For application debugging drills, use our Kubernetes scenario-based interview questions, and for exam tasks see CKA, CKAD and CKS exam prep questions.

Key takeaways

  • Know what each control plane component does and where it runs on a kubeadm cluster (static Pods in /etc/kubernetes/manifests).
  • etcd backup and restore with etcdctl and etcdutl is asked in almost every admin round.
  • Upgrades follow the version skew policy: control plane first, one minor version at a time, then nodes.
  • Drain, cordon and uncordon are the basic node maintenance tools; PodDisruptionBudgets decide what a drain can evict.
  • RBAC questions expect Role, ClusterRole, bindings and kubectl auth can-i.
  • The Linux Foundation's CKA exam is currently based on Kubernetes v1.37, a useful guide to which version to practise on.

Question map

LevelQuestionsFocus
Freshers1 to 15Components, objects, kubectl
2 to 5 years16 to 36kubeadm, etcd, upgrades, RBAC, networking, storage
Senior admin37 to 44HA design, security hardening, capacity, multi-cluster
Scenarios45 to 52NotReady nodes, failed upgrades, etcd loss, certificate expiry

Freshers questions

1. What does a Kubernetes administrator do?

An administrator installs and configures clusters, manages nodes, upgrades versions, backs up etcd, controls access with RBAC, sets resource policies, keeps networking and storage working, and troubleshoots cluster-level failures.

2. What are the control plane components?

kube-apiserver (the front door for all API calls), etcd (the key-value store of cluster state), kube-scheduler (assigns Pods to nodes), and kube-controller-manager (runs controllers that reconcile state). Cloud setups also run cloud-controller-manager.

3. What runs on every worker node?

The kubelet, which starts and monitors Pods; a container runtime such as containerd or CRI-O; and usually kube-proxy, which programs Service rules. Some CNI plugins replace kube-proxy.

4. What is a Pod?

A Pod is the smallest deployable unit: one or more containers that share a network namespace and volumes and are scheduled together on one node.

5. What is the difference between a Deployment, a StatefulSet and a DaemonSet?

A Deployment manages interchangeable replicas with rolling updates. A StatefulSet gives each replica a stable name and its own persistent volume. A DaemonSet runs one Pod on every node, or selected nodes, for agents such as log collectors.

6. What is a namespace?

A namespace is a scope for names and a boundary for RBAC, resource quotas and network policies inside one cluster. It is not a hard security boundary on its own.

7. What is a Service and what are its types?

A Service gives a stable virtual IP and DNS name to a set of Pods. Types are ClusterIP (internal), NodePort (a port on every node), LoadBalancer (an external load balancer from the cloud or a controller) and ExternalName (a DNS alias).

8. What is kubeconfig?

A kubeconfig file holds clusters, users and contexts that kubectl uses to connect. The default path is ~/.kube/config, and kubectl config use-context switches between clusters.

9. How do you see why a Pod is not running?

Run kubectl describe pod to read events, kubectl logs (with --previous for a crashed container), and kubectl get events --sort-by=.metadata.creationTimestamp for the namespace.

10. What are labels and selectors?

Labels are key-value pairs on objects. Selectors pick objects by label, which is how Services find Pods and how Deployments own ReplicaSets.

11. What are requests and limits?

Requests are what the scheduler reserves on a node. Limits cap what the container may use; exceeding a memory limit gets the container OOM-killed, and CPU above its limit is throttled.

12. What are ConfigMaps and Secrets?

ConfigMaps hold non-sensitive configuration; Secrets hold sensitive values. Both can be mounted as files or exposed as environment variables. Secrets are base64-encoded, not encrypted, unless you enable encryption at rest.

13. What are taints and tolerations?

A taint on a node repels Pods that do not tolerate it. Control plane nodes on kubeadm clusters carry the node-role.kubernetes.io/control-plane:NoSchedule taint so normal workloads stay off them.

14. What is a static Pod?

A static Pod is managed directly by the kubelet from a manifest file on the node, not by the API server. kubeadm runs the control plane components as static Pods from /etc/kubernetes/manifests.

15. What does kubectl get nodes show?

Each node's name, status (Ready or NotReady), roles, age and kubelet version. Adding -o wide shows IPs, OS image, kernel and container runtime.

Questions for 2 to 5 years of experience

16. How do you create a cluster with kubeadm?

Install a container runtime, kubelet, kubeadm and kubectl on each machine, run kubeadm init on the first control plane node, install a CNI plugin, then run the printed kubeadm join command on worker nodes.

sudo kubeadm init --pod-network-cidr=10.244.0.0/16
mkdir -p $HOME/.kube
sudo cp /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config

17. How do you back up etcd?

Take a snapshot with etcdctl snapshot save using the etcd endpoint and its client certificates, then copy the file off the node. Check the snapshot with etcdutl snapshot status.

ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 \
  --cacert=/etc/kubernetes/pki/etcd/ca.crt \
  --cert=/etc/kubernetes/pki/etcd/server.crt \
  --key=/etc/kubernetes/pki/etcd/server.key \
  snapshot save /backup/etcd-snapshot.db

18. How do you restore etcd from a snapshot?

Restore the snapshot to a new data directory with etcdutl snapshot restore, then point the etcd static Pod manifest (or service) at that directory and let it restart. The Kubernetes docs note that etcdctl snapshot restore is deprecated in favour of etcdutl.

etcdutl snapshot restore /backup/etcd-snapshot.db --data-dir /var/lib/etcd-restore

19. What is the upgrade order for a kubeadm cluster?

Upgrade kubeadm on the first control plane node, run kubeadm upgrade plan and kubeadm upgrade apply v1.x.y, then upgrade kubelet and kubectl there. Repeat with kubeadm upgrade node on other control plane nodes, then drain, upgrade and uncordon each worker.

20. Can you skip minor versions when upgrading?

No. kubeadm supports upgrading one minor version at a time, for example 1.36 to 1.37. The version skew policy also limits how far kubelets can lag behind the API server, so plan node upgrades soon after the control plane.

21. What do cordon and drain do?

kubectl cordon marks a node unschedulable. kubectl drain cordons it and evicts its Pods, respecting PodDisruptionBudgets. Use --ignore-daemonsets because DaemonSet Pods are not evicted, and uncordon when the work is done.

22. What is a PodDisruptionBudget?

A PDB sets minAvailable or maxUnavailable for Pods matching a selector. Voluntary disruptions such as drains wait if evicting a Pod would break the budget. A PDB that allows zero disruptions blocks drains entirely.

23. How does RBAC work?

A Role (namespaced) or ClusterRole (cluster-wide) lists allowed verbs on resources. A RoleBinding or ClusterRoleBinding grants it to users, groups or service accounts. Permissions are additive; there are no deny rules.

kubectl create role pod-reader --verb=get,list,watch --resource=pods -n dev
kubectl create rolebinding dev-read --role=pod-reader --user=asha -n dev
kubectl auth can-i list pods -n dev --as=asha

24. How do you add a new user to a kubeadm cluster?

Kubernetes has no user objects. A common method is to create a private key and CertificateSigningRequest, approve it with kubectl certificate approve, extract the signed certificate into a kubeconfig, and bind RBAC roles to the username in the certificate's CN. Larger organisations use OIDC from an identity provider.

25. How do you check and renew control plane certificates?

kubeadm certs check-expiration lists expiry dates. kubeadm certs renew all renews them, after which the control plane static Pods must restart to load them. kubeadm also renews certificates during a control plane upgrade.

26. What is a CNI plugin?

The Container Network Interface plugin gives each Pod an IP and connects Pods across nodes. Examples include Calico, Cilium and Flannel. Without one, nodes stay NotReady and CoreDNS Pods stay Pending.

27. How do NetworkPolicies work?

A NetworkPolicy selects Pods and allows ingress or egress from selected Pods, namespaces or IP blocks. Once a Pod is selected by any policy for a direction, all traffic not allowed is denied. Your CNI must support NetworkPolicy for it to have effect.

28. How does cluster DNS work?

CoreDNS runs as a Deployment behind the kube-dns Service. The kubelet writes its IP into each Pod's /etc/resolv.conf. Services resolve as name.namespace.svc.cluster.local.

29. What is the difference between a PersistentVolume, a PersistentVolumeClaim and a StorageClass?

A PV is a piece of storage. A PVC is a request for storage by a workload. A StorageClass describes a provisioner and parameters so PVs are created dynamically when a PVC asks for that class.

30. What are access modes?

ReadWriteOnce (one node read-write), ReadOnlyMany, ReadWriteMany, and ReadWriteOncePod (one Pod only). What a volume supports depends on the storage driver.

31. What are ResourceQuotas and LimitRanges?

A ResourceQuota caps total resources or object counts in a namespace. A LimitRange sets default and maximum requests and limits per container, so Pods without settings still get sane values.

32. What are Pod Security Standards?

Three levels, Privileged, Baseline and Restricted, enforced by the built-in Pod Security Admission controller through namespace labels such as pod-security.kubernetes.io/enforce=restricted. They replaced PodSecurityPolicy, which was removed in v1.25.

33. How do you encrypt Secrets at rest?

Create an EncryptionConfiguration with a provider such as KMS v2 or aescbc, pass it to kube-apiserver with --encryption-provider-config, then rewrite existing Secrets so they are stored encrypted.

34. How do you find which Pods use the most resources?

Install metrics-server and run kubectl top nodes and kubectl top pods -A --sort-by=memory. For history, use Prometheus. Our guide to Prometheus and Grafana together covers the setup.

35. What is the role of the kubelet in node health?

The kubelet reports node status and conditions such as MemoryPressure, DiskPressure and PIDPressure, renews the node lease, and evicts Pods when resources run low. If the kubelet stops, the node goes NotReady after the grace period.

36. How do you manage HPA and node scaling?

The HorizontalPodAutoscaler scales replicas from metrics, which needs metrics-server or a custom metrics adapter. Node scaling needs Cluster Autoscaler or Karpenter on supported clouds. Pods must have requests or the autoscalers cannot plan capacity.

Senior admin questions

37. How do you design a highly available control plane?

Run three or more control plane nodes behind a load balancer for the API server, with etcd either stacked on those nodes or on a separate external etcd cluster of three or five members. kubeadm supports both topologies. Spread nodes across failure zones.

38. Stacked etcd or external etcd?

Stacked etcd needs fewer machines and is simpler. External etcd separates failure domains so losing a control plane node does not also lose an etcd member, at the cost of more hosts to run.

39. How do you harden a cluster?

Restrict API server access, disable anonymous access where possible, enable audit logging, enforce Pod Security Standards, apply default-deny NetworkPolicies, encrypt Secrets, scan images, limit who can create privileged Pods and keep versions inside the supported window. Our post on RBAC in securing Kubernetes clusters goes deeper on access.

40. What is audit logging and how do you enable it?

Audit logging records requests to the API server. You pass an audit policy file and a log path or webhook to kube-apiserver. The policy sets the level (None, Metadata, Request, RequestResponse) per resource.

41. How long is a Kubernetes minor version supported?

The Kubernetes project maintains release branches for the three most recent minor releases, and each minor version gets about one year of patch support (12 months plus a two month upgrade period). Managed services have their own policies.

42. How do you plan capacity?

Compare requested versus allocatable resources per node, track actual use over time, set requests close to real usage, keep headroom for a node failure, and watch Pods per node against the kubelet's maxPods.

43. How do you manage many clusters?

Use GitOps (Argo CD or Flux) to apply the same baseline to every cluster, a central identity provider for access, central logging and metrics, and a clear upgrade calendar. Our GitOps guide explains the model.

44. What changed for ingress controllers recently?

The Kubernetes project announced the retirement of the community ingress-nginx controller in November 2025. Admins running it should plan a move to another controller or to Gateway API, which is the newer standard for routing traffic.

Scenario questions

45. A node is NotReady.

Run kubectl describe node for conditions, then on the node check systemctl status kubelet, journalctl -u kubelet, the container runtime, disk space and the CNI. Common causes are a stopped kubelet, expired kubelet certificates, a full disk or a broken CNI.

46. kubectl returns "connection refused" to the API server.

On a kubeadm cluster, check the kube-apiserver static Pod with crictl ps -a and its logs. A typo in /etc/kubernetes/manifests/kube-apiserver.yaml, expired certificates or etcd being down are the usual causes.

47. Pods stay Pending after a new deployment.

Read the events. Insufficient CPU or memory, unbound PVCs, node selectors or affinity no node matches, and taints without tolerations are the common causes. Fix the cause rather than removing requests.

48. A drain is stuck.

A PDB probably allows zero disruptions, or a Pod has local storage. Check with kubectl get pdb -A. Scale the workload up first or adjust the PDB; use --delete-emptydir-data only when losing that data is acceptable.

49. The cluster stopped working and certificates expired.

Check with kubeadm certs check-expiration, renew with kubeadm certs renew all, restart the control plane static Pods, and update admin.conf copies in users' kubeconfig. Then schedule upgrades so renewal happens regularly.

50. etcd data was corrupted on a single control plane cluster.

Stop the API server, restore the latest snapshot with etcdutl snapshot restore into a new data directory, update the etcd manifest to use it and restart. Changes after the snapshot are lost, which is why frequent off-node snapshots matter.

51. An upgrade left some nodes on the old kubelet version.

That is allowed within the version skew policy, but finish soon. Drain each node, upgrade kubelet and kubectl packages, restart the kubelet, and uncordon. Check with kubectl get nodes.

52. DNS lookups fail inside Pods.

Check CoreDNS Pods and logs, the kube-dns Service endpoints, any NetworkPolicy blocking port 53, and a test Pod's /etc/resolv.conf. The Kubernetes DNS debugging guide gives the step-by-step checks.

How to prepare

  1. Build a kubeadm cluster with one control plane and two workers on VMs.
  2. Back up and restore etcd, then upgrade the cluster one minor version.
  3. Create a user with a certificate, bind a Role and test with kubectl auth can-i.
  4. Break things on purpose: stop the kubelet, edit a static Pod manifest wrongly, fill a disk.

Our CKA training covers these labs in Kharadi, Pune and live online. For harder design questions, see 150+ advanced Kubernetes interview questions and the DevOps interview questions hub.

FAQ

What skills does a Kubernetes administrator need?

Linux, networking basics, kubectl, kubeadm, etcd backup and restore, upgrades, RBAC, storage, NetworkPolicies and troubleshooting nodes and control plane components.

How do I back up a Kubernetes cluster?

Snapshot etcd with etcdctl snapshot save and store the file off the node. Keep manifests in Git, and back up persistent volume data with your storage or a tool such as Velero.

Can I upgrade Kubernetes from 1.35 to 1.37 directly?

No. kubeadm upgrades go one minor version at a time, so you upgrade to 1.36 first and then to 1.37.

What is the difference between cordon and drain?

Cordon only stops new Pods being scheduled on the node. Drain cordons the node and evicts its existing Pods.

Is the CKA useful for a Kubernetes administrator role?

It is the certification aimed at administrators. It is a 2-hour performance-based exam currently based on Kubernetes v1.37, according to the Linux Foundation.

Why are Secrets not encrypted by default?

Secrets are stored base64-encoded in etcd. You must configure encryption at rest on the API server to encrypt them.

References

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0
Mridul I am a passionate technology enthusiast with a strong focus on DevOps, Cloud Computing, and Cybersecurity. Through my blogs at DevOps Training Institute, I aim to simplify complex concepts and share practical insights for learners and professionals. My goal is to empower readers with knowledge, hands-on tips, and industry best practices to stay ahead in the ever-evolving world of DevOps.