diff --git a/charts/bee/templates/statefulset.yaml b/charts/bee/templates/statefulset.yaml index cd81ce3..5bcdba4 100644 --- a/charts/bee/templates/statefulset.yaml +++ b/charts/bee/templates/statefulset.yaml @@ -8,6 +8,7 @@ metadata: {{- include "bee.labels" . | nindent 4 }} spec: serviceName: {{ include "bee.fullname" . }}-headless + podManagementPolicy: {{ .Values.podManagementPolicy }} replicas: {{ .Values.replicaCount }} updateStrategy: {{- toYaml .Values.updateStrategy | nindent 4 }} diff --git a/charts/bee/values.yaml b/charts/bee/values.yaml index e07b33f..1591f21 100644 --- a/charts/bee/values.yaml +++ b/charts/bee/values.yaml @@ -19,6 +19,11 @@ serviceAccount: ## if not set and create is true, a name is generated using the fullname template name: +## StatefulSet's ordering guarantees: OrderedReady or Parallel +## OrderedReady - launches or terminates all pods in ordered way +## Parallel - launches or terminates all pods in parallel +podManagementPolicy: OrderedReady + ## Bee process inside container is run with gid/uid 999 ## fsGroup=999 enables mounting external volumes with appropriate permissions podSecurityContext: