Intermediate to advanced Kubernetes questions covering pods, deployments, services, configuration, Helm and how a cluster fits together.
Core concepts
What is Kubernetes and what problem does it solve?
Kubernetes is an open-source container orchestration platform. It automates deploying, scaling and managing containerised applications, so you don't do it by hand.
What is the difference between a Pod and a Deployment?
A Pod is the smallest deployable unit in Kubernetes. A Deployment manages a set of Pod replicas and handles rolling updates and self-healing.
What is the difference between a Node and a Pod?
A Node is a worker machine, virtual or physical, in the cluster. A Pod is a group of one or more containers that runs on a Node.
What are Kubernetes Services and why are they needed?
Pods come and go, so Services give them a stable way to be reached inside the cluster or from outside. Common types are ClusterIP, NodePort and LoadBalancer.
Configuration and packaging
How are ConfigMaps and Secrets used?
ConfigMaps hold non-sensitive configuration. Secrets hold sensitive values such as passwords or tokens. Both can be mounted into pods as files or exposed as environment variables.
What is Helm and how is it used?
Helm is a package manager for Kubernetes. It deploys applications from reusable templates called charts.
What is a namespace and why use one?
Namespaces isolate resources virtually within one cluster. They are useful for multi-tenancy, separating environments such as dev, test and prod, and applying resource quotas.
What is a StatefulSet and when would you use it?
A StatefulSet runs stateful applications that need stable network identities and persistent storage, such as databases and message brokers.
Cluster architecture
What are the main components of a Kubernetes cluster?
The control plane runs the API server, etcd, the scheduler and the controller manager. Each worker node runs the kubelet, kube-proxy and a container runtime.
What does the kube-scheduler do?
It watches for new pods with no assigned node and picks a node for each one, based on resource requests, constraints and policies.
Related: Docker interview questions, hire DevOps engineers and the DevOps engineer salary guide.
Keep reading
Same skill, other angles

