Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spark Operator] Upgrade Spark Operator to v2.0.2 (Spark 3.5.2) #1046

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions stable/spark-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
apiVersion: v2
name: spark-operator
description: A Helm chart for Spark on Kubernetes operator
# Based on spark-operator-chart-1.1.19
version: 1.4.0
appVersion: v1beta2-1.3.6-3.1.1
description: A Helm chart for Spark on Kubernetes operator.
version: 2.0.2
appVersion: 2.0.2
keywords:
- spark
home: https://github.com/GoogleCloudPlatform/spark-on-k8s-operator
- apache spark
- big data
home: https://github.com/kubeflow/spark-operator
maintainers:
- name: yuchaoran2011
email: [email protected]
- name: yuchaoran2011
email: [email protected]
url: https://github.com/yuchaoran2011
- name: ChenYi015
email: [email protected]
url: https://github.com/ChenYi015
41 changes: 14 additions & 27 deletions stable/spark-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,36 +58,23 @@ spec:
containerPort: {{ .Values.metrics.port }}
{{ end }}
args:
- -v={{ .Values.logLevel }}
- -logtostderr
- -namespace={{ .Values.sparkJobNamespace }}
- -enable-ui-service={{ .Values.uiService.enable}}
- -ingress-url-format={{ .Values.ingressUrlFormat }}
- -controller-threads={{ .Values.controllerThreads }}
- -resync-interval={{ .Values.resyncInterval }}
- -enable-batch-scheduler={{ .Values.batchScheduler.enable }}
- -label-selector-filter={{ .Values.labelSelectorFilter }}
- controller
- start
- --namespaces={{ .Values.sparkJobNamespace }}
- --enable-ui-service={{ .Values.uiService.enable}}
- --ingress-url-format={{ .Values.ingressUrlFormat }}
- --controller-threads={{ .Values.controllerThreads }}
- --enable-batch-scheduler={{ .Values.batchScheduler.enable }}
{{- if .Values.metrics.enable }}
- -enable-metrics=true
- -metrics-labels=app_type
- -metrics-port={{ .Values.metrics.port }}
- -metrics-endpoint={{ .Values.metrics.endpoint }}
- -metrics-prefix={{ .Values.metrics.prefix }}
- --enable-metrics=true
- --metrics-labels=app_type
- --metrics-bind-address=:{{ .Values.metrics.port }}
- --metrics-endpoint={{ .Values.metrics.endpoint }}
{{- end }}
{{- if .Values.webhook.enable }}
- -enable-webhook=true
- -webhook-svc-namespace={{ .Release.Namespace }}
- -webhook-port={{ .Values.webhook.port }}
- -webhook-svc-name={{ include "spark-operator.fullname" . }}-webhook
- -webhook-config-name={{ .Release.Namespace }}-{{ include "spark-operator.fullname" . }}-webhook-config
- -webhook-namespace-selector={{ .Values.webhook.namespaceSelector }}
- -webhook-timeout={{ .Values.webhook.timeout }}
{{- end }}
- -enable-resource-quota-enforcement={{ .Values.resourceQuotaEnforcement.enable }}
{{- if gt (int .Values.replicaCount) 1 }}
- -leader-election=true
- -leader-election-lock-namespace={{ default .Release.Namespace .Values.leaderElection.lockNamespace }}
- -leader-election-lock-name={{ .Values.leaderElection.lockName }}
- --leader-election=true
- --leader-election-lock-namespace={{ default .Release.Namespace .Values.leaderElection.lockNamespace }}
- --leader-election-lock-name={{ .Values.leaderElection.lockName }}
{{- end }}
env:
- name: SPARK_USER
Expand Down
Loading