sajad torkamani

Workload resources

These define how your applications run.

ResourcePurpose
PodSmallest deployable unit — one or more containers.
DeploymentManages stateless apps, supports rolling updates.
StatefulSetManages stateful apps that need stable identity/storage.
DaemonSetEnsures one pod runs on every node (or a subset).
JobRuns a task once and exits when done.
CronJobSchedules Jobs to run at specific times, like a cron task.
ReplicaSetKeeps a set number of pod replicas running (used by Deployments).

Networking resources

These manage communication within and outside the cluster.

ResourcePurpose
ServiceGives stable network access to a set of pods.
IngressRoutes external HTTP/HTTPS traffic to Services (via URL/path/host rules).
NetworkPolicyControls which pods can talk to each other (firewall-like rules).

Storage resources

These define how pods store and access data.

ResourcePurpose
PersistentVolume (PV)Represents actual storage (e.g., disk, cloud volume).
PersistentVolumeClaim (PVC)A pod’s request for storage.
StorageClassDefines how volumes are dynamically provisioned (e.g., SSD vs HDD).
VolumeMounts a storage backend into a pod (ephemeral or persistent).

Configuration resources

These store config or secrets separate from application code.

ResourcePurpose
ConfigMapStores plain text configuration (e.g., env variables, config files).
SecretStores sensitive data like passwords or API keys (base64 encoded).
Tagged: Kubernetes