forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(health): spec.executor.instances is Optional, Support a flexible…
… number of executors (argoproj#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> Signed-off-by: Jimmy Neville <jimmyeneville@gmail.com>
- Loading branch information
1 parent
514776d
commit f230b2e
Showing
3 changed files
with
54 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...koperator.k8s.io/SparkApplication/testdata/healthy_dynamic_alloc_without_spec_config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: sparkoperator.k8s.io/v1beta2 | ||
kind: SparkApplication | ||
metadata: | ||
generation: 4 | ||
labels: | ||
argocd.argoproj.io/instance: spark-job | ||
name: spark-job-app | ||
namespace: spark-cluster | ||
resourceVersion: "31812990" | ||
uid: bfee52b0-74ca-4465-8005-f6643097ed64 | ||
spec: | ||
executor: {} | ||
status: | ||
applicationState: | ||
state: RUNNING | ||
driverInfo: | ||
podName: ingestion-datalake-news-app-driver | ||
webUIAddress: 172.20.207.161:4040 | ||
webUIPort: 4040 | ||
webUIServiceName: ingestion-datalake-news-app-ui-svc | ||
executionAttempts: 13 | ||
executorState: | ||
ingestion-datalake-news-app-1591613851251-exec-1: RUNNING | ||
ingestion-datalake-news-app-1591613851251-exec-2: RUNNING | ||
ingestion-datalake-news-app-1591613851251-exec-4: RUNNING | ||
ingestion-datalake-news-app-1591613851251-exec-5: RUNNING | ||
lastSubmissionAttemptTime: "2020-06-08T10:57:32Z" | ||
sparkApplicationId: spark-a5920b2a5aa04d22a737c60759b5bf82 | ||
submissionAttempts: 1 | ||
submissionID: 3e713ec8-9f6c-4e78-ac28-749797c846f0 | ||
terminationTime: null |