Skip to content
IT glossary
DevOps and cloudUpdated December 3, 2026

Kubernetes

This platform runs containerized applications across a group of machines. You tell it what to run and how many copies you want, and it works to keep the cluster in that state.

Also known as: k8s, кубер

What Kubernetes does

Kubernetes, often shortened to k8s, is a container orchestration platform. Suppose your web app needs three running copies. Rather than logging in to servers and starting each copy yourself, you give Kubernetes a description of what you want. It finds places to run those copies and creates replacements when copies are lost. The machines form a cluster, and each machine is called a node.

How the cluster turns configuration into running workloads

You typically submit a YAML manifest to the Kubernetes API using kubectl. Controllers in the control plane watch for differences between the configuration and what's actually running, then act to close the gap. This ongoing process is called reconciliation. The scheduler assigns each new Pod to a suitable node, taking resource requests and placement constraints into account. The kubelet on that node then works with a container runtime to start its containers.

A Pod is the smallest unit Kubernetes schedules. It usually contains one application container, but it can hold several containers that need to run together and share a network. A Deployment manages a set of interchangeable Pods through a ReplicaSet and coordinates updates. A Service gives clients a stable way to reach those Pods without tracking their individual IP addresses.

Example: rolling out a new API version

Say a Deployment runs three replicas of store-api:1.4 and a Service routes requests to them. Change the image in the Deployment's Pod template to store-api:1.5. With the default rolling update strategy, Kubernetes creates a new ReplicaSet and shifts replicas from the old version to the new one rather than replacing them all at once. If you configure a readiness probe, a new Pod that hasn't finished initializing can be running without being eligible for normal Service traffic.

Where it fits and what it doesn't do

Teams use Kubernetes for web services, background workers, and scheduled jobs. It runs container images; a CI pipeline typically builds and tests them first. Setting replicas: 3 does not enable autoscaling. That requires separate configuration, such as a Horizontal Pod Autoscaler, which can adjust the replica count based on metrics. Three replicas also don't guarantee high availability: if all three land on the same node, a failure of that node can take them all offline until replacements are ready elsewhere.

What interviewers look for

A common troubleshooting prompt is: “The new Pods are running, but requests aren't reaching them. What do you check?” Start by explaining that Running isn't the same as Ready. Check Pod conditions and events with kubectl describe pod, then check whether the Service selector matches the Pod labels and whether the Service has ready endpoints.