Skip to content

Commit

Permalink
chore(elasticsearch): startup probe success if cluster is green
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka committed Nov 15, 2023
1 parent ffc520e commit 4910b8d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions k8s/helmfile/env/production/elasticsearch-1.values.yaml.gotmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
image:
registry: ghcr.io
repository: wbstack/elasticsearch
# TODO: Update with new Elasticsearch image
tag: 7.10.2-20231013-0

labels:
Expand Down Expand Up @@ -45,10 +46,15 @@ data:
accessModes: [ "ReadWriteOnce" ]
storageClass: "premium-rwo"
size: 50Gi
startupProbe:
enabled: true
customStartupProbe:
periodSeconds: 10
failureThreshold: 1440
initialDelaySeconds: 90
timeoutSeconds: 5
successThreshold: 1
exec:
command:
- /opt/bitnami/scripts/elasticsearch/healthcheck-cluster.sh

coordinating:
replicaCount: 0
Expand Down

0 comments on commit 4910b8d

Please sign in to comment.