Procházet zdrojové kódy

Fix OpenSearch liveness probe (#9012)

### What problem does this PR solve?

Fix Kubernetes liveness probe on the OpenSearch container. The previous
HTTP probe received an 401 response from the OpenSearch API which
treated as a failure and caused the container to be restarted every 20
minutes.

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
tags/v0.20.0
Scott Davidson před 3 měsíci
rodič
revize
3eca9d3a5f
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 6 přidání a 5 odebrání
  1. 6
    5
      helm/templates/opensearch.yaml

+ 6
- 5
helm/templates/opensearch.yaml Zobrazit soubor

@@ -85,13 +85,14 @@ spec:
runAsUser: 1000
allowPrivilegeEscalation: false
livenessProbe:
httpGet:
path: /
port: 9201
exec:
command:
- sh
- -c
- curl -u admin:$OPENSEARCH_PASSWORD localhost:9201
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 10
failureThreshold: 120
failureThreshold: 6
volumes:
- name: opensearch-data
persistentVolumeClaim:

Načítá se…
Zrušit
Uložit