Skip to main content

Pod Management Policy

Artifact Hub

The podManagementPolicy option expects a string which sets the podManagementPolicy Kubernetes attribute for StatefulSets.

Default Value For podManagementPolicy

podManagementPolicy: OrderedReady

Example: Set Pod Management Policy

containers:
- image: john/appbackend
podManagementPolicy: Parallel

serviceName

The serviceName option is used for StatefulSets and expects a string with the headless service name.

note

This is different from service.name, which sets the name of the Service resource. This top-level serviceName only affects the StatefulSet's spec.serviceName field.

If serviceName is not set, the chart uses [HELM_RELEASE_NAME]-headless.

Example: Custom Headless Service Name

containers:
- image: john/appbackend
serviceName: my-app