Sign in
GUIDE 03 / Infrastructure

What is Kubernetes?Many workloads. A coordinated system.

Understand Kubernetes clusters, nodes, Pods, desired state, scaling and recovery through an interactive scheduling model and plain-language examples.

THE SHORT VERSION

A cluster coordinates workloads across nodes.

Controllers work toward the desired state you declare.

More replicas do not automatically make every dependency resilient.

01 / Kubernetes

Tell the system what should be running.

Kubernetes is a platform for managing containerized workloads. Instead of manually choosing every process on every server, you describe a desired state. The system works to bring the observed state toward that description.

For a ticketing app, the desired state might include three copies of a web service. Kubernetes can place those workloads on suitable nodes and help replace failed instances. Its control plane coordinates the cluster; worker nodes provide the environment where application workloads run.

Reference: Kubernetes: overview
02 / Kubernetes

Learn three words: cluster, node, Pod.

A cluster is the coordinated environment. A node is a physical or virtual machine participating in it. A Pod is the smallest deployable unit Kubernetes creates and manages; it contains one or more closely related containers with shared networking and storage context.

A Pod is not a permanent machine. If it disappears, a controller can create a replacement with a different identity. Applications should use the platform’s service-discovery mechanisms rather than assume a particular Pod address will last forever.

Reference: Kubernetes: Pods
03 / Kubernetes

See desired state in action.

A Deployment manages a set of application Pods through ReplicaSets. You can change its replica count or roll out a new Pod template. The controller then works toward that requested arrangement. The scheduler considers placement constraints and available resources.

Try the conceptual model below. Scaling creates more example replicas; losing a node shows replacements on the remaining nodes. Real recovery is not instantaneous and depends on capacity, networking, storage, health checks and configuration. The model illustrates reconciliation, not a promise of uninterrupted service.

Reference: Kubernetes: Deployments
INTERACTIVE EXPLAINERChange the goal. Watch the placement change.
Change the goal. Watch the placement change.
Desired replicas 2Placement example
Node 01Available
Pod 1
Node 02Available
Node 03Available
Pod 2

Two application copies are placed across two nodes. A replica is another copy of the workload, not a new server.

Desired replicas 5Placement example
Node 01Available
Pod 1Pod 2
Node 02Available
Pod 3Pod 4
Node 03Available
Pod 5

The desired count is now five. Pods need enough suitable capacity; this layout is only one possible placement.

Desired replicas 5After reconciliation
Node 01Available
Pod 1Pod 2Pod 5
Node 02Available
Pod 3Pod 4
Node 03Unavailable

The model shows replacement Pods on healthy nodes after detection and reconciliation. This assumes enough capacity and a workload that can safely move.

Conceptual example · explore each state
04 / Kubernetes

Traffic and data have their own design.

A Kubernetes Service provides a stable way to reach a changing set of Pods. An ingress or gateway layer can handle incoming application traffic. These are different responsibilities from deciding how many application copies should run.

A database needs more thought than duplicating its container. Replication, consistency, storage attachment and backups depend on the database and its operating design. Three web replicas cannot make a single database immune to failure. Map the complete dependency chain when deciding what availability means.

Reference: Kubernetes: overview
Traffic and data have their own design.
ConceptResponsibilityRemember
DeploymentMaintain application replicasReplicas need available capacity
ServiceGive Pods a stable access pointEndpoints can change underneath
Ingress / gatewayRoute incoming trafficNeeds its own controller and configuration
Persistent storageRetain application dataDurability and recovery need a design
05 / Kubernetes

Use a cluster when coordination earns its keep.

A small app on one VPS may be easier to operate with a simpler container setup. Kubernetes becomes worth evaluating when you need coordinated placement, multiple services, repeatable rollouts or a consistent way to manage workloads across machines.

Make the decision with your operating team. Who maintains the cluster? How are secrets, upgrades, logs and backups handled? Can the remaining nodes carry essential workloads during maintenance? An architecture is useful when your team can understand and recover it, not merely because it has more moving parts.

CLEAR UP THE DETAILS

Common questions.

Does Kubernetes replace Docker?

They address different parts of the workflow. Docker tools can build container images; Kubernetes runs workloads through a compatible container runtime. Kubernetes does not require Docker Engine.

Do three replicas guarantee high availability?

No. Placement, spare capacity, control-plane design, networking and stateful dependencies also matter. Three replicas on one machine still share that machine’s failure risk.

Is Kubernetes necessary for a new application?

No. Choose it when its coordination capabilities justify the additional operating complexity.

WHERE DOCKOCK FITS

Connect the concept to your work.

DOCKOCK brings server roles, application services and cluster routing into one project view, so you can understand where each workload belongs.

Explore kubernetes in DOCKOCK

Keep learning from the source.

Further reading from the teams and documentation behind these technologies.

Kubernetes: overviewKubernetes: PodsKubernetes: Deployments
CONTINUE EXPLORING

What does a domain do?

Follow a name from your browser to the application behind it.

Read the next guide