# clusterHealthCheckParams failing in readiness probe on startup

**URL:** <https://discuss.elastic.co/t/clusterhealthcheckparams-failing-in-readiness-probe-on-startup/236726>\
**Category:** Elasticsearch\
**Created:** [June 11, 2020, 2:45pm UTC](https://discuss.elastic.co/t/clusterhealthcheckparams-failing-in-readiness-probe-on-startup/236726 "2020-06-11T14:45:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a3984](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@a3984](https://discuss.elastic.co/u/a3984)\
**Post date:** [June 11, 2020, 2:45pm UTC](https://discuss.elastic.co/t/clusterhealthcheckparams-failing-in-readiness-probe-on-startup/236726/1 "2020-06-11T14:45:20Z")

</div>

I am trying to deploy elasticsearch with xpack security enabled but when i use the official helm charts, i get an error with "wait for status green". I have tried a "wait for status yellow" and get the same error and I have also tried "local=true" to see whether that gets rid of the error but that doesn't work either.

Does anyone have any ideas what the problems might be?

Secondly, at the top of the values.yaml file, there are 3 settings

> clusterName: "enerlytics-ops"  
> nodeGroup: "elasticsearch"
> 
> > The service that non master groups will try to connect to when joining the cluster  
> > This should be set to clusterName + "-" + nodeGroup for your master group  
> > masterService: "enerlytics-ops-elasticsearch"

If these are incorrect, could they be linked to the problem - however, if I have xpack security disabled it all seems to work OK. What might the problem be?

is **clusterName** the name of the full K8s cluster that I am installing elasticsearch on as it isn't on its own cluster, it is part of a bigger cluster.

Any help would be greatly appreciated to an elasticsearch novice...

Many thanks

Al

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 9, 2020, 2:45pm UTC](https://discuss.elastic.co/t/clusterhealthcheckparams-failing-in-readiness-probe-on-startup/236726/2 "2020-07-09T14:45:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
