Kubernetes · Orchestration under pressure
What is Kubernetes and what problem does it solve?
Short answer
Kubernetes is a container orchestration platform. It schedules containers onto machines, reconciles actual state to desired state, and provides service discovery, scaling, storage and rollout primitives.
Running a few containers by hand is easy. Running hundreds across many machines is not: you need placement, restarts, networking, configuration, storage and safe releases. Kubernetes gives you a declarative API where you submit the desired state and controllers continuously work to make reality match it.
- Scheduling places pods on nodes based on resources and constraints
- Self-healing restarts failed containers and replaces unhealthy pods
- Services give stable virtual IPs and DNS names to moving pods
- Rollouts and rollbacks change workloads gradually and reversibly
- The API is extensible, which is why the ecosystem is so large
apiVersion: apps/v1
kind: Deployment
metadata:
name: api
spec:
replicas: 3
selector:
matchLabels:
app: api
template:
metadata:
labels:
app: api
spec:
containers:
- name: api
image: registry.example.com/api:1.4.2
ports:
- containerPort: 8080Kubernetes is not a complete platform on its own. It does not give you a database, a CI system, or a logging backend. It provides the primitives that teams compose into a platform, which is why operational maturity matters as much as the YAML.
Follow-ups you should expect
Interviewers use these to check whether the first answer was understanding or memorisation.
- 1What does declarative desired state mean in practice?
- 2Which problems does Kubernetes not solve for you?
- 3How would you explain the control loop to a new engineer?
- 4When would a simpler platform be the better choice?
Say it in the interview
Kubernetes is a container orchestrator. I submit desired state to its API, and controllers keep reconciling the cluster toward that state by scheduling pods, restarting failures and wiring up services. It solves placement, self-healing, discovery, scaling and rollouts, but it does not give you a full platform. I would still need to choose logging, metrics, CI and security tooling around it.
Use this as a model, not a script. Saying it in your own words is what makes it survive follow-up pressure.
Related questions
Reading is step one
Now say it out loud.
Understanding an answer and delivering it under pressure are different skills. Rehearse this topic in a live Kubernetes mock interview and get scored feedback on depth, clarity and confidence.