IT lexicon › Infra & Ops › Deployment

Deployment Kubernetes

Infra & Ops På svenska → Updated: 2026-07-29

The most common workload type in Kubernetes. You describe the desired state — this pod template, three replicas — and a controller makes reality match, including during updates.

Underneath it creates ReplicaSets, one per pod template version. On an update the new one scales up and the old one down according to maxSurge and maxUnavailable, giving a rolling rollout with no downtime provided the readiness probes are honest. Because old ReplicaSets are retained, kubectl rollout undo is an immediate revert. It suits stateless services where pods are interchangeable and their names irrelevant; if you need stable identity and per-replica storage, StatefulSet is the right object, and if something must run on every node, that's a DaemonSet.

← Back to the lexicon