diff --git a/manifests/opensearch/cluster.yaml b/manifests/opensearch/cluster.yaml index ca579ee..f4b0543 100644 --- a/manifests/opensearch/cluster.yaml +++ b/manifests/opensearch/cluster.yaml @@ -34,3 +34,14 @@ spec: limits: cpu: 500m memory: 1Gi + probes: + readiness: + command: + - /bin/bash + - -c + - curl -k -u "$(cat /mnt/admin-credentials/username):$(cat /mnt/admin-credentials/password)" --silent --fail 'https://localhost:9200' + startup: + command: + - /bin/bash + - -c + - curl -k -u "$(cat /mnt/admin-credentials/username):$(cat /mnt/admin-credentials/password)" --silent --fail 'https://localhost:9200'