argo-cd/resource_customizations/sparkoperator.k8s.io/SparkApplication/health_test.yaml
Philipp Dallig d58b6e62c2
fix(health): spec.executor.instances is Optional, Support a flexible number of executors (#11877)
Support a flexible number of executors. For example with a mounted ConfigMap inside the Spark-Operator.

Signed-off-by: Philipp Dallig <philipp.dallig@gmail.com>
2023-08-14 09:57:02 -04:00

29 lines
901 B
YAML

tests:
- healthStatus:
status: Progressing
message: "SparkApplication is Pending Rerun"
inputPath: testdata/progressing.yaml
- healthStatus:
status: Degraded
message: "Job Failed"
inputPath: testdata/degraded.yaml
- healthStatus:
status: Healthy
message: "SparkApplication is Running"
inputPath: testdata/healthy.yaml
- healthStatus:
status: Healthy
message: "SparkApplication is Running"
inputPath: testdata/healthy_dynamic_alloc.yaml
- healthStatus:
status: Healthy
message: "SparkApplication is Running"
inputPath: testdata/healthy_dynamic_alloc_dstream.yaml
- healthStatus:
status: Healthy
message: "SparkApplication is Running"
inputPath: testdata/healthy_dynamic_alloc_operator_api.yaml
- healthStatus:
status: Healthy
message: "SparkApplication is Running"
inputPath: testdata/healthy_dynamic_alloc_without_spec_config.yaml