Skip to content

Commit

Permalink
Add pod management policy for indexers and searchers.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassot committed Nov 29, 2023
1 parent 40dd868 commit deba352
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/quickwit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: quickwit
description: Sub-second search & analytics engine on cloud storage.
type: application
version: 0.5.0
version: 0.5.1
appVersion: "v0.6.4"
keywords:
- quickwit
Expand Down
3 changes: 3 additions & 0 deletions charts/quickwit/templates/indexer-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
spec:
replicas: {{ .Values.indexer.replicaCount }}
serviceName: {{ include "quickwit.fullname" . }}-headless
{{- if .Values.searcher.podManagementPolicy }}
podManagementPolicy: {{ .Values.indexer.podManagementPolicy }}
{{- end }}
selector:
matchLabels:
{{- include "quickwit.indexer.selectorLabels" . | nindent 6 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/quickwit/templates/searcher-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
spec:
replicas: {{ .Values.searcher.replicaCount }}
serviceName: {{ include "quickwit.fullname" . }}-headless
{{- if .Values.searcher.podManagementPolicy }}
podManagementPolicy: {{ .Values.searcher.podManagementPolicy }}
{{- end }}
selector:
matchLabels:
{{- include "quickwit.searcher.selectorLabels" . | nindent 6 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/quickwit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ searcher:
# maxUnavailable: 1
# minAvailable: 2

# podManagementPolicy: OrderedReady

persistentVolume:
enabled: false
# storage: "1Gi"
Expand Down Expand Up @@ -109,6 +111,8 @@ indexer:
# maxUnavailable: 1
# minAvailable: 2

# podManagementPolicy: OrderedReady

updateStrategy: {}
# type: RollingUpdate

Expand Down

0 comments on commit deba352

Please sign in to comment.