diff --git a/helm/templates/opensearch.yaml b/helm/templates/opensearch.yaml index 889a634b7..cb721e097 100644 --- a/helm/templates/opensearch.yaml +++ b/helm/templates/opensearch.yaml @@ -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: