Skip to content

Commit

Permalink
fixing the indexer.podManagementPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
mzupan authored Oct 25, 2024
1 parent f19cb47 commit 6817c28
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/quickwit/templates/indexer-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
spec:
replicas: {{ .Values.indexer.replicaCount }}
serviceName: {{ include "quickwit.fullname" . }}-headless
{{- if .Values.searcher.podManagementPolicy }}
{{- if .Values.indexer.podManagementPolicy }}
podManagementPolicy: {{ .Values.indexer.podManagementPolicy }}
{{- end }}
selector:
Expand Down
10 changes: 10 additions & 0 deletions charts/quickwit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ searcher:
path: /health/readyz
port: rest

# StatefulSet allows you to relax its ordering guarantees
# - OrderedReady
# - Parallel
podManagementPolicy: OrderedReady

lifecycleHooks: {}
# preStop:
# exec:
Expand Down Expand Up @@ -186,6 +191,11 @@ indexer:
path: /health/readyz
port: rest

# StatefulSet allows you to relax its ordering guarantees
# - OrderedReady
# - Parallel
podManagementPolicy: OrderedReady

# Override args for starting container
args: []

Expand Down

0 comments on commit 6817c28

Please sign in to comment.