mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-30 14:56:59 +00:00
* feat: add health-checks for eck elastic beat Signed-off-by: ebuildy <[email protected]> * fix tests Signed-off-by: ebuildy <[email protected]> --------- Signed-off-by: ebuildy <[email protected]>
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
tests:
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "Elastic Beat status is Green"
|
|
inputPath: testdata/ready_green.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Elastic Beat phase is progressing"
|
|
inputPath: testdata/ready_yellow_single_node.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Elastic Beat status is deploying, there is 1 instance(s) on 2 expected"
|
|
inputPath: testdata/ready_yellow.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Elastic Beat phase is progressing"
|
|
inputPath: testdata/progressing.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Elastic Beat status is Red"
|
|
inputPath: testdata/ready_red.yaml
|
|
- healthStatus:
|
|
status: Unknown
|
|
message: "Elastic Beat 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
|
|
- healthStatus:
|
|
status: Unknown
|
|
message: "Elastic Beat 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/invalid.yaml
|