Skip to content

The core resources

Pods are the atomic unit; Deployments manage Pods; Services give them a stable address; Ingresses route HTTP to Services.

Resource

What it represents

Managed by

Pod

One or more containers that share a network and storage namespace

You (rarely) or a controller

Deployment

Declarative rollout of N identical Pods, with rolling updates

Deployment controller

ReplicaSet

Ensures a stable number of Pod replicas

Deployment controller

Service

Stable virtual IP + DNS name load-balancing across Pods

Service controller + kube-proxy

Ingress

HTTP(S) routing from a hostname/path to a Service

Ingress controller

ConfigMap

Non-sensitive configuration injected into Pods

You

Secret

Sensitive configuration (base64-encoded) injected into Pods

You

Namespace

Logical partition of the cluster (quotas, RBAC scope)

You

PersistentVolume / PVC

Storage that outlives Pod restarts

StorageClass provisioner