Files
Thomas DecauxandGitHub c2f62036cd feat: add health-checks for Percona XtraDB cluster (#13093)
* feat: Add health-checks for Percona XtraDB cluster

Signed-off-by: Thomas Decaux <[email protected]>
Signed-off-by: ebuildy <[email protected]>

* add tests

Signed-off-by: ebuildy <[email protected]>

---------

Signed-off-by: Thomas Decaux <[email protected]>
Signed-off-by: ebuildy <[email protected]>
2023-05-27 21:27:21 -04:00

26 lines
808 B
YAML

tests:
- healthStatus:
status: Progressing
message: "0/1 node(s) are ready"
inputPath: testdata/initializing.yaml
- healthStatus:
status: Healthy
message: "1/1 node(s) are ready"
inputPath: testdata/ready.yaml
- healthStatus:
status: Unknown
message: "Cluster is paused"
inputPath: testdata/paused.yaml
- healthStatus:
status: Degraded
message: "Cluster is stopping (1/2 node(s) are ready)"
inputPath: testdata/stopping.yaml
- healthStatus:
status: Degraded
message: "Cluster is on error: we lost node"
inputPath: testdata/error.yaml
- healthStatus:
status: Unknown
message: "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