Kubernetes · Orchestration under pressure

What is Kubernetes and what problem does it solve?

EasykubernetesorchestrationcontainersUpdated Oct 2026
Quiz this track

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
yaml
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: 8080
You declare three replicas. Kubernetes keeps three running.

Kubernetes 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.

The core mental model is reconciliation, not imperative commands. If you only remember one thing, remember that controllers compare desired state with observed state and act on the difference.

Follow-ups you should expect

Interviewers use these to check whether the first answer was understanding or memorisation.

  1. 1What does declarative desired state mean in practice?
  2. 2Which problems does Kubernetes not solve for you?
  3. 3How would you explain the control loop to a new engineer?
  4. 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.