Kubernetes resources
30 May 2025 (Updated 1 June 2025)
Workload resources
These define how your applications run.
| Resource | Purpose |
|---|---|
| Pod | Smallest deployable unit — one or more containers. |
| Deployment | Manages stateless apps, supports rolling updates. |
| StatefulSet | Manages stateful apps that need stable identity/storage. |
| DaemonSet | Ensures one pod runs on every node (or a subset). |
| Job | Runs a task once and exits when done. |
| CronJob | Schedules Jobs to run at specific times, like a cron task. |
| ReplicaSet | Keeps a set number of pod replicas running (used by Deployments). |
Networking resources
These manage communication within and outside the cluster.
| Resource | Purpose |
|---|---|
| Service | Gives stable network access to a set of pods. |
| Ingress | Routes external HTTP/HTTPS traffic to Services (via URL/path/host rules). |
| NetworkPolicy | Controls which pods can talk to each other (firewall-like rules). |
Storage resources
These define how pods store and access data.
| Resource | Purpose |
|---|---|
| PersistentVolume (PV) | Represents actual storage (e.g., disk, cloud volume). |
| PersistentVolumeClaim (PVC) | A pod’s request for storage. |
| StorageClass | Defines how volumes are dynamically provisioned (e.g., SSD vs HDD). |
| Volume | Mounts a storage backend into a pod (ephemeral or persistent). |
Configuration resources
These store config or secrets separate from application code.
Tagged:
Kubernetes