# Possible values for "Phase" field for elasticSearch resource

**URL:** <https://discuss.elastic.co/t/possible-values-for-phase-field-for-elasticsearch-resource/286455>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [October 12, 2021, 9:12am UTC](https://discuss.elastic.co/t/possible-values-for-phase-field-for-elasticsearch-resource/286455 "2021-10-12T09:12:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![x00m](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@x00m](https://discuss.elastic.co/u/x00m)\
**Post date:** [October 12, 2021, 9:12am UTC](https://discuss.elastic.co/t/possible-values-for-phase-field-for-elasticsearch-resource/286455/1 "2021-10-12T09:12:31Z")

</div>

After an Elasticsearch instance is created, I do a kubectl get Elasticsearch to get the status and I get the following output:

```auto
NAME HEALTH NODES VERSION PHASE AGE
quickstart green 3 7.11.2 Ready 17h

```

As you see the Phase is "Ready"

What are the other possible values for the fields Health and Phase?

---

<div class="post-metadata">

**Author:** ![dkow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dkow/32/47340_2.png) [@dkow](https://discuss.elastic.co/u/dkow)\
**Post date:** [October 13, 2021, 5:01am UTC](https://discuss.elastic.co/t/possible-values-for-phase-field-for-elasticsearch-resource/286455/2 "2021-10-13T05:01:21Z")

</div>

Hi @x00m, thanks for your question.

The possible values are below and the [relevant source code](https://github.com/elastic/cloud-on-k8s/blob/151a3598e2ef2858245742de3baf2974d37c6c16/pkg/apis/elasticsearch/v1/elasticsearch_types.go#L397) is available as well.

```auto
	// ElasticsearchReadyPhase is operating at the desired spec.
	ElasticsearchReadyPhase ElasticsearchOrchestrationPhase = "Ready"
	// ElasticsearchApplyingChangesPhase controller is working towards a desired state, cluster can be unavailable.
	ElasticsearchApplyingChangesPhase ElasticsearchOrchestrationPhase = "ApplyingChanges"
	// ElasticsearchMigratingDataPhase Elasticsearch is currently migrating data to another node.
	ElasticsearchMigratingDataPhase ElasticsearchOrchestrationPhase = "MigratingData"
	// ElasticsearchResourceInvalid is marking a resource as invalid, should never happen if admission control is installed correctly.
	ElasticsearchResourceInvalid ElasticsearchOrchestrationPhase = "Invalid"

```

Thanks,  
David

---

<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:** [November 10, 2021, 5:02am UTC](https://discuss.elastic.co/t/possible-values-for-phase-field-for-elasticsearch-resource/286455/3 "2021-11-10T05:02:13Z")

</div>

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