Possible values for "Phase" field for elasticSearch resource

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

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?

Hi @x00m, thanks for your question.

The possible values are below and the relevant source code is available as well.

	// 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

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