mirror of
https://github.com/hanzoai/deploy.git
synced 2026-11-02 23:02:25 +00:00
* fix: health-checks for Elasticsearch Signed-off-by: Thomas Decaux <[email protected]> Signed-off-by: ebuildy <[email protected]> * fix tests Signed-off-by: ebuildy <[email protected]> --------- Signed-off-by: Thomas Decaux <[email protected]> Signed-off-by: ebuildy <[email protected]>
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
tests:
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "Elasticsearch Cluster status is Green"
|
|
inputPath: testdata/ready_green.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Elasticsearch Cluster status is Yellow. Check the status of indices, replicas and shards"
|
|
inputPath: testdata/ready_yellow.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Elasticsearch Cluster status is Red. Check the status of indices, replicas and shards"
|
|
inputPath: testdata/ready_red.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Elasticsearch phase is ApplyingChanges"
|
|
inputPath: testdata/applyingchanges.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Elasticsearch phase is MigratingData"
|
|
inputPath: testdata/migratingdata.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Elasticsearch phase is Invalid"
|
|
inputPath: testdata/invalid.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "The desired amount of availableNodes is 5 but the current amount is 3"
|
|
inputPath: testdata/progressing.yaml
|
|
- healthStatus:
|
|
status: Unknown
|
|
message: "Elasticsearch Cluster status is unknown. Ensure your ArgoCD is current and then check for/file a bug report: https://github.com/argoproj/argo-cd/issues"
|
|
inputPath: testdata/unknown.yaml
|