Skip to content

Commit 6ba4c82

Browse files
authored
[Spark Operator] Upgrade Spark Operator to v2.0.2 (Spark 3.5.2) (#1046)
1 parent 4dc3415 commit 6ba4c82

File tree

2 files changed

+26
-35
lines changed

2 files changed

+26
-35
lines changed

stable/spark-operator/Chart.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
apiVersion: v2
22
name: spark-operator
3-
description: A Helm chart for Spark on Kubernetes operator
4-
# Based on spark-operator-chart-1.1.19
5-
version: 1.4.0
6-
appVersion: v1beta2-1.3.6-3.1.1
3+
description: A Helm chart for Spark on Kubernetes operator.
4+
version: 2.0.2
5+
appVersion: 2.0.2
76
keywords:
8-
- spark
9-
home: https://github.com/GoogleCloudPlatform/spark-on-k8s-operator
7+
- apache spark
8+
- big data
9+
home: https://github.com/kubeflow/spark-operator
1010
maintainers:
11-
- name: yuchaoran2011
12-
email: yuchaoran2011@gmail.com
11+
- name: yuchaoran2011
12+
email: yuchaoran2011@gmail.com
13+
url: https://github.com/yuchaoran2011
14+
- name: ChenYi015
15+
email: github@chenyicn.net
16+
url: https://github.com/ChenYi015

stable/spark-operator/templates/deployment.yaml

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,36 +58,23 @@ spec:
5858
containerPort: {{ .Values.metrics.port }}
5959
{{ end }}
6060
args:
61-
- -v={{ .Values.logLevel }}
62-
- -logtostderr
63-
- -namespace={{ .Values.sparkJobNamespace }}
64-
- -enable-ui-service={{ .Values.uiService.enable}}
65-
- -ingress-url-format={{ .Values.ingressUrlFormat }}
66-
- -controller-threads={{ .Values.controllerThreads }}
67-
- -resync-interval={{ .Values.resyncInterval }}
68-
- -enable-batch-scheduler={{ .Values.batchScheduler.enable }}
69-
- -label-selector-filter={{ .Values.labelSelectorFilter }}
61+
- controller
62+
- start
63+
- --namespaces={{ .Values.sparkJobNamespace }}
64+
- --enable-ui-service={{ .Values.uiService.enable}}
65+
- --ingress-url-format={{ .Values.ingressUrlFormat }}
66+
- --controller-threads={{ .Values.controllerThreads }}
67+
- --enable-batch-scheduler={{ .Values.batchScheduler.enable }}
7068
{{- if .Values.metrics.enable }}
71-
- -enable-metrics=true
72-
- -metrics-labels=app_type
73-
- -metrics-port={{ .Values.metrics.port }}
74-
- -metrics-endpoint={{ .Values.metrics.endpoint }}
75-
- -metrics-prefix={{ .Values.metrics.prefix }}
69+
- --enable-metrics=true
70+
- --metrics-labels=app_type
71+
- --metrics-bind-address=:{{ .Values.metrics.port }}
72+
- --metrics-endpoint={{ .Values.metrics.endpoint }}
7673
{{- end }}
77-
{{- if .Values.webhook.enable }}
78-
- -enable-webhook=true
79-
- -webhook-svc-namespace={{ .Release.Namespace }}
80-
- -webhook-port={{ .Values.webhook.port }}
81-
- -webhook-svc-name={{ include "spark-operator.fullname" . }}-webhook
82-
- -webhook-config-name={{ .Release.Namespace }}-{{ include "spark-operator.fullname" . }}-webhook-config
83-
- -webhook-namespace-selector={{ .Values.webhook.namespaceSelector }}
84-
- -webhook-timeout={{ .Values.webhook.timeout }}
85-
{{- end }}
86-
- -enable-resource-quota-enforcement={{ .Values.resourceQuotaEnforcement.enable }}
8774
{{- if gt (int .Values.replicaCount) 1 }}
88-
- -leader-election=true
89-
- -leader-election-lock-namespace={{ default .Release.Namespace .Values.leaderElection.lockNamespace }}
90-
- -leader-election-lock-name={{ .Values.leaderElection.lockName }}
75+
- --leader-election=true
76+
- --leader-election-lock-namespace={{ default .Release.Namespace .Values.leaderElection.lockNamespace }}
77+
- --leader-election-lock-name={{ .Values.leaderElection.lockName }}
9178
{{- end }}
9279
env:
9380
- name: SPARK_USER

0 commit comments

Comments
 (0)