Workload types
base-chart supports three workload types, selected via the top-level type key.
Deployment
The default type. Use for stateless services.
type: Deployment
replicaCount: 2
Supports: Service, Ingress, Route, HPA, KEDA ScaledObject, PDB, Certificate.
StatefulSet
Use for workloads that need stable network identities or persistent storage (databases, message brokers).
replicaCount: 3
serviceName: my-headless-svc # optional, defaults to workload name
podManagementPolicy: OrderedReady # or Parallel
Since v1.2.0 — the governing Service is headless by default (clusterIP: None), giving each pod a stable DNS name (pod-0.svc.namespace.svc.cluster.local). To opt out, set service.headless: false explicitly.
Supports: Service (including headless), Ingress, Route, PDB, Certificate, volume claim templates.
CronJob
Use for scheduled tasks.
type: CronJob
schedule: "0 */6 * * *"
Supports: KEDA ScaledJob.