DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
spark-operator logoHELM

spark-operator

Helm chart
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# Copyright 2024 The Kubeflow Authors.
2
#
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
# you may not use this file except in compliance with the License.
5
# You may obtain a copy of the License at
6
#
7
# http://www.apache.org/licenses/LICENSE-2.0
8
#
9
# Unless required by applicable law or agreed to in writing, software
10
# distributed under the License is distributed on an "AS IS" BASIS,
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
# Default values for spark-operator.
16
# This is a YAML-formatted file.
17
# Declare variables to be passed into your templates.
18
19
# -- String to partially override release name.
20
nameOverride: ""
21
# -- String to fully override release name.
22
fullnameOverride: ""
23
# -- Common labels to add to the resources.
24
commonLabels: {}
25
# Public ConfigMap exposing the Spark Operator version to clients such as the Kubeflow SDK.
26
publicConfigMap:
27
# -- Specifies whether to create the `kubeflow-spark-public` ConfigMap, together with a Role and RoleBinding
28
# that let all authenticated users read it. Its name is fixed so that clients can find it,
29
# so enable it for only one Spark Operator release per target namespace.
30
create: false
31
# -- Namespace to create the ConfigMap, Role and RoleBinding in, e.g. `kube-public`. Defaults to the release namespace.
32
# The namespace must already exist and the installing user must be allowed to create these resources in it.
33
namespace: ""
34
# Image used by the Spark operator.
35
image:
36
# -- Image registry.
37
registry: cgr.dev
38
# -- Image repository.
39
repository: chainguard-private/spark-operator
40
# -- Image tag.
41
# @default -- If not set, the chart appVersion will be used.
42
tag: 2.6.0-r3@sha256:a57c4bedd175ba2a217b28cb58d2bcbf05f6e3354af4d170bf930c0387775f02
43
# -- Image pull policy.
44
pullPolicy: IfNotPresent
45
# -- Image pull secrets for private image registry.
46
pullSecrets: []
47
# - name: <secret-name>
48
# Helm hook configuration.
49
hook:
50
# -- Whether to create a Helm pre-install/pre-upgrade hook Job to update CRDs.
51
upgradeCrd: false
52
# Image used by the Helm hook Job.
53
image:
54
# -- Image registry.
55
registry: cgr.dev
56
# -- Image repository.
57
repository: chainguard-private/kubectl
58
# -- Image tag.
59
# @default -- If not set, the chart appVersion will be used.
60
tag: 1.37.3-r0@sha256:c912ad3f0c21d72422db5614e88ca8bd7967039116d95fb91c74162d1968a841
61
# -- Pod resource requests and limits for the Helm hook Job container.
62
resources:
63
requests:
64
cpu: 100m
65
memory: 64Mi
66
limits:
67
cpu: 100m
68
memory: 64Mi
69
# -- Node selector for the Helm hook Job.
70
nodeSelector: {}
71
# -- Affinity for the Helm hook Job.
72
affinity: {}
73
# -- List of node taints to tolerate for the Helm hook Job.
74
tolerations: []
75
# -- Extra labels for the Helm hook Job pod.
76
labels: {}
77
# key1: value1
78
# key2: value2
79
80
# -- Extra annotations for the Helm hook Job pod.
81
annotations: {}
82
# key1: value1
83
# key2: value2
84
controller:
85
# -- Number of replicas of controller.
86
replicas: 1
87
# -- Feature gates to enable or disable specific features.
88
featureGates:
89
- name: PartialRestart
90
enabled: false
91
- name: LoadSparkDefaults
92
enabled: false
93
- name: RestSubmitter
94
enabled: false
95
- name: DefaultTimeToLive
96
enabled: false
97
# -- The number of old history to retain to allow rollback.
98
revisionHistoryLimit: 10
99
leaderElection:
100
# -- Specifies whether to enable leader election for controller.
101
enable: true
102
# -- Leader election lease duration.
103
leaseDuration: 15s
104
# -- Leader election renew deadline.
105
renewDeadline: 10s
106
# -- Leader election retry period.
107
retryPeriod: 2s
108
# -- Reconcile concurrency, higher values might increase memory usage.
109
workers: 10
110
# -- Configure the verbosity of logging, can be one of `debug`, `info`, `error`.
111
logLevel: info
112
# -- Configure the encoder of logging, can be one of `console` or `json`.
113
logEncoder: console
114
# -- Grace period after a successful spark-submit when driver pod not found errors will be retried. Useful if the driver pod can take some time to be created.
115
driverPodCreationGracePeriod: 10s
116
# -- Specifies the maximum number of Executor pods that can be tracked by the controller per SparkApplication.
117
maxTrackedExecutorPerApp: 1000
118
# -- Default Time-To-Live (in seconds) applied to terminated SparkApplications that do not
119
# set spec.timeToLiveSeconds. Requires the DefaultTimeToLive feature gate to be enabled.
120
# 0 (default) disables it.
121
defaultTimeToLiveSeconds: 0
122
# -- Name of the service account used by the Spark driver pod and the Spark Connect server
123
# pod when neither the custom resource nor its pod template specifies one. Leave empty to
124
# disable the fallback, in which case the namespace's default service account is used. The
125
# service account must already exist in every namespace where Spark workloads are created;
126
# note that `spark.serviceAccount.create` only provisions accounts for the namespaces listed
127
# in `spark.jobNamespaces`.
128
defaultServiceAccount: ""
129
# -- Driver PDB feature gate. When true, the controller creates a PodDisruptionBudget for each SparkApplication that sets spec.driverPodDisruptionBudget=true. Default false.
130
driverPodDisruptionBudget:
131
enable: false
132
# -- Maximum QPS to the API server from the controller client.
133
kubeAPIQPS: 20
134
# -- Maximum burst for throttle from the controller client.
135
kubeAPIBurst: 30
136
# -- Timestamp precision for ScheduledSparkApplication run names.
137
# Valid values: nanos (default), micros, millis, seconds, minutes.
138
# Shorter precisions produce shorter names which helps with Kubernetes name length limits.
139
# NOTE: Using lower precisions such as "seconds" or "minutes" increases the risk of name
140
# collisions if multiple runs are created within the same time unit (for example during
141
# reconciliation loops or manual re-triggers). A collision will cause run creation to fail.
142
# Choose a precision compatible with your scheduling frequency: "minutes" is only suitable
143
# for jobs scheduled at most once per minute, "seconds" for jobs scheduled at most once per second.
144
scheduledSparkApplicationTimestampPrecision: nanos
145
uiService:
146
# -- Specifies whether to create service for Spark web UI.
147
enable: true
148
uiIngress:
149
# -- Specifies whether to create ingress for Spark web UI.
150
# `controller.uiService.enable` must be `true` to enable ingress.
151
enable: false
152
# -- Ingress URL format.
153
# Required if `controller.uiIngress.enable` is true.
154
urlFormat: ""
155
# -- Optionally set the ingressClassName.
156
ingressClassName: ""
157
# -- Optionally set default TLS configuration for the Spark UI's ingress. `ingressTLS` in the SparkApplication spec overrides this.
158
tls: []
159
# - hosts:
160
# - "*.example.com"
161
# secretName: "example-secret"
162
# -- Optionally set default ingress annotations for the Spark UI's ingress. `ingressAnnotations` in the SparkApplication spec overrides this.
163
annotations: {}
164
# key1: value1
165
# key2: value2
166
batchScheduler:
167
# -- Specifies whether to enable batch scheduler for spark jobs scheduling.
168
# If enabled, users can specify batch scheduler name in spark application.
169
enable: false
170
# -- Specifies a list of kube-scheduler names for scheduling Spark pods.
171
kubeSchedulerNames: []
172
# - default-scheduler
173
# -- Default batch scheduler to be used if not specified by the user.
174
# If specified, this value must be either "volcano" or "yunikorn". Specifying any other
175
# value will cause the controller to error on startup.
176
default: ""
177
serviceAccount:
178
# -- Specifies whether to create a service account for the controller.
179
create: true
180
# -- Optional name for the controller service account.
181
name: ""
182
# -- Extra annotations for the controller service account.
183
annotations: {}
184
# -- Auto-mount service account token to the controller pods.
185
automountServiceAccountToken: true
186
rbac:
187
# -- Specifies whether to create RBAC resources for the controller.
188
create: true
189
# -- Extra annotations for the controller RBAC resources.
190
annotations: {}
191
# -- Extra labels for controller pods.
192
labels: {}
193
# key1: value1
194
# key2: value2
195
196
# -- Extra annotations for controller pods.
197
annotations: {}
198
# key1: value1
199
# key2: value2
200
201
# -- Annotations for the controller Deployment resource (metadata.annotations).
202
deploymentAnnotations: {}
203
# key1: value1
204
# key2: value2
205
206
# -- Volumes for controller pods.
207
volumes:
208
# Create a tmp directory to write Spark artifacts to for deployed Spark apps.
209
- name: tmp
210
emptyDir:
211
sizeLimit: 1Gi
212
# -- Node selector for controller pods.
213
nodeSelector: {}
214
# -- Affinity for controller pods.
215
affinity: {}
216
# -- List of node taints to tolerate for controller pods.
217
tolerations: []
218
# -- Priority class for controller pods.
219
priorityClassName: ""
220
# -- Security context for controller pods.
221
podSecurityContext:
222
fsGroup: 185
223
# -- Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in.
224
# Ref: [Pod Topology Spread Constraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/).
225
# The labelSelector field in topology spread constraint will be set to the selector labels for controller pods if not specified.
226
topologySpreadConstraints: []
227
# - maxSkew: 1
228
# topologyKey: topology.kubernetes.io/zone
229
# whenUnsatisfiable: ScheduleAnyway
230
# - maxSkew: 1
231
# topologyKey: kubernetes.io/hostname
232
# whenUnsatisfiable: DoNotSchedule
233
234
# -- Whether to use user namespace or not
235
# Kubernetes version 1.30 for feature beta (1.33 for GA) or higher is required with support from OS and OCI runtime
236
# ref: https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/
237
hostUsers: null
238
# -- Environment variables for controller containers.
239
env: []
240
# -- Environment variable sources for controller containers.
241
envFrom: []
242
# -- Volume mounts for controller containers.
243
volumeMounts:
244
# Mount a tmp directory to write Spark artifacts to for deployed Spark apps.
245
- name: tmp
246
mountPath: "/tmp"
247
readOnly: false
248
# -- Pod resource requests and limits for controller containers.
249
# Note, that each job submission will spawn a JVM within the controller pods using "/usr/local/openjdk-11/bin/java -Xmx128m".
250
# Kubernetes may kill these Java processes at will to enforce resource limits. When that happens, you will see the following error:
251
# 'failed to run spark-submit for SparkApplication [...]: signal: killed' - when this happens, you may want to increase memory limits.
252
resources: {}
253
# limits:
254
# cpu: 100m
255
# memory: 300Mi
256
# requests:
257
# cpu: 100m
258
# memory: 300Mi
259
260
# -- Security context for controller containers.
261
securityContext:
262
readOnlyRootFilesystem: true
263
privileged: false
264
allowPrivilegeEscalation: false
265
runAsNonRoot: true
266
capabilities:
267
drop:
268
- ALL
269
seccompProfile:
270
type: RuntimeDefault
271
# -- Sidecar containers for controller pods.
272
sidecars: []
273
# Pod disruption budget for controller to avoid service degradation.
274
podDisruptionBudget:
275
# -- Specifies whether to create pod disruption budget for controller.
276
# Ref: [Specifying a Disruption Budget for your Application](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
277
enable: false
278
# -- The number of pods that must be available.
279
# Require `controller.replicas` to be greater than 1
280
minAvailable: 1
281
pprof:
282
# -- Specifies whether to enable pprof.
283
enable: false
284
# -- Specifies pprof port.
285
port: 6060
286
# -- Specifies pprof service port name.
287
portName: pprof
288
# Workqueue rate limiter configuration forwarded to the controller-runtime Reconciler.
289
workqueueRateLimiter:
290
# -- Specifies the average rate of items process by the workqueue rate limiter.
291
bucketQPS: 50
292
# -- Specifies the maximum number of items that can be in the workqueue at any given time.
293
bucketSize: 500
294
maxDelay:
295
# -- Specifies whether to enable max delay for the workqueue rate limiter.
296
# This is useful to avoid losing events when the workqueue is full.
297
enable: true
298
# -- Specifies the maximum delay duration for the workqueue rate limiter.
299
duration: 6h
300
# REST Submitter Service configuration.
301
# The submitter service itself is deployed separately (see submitter service repository).
302
# These values configure the controller's connection to the submitter.
303
# Enable via controller.featureGates RestSubmitter=true.
304
submitter:
305
# -- URL of the REST submitter service endpoint.
306
serviceUrl: http://spark-operator-submitter-svc:8080/api/v1/spark-submit
307
# -- HTTP request timeout per spark submission attempt.
308
requestTimeout: 2m
309
# -- How long the controller waits for the submitter service to become reachable at startup.
310
startupTimeout: 5m
311
# -- Max retry attempts for transient submission failures.
312
maxRetries: 3
313
# -- Initial backoff duration before the first retry. Doubles on each subsequent attempt.
314
initialBackoff: 2s
315
# Controller startup probe settings. Allows the controller to block during startup
316
# without being killed by liveness probe. Should cover startupTimeout.
317
startupProbe:
318
# -- Seconds between probe attempts.
319
periodSeconds: 5
320
# -- Number of failures before restart. (failureThreshold × periodSeconds) should >= startupTimeout.
321
failureThreshold: 60
322
webhook:
323
# -- Specifies whether to enable webhook.
324
enable: true
325
# -- Number of replicas of webhook server.
326
replicas: 1
327
# -- The number of old history to retain to allow rollback.
328
revisionHistoryLimit: 10
329
leaderElection:
330
# -- Specifies whether to enable leader election for webhook.
331
enable: true
332
# -- Leader election lease duration.
333
leaseDuration: 15s
334
# -- Leader election renew deadline.
335
renewDeadline: 10s
336
# -- Leader election retry period.
337
retryPeriod: 2s
338
# -- Configure the verbosity of logging, can be one of `debug`, `info`, `error`.
339
logLevel: info
340
# -- Configure the encoder of logging, can be one of `console` or `json`.
341
logEncoder: console
342
# -- Specifies webhook port.
343
port: 9443
344
# -- Specifies webhook service port name.
345
portName: webhook
346
# -- Specifies how unrecognized errors are handled.
347
# Available options are `Ignore` or `Fail`.
348
failurePolicy: Fail
349
# -- Specifies the timeout seconds of the webhook, the value must be between 1 and 30.
350
timeoutSeconds: 10
351
# -- Maximum QPS to the API server from the controller client.
352
kubeAPIQPS: 20
353
# -- Maximum burst for throttle from the controller client.
354
kubeAPIBurst: 30
355
resourceQuotaEnforcement:
356
# -- Specifies whether to enable the ResourceQuota enforcement for SparkApplication resources.
357
enable: false
358
serviceAccount:
359
# -- Specifies whether to create a service account for the webhook.
360
create: true
361
# -- Optional name for the webhook service account.
362
name: ""
363
# -- Extra annotations for the webhook service account.
364
annotations: {}
365
# -- Auto-mount service account token to the webhook pods.
366
automountServiceAccountToken: true
367
rbac:
368
# -- Specifies whether to create RBAC resources for the webhook.
369
create: true
370
# -- Extra annotations for the webhook RBAC resources.
371
annotations: {}
372
# -- Extra labels for webhook pods.
373
labels: {}
374
# key1: value1
375
# key2: value2
376
377
# -- Extra annotations for webhook pods.
378
annotations: {}
379
# key1: value1
380
# key2: value2
381
382
# -- Annotations for the webhook Deployment resource (metadata.annotations).
383
deploymentAnnotations: {}
384
# key1: value1
385
# key2: value2
386
387
# -- Sidecar containers for webhook pods.
388
sidecars: []
389
# -- Volumes for webhook pods.
390
volumes:
391
# Create a dir for the webhook to generate its certificates in.
392
- name: serving-certs
393
emptyDir:
394
sizeLimit: 500Mi
395
# -- Node selector for webhook pods.
396
nodeSelector: {}
397
# -- Affinity for webhook pods.
398
affinity: {}
399
# -- List of node taints to tolerate for webhook pods.
400
tolerations: []
401
# -- Priority class for webhook pods.
402
priorityClassName: ""
403
# -- Security context for webhook pods.
404
podSecurityContext:
405
fsGroup: 185
406
# -- Topology spread constraints rely on node labels to identify the topology domain(s) that each Node is in.
407
# Ref: [Pod Topology Spread Constraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/).
408
# The labelSelector field in topology spread constraint will be set to the selector labels for webhook pods if not specified.
409
topologySpreadConstraints: []
410
# - maxSkew: 1
411
# topologyKey: topology.kubernetes.io/zone
412
# whenUnsatisfiable: ScheduleAnyway
413
# - maxSkew: 1
414
# topologyKey: kubernetes.io/hostname
415
# whenUnsatisfiable: DoNotSchedule
416
417
# -- Whether to use user namespace or not
418
# Kubernetes version 1.30 for feature beta (1.33 for GA) or higher is required with support from OS and OCI runtime
419
# ref: https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/
420
hostUsers: null
421
# -- Environment variables for webhook containers.
422
env: []
423
# -- Environment variable sources for webhook containers.
424
envFrom: []
425
# -- Volume mounts for webhook containers.
426
volumeMounts:
427
# Mount a dir for the webhook to generate its certificates in.
428
- name: serving-certs
429
mountPath: /etc/k8s-webhook-server/serving-certs
430
subPath: serving-certs
431
readOnly: false
432
# -- Pod resource requests and limits for webhook pods.
433
resources: {}
434
# limits:
435
# cpu: 100m
436
# memory: 300Mi
437
# requests:
438
# cpu: 100m
439
# memory: 300Mi
440
441
# -- Security context for webhook containers.
442
securityContext:
443
readOnlyRootFilesystem: true
444
privileged: false
445
allowPrivilegeEscalation: false
446
runAsNonRoot: true
447
capabilities:
448
drop:
449
- ALL
450
seccompProfile:
451
type: RuntimeDefault
452
# Pod disruption budget for webhook to avoid service degradation.
453
podDisruptionBudget:
454
# -- Specifies whether to create pod disruption budget for webhook.
455
# Ref: [Specifying a Disruption Budget for your Application](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
456
enable: false
457
# -- The number of pods that must be available.
458
# Require `webhook.replicas` to be greater than 1
459
minAvailable: 1
460
spark:
461
# -- List of namespaces where to run spark jobs.
462
# If empty string is included, all namespaces will be allowed.
463
# Namespaces specified here will be watched in addition to those matching jobNamespaceSelector.
464
# Make sure the namespaces have already existed.
465
jobNamespaces:
466
- default
467
# -- (object) Namespace label selector, in addition to jobNamespaces. Object with matchLabels and/or
468
# matchExpressions; the string form was removed in v2.6.0. When set alongside jobNamespaces,
469
# each webhook is registered twice (names, then labels).
470
jobNamespaceSelector: null
471
# jobNamespaceSelector:
472
# matchLabels:
473
# spark: enabled
474
# Spark RBAC covers jobNamespaces only; create it yourself for label-selected namespaces.
475
476
serviceAccount:
477
# -- Specifies whether to create a service account for spark applications.
478
create: true
479
# -- Optional name for the spark service account.
480
name: ""
481
# -- Optional annotations for the spark service account.
482
annotations: {}
483
# -- Auto-mount service account token to the spark applications pods.
484
automountServiceAccountToken: true
485
rbac:
486
# -- Specifies whether to create RBAC resources for spark applications.
487
create: true
488
# -- Optional annotations for the spark application RBAC resources.
489
annotations: {}
490
prometheus:
491
metrics:
492
# -- Specifies whether to enable prometheus metrics scraping.
493
enable: true
494
# -- Metrics port.
495
port: 8080
496
# -- Metrics port name.
497
portName: metrics
498
# -- Metrics serving endpoint.
499
endpoint: /metrics
500
# -- Metrics prefix, will be added to all exported metrics.
501
prefix: ""
502
# -- Job Submit Latency histogram buckets. Specified in seconds.
503
jobSubmitLatencyBuckets: "0.5,1,2,4,8,16,32,64,128,256"
504
# -- Job Start Latency histogram buckets. Specified in seconds.
505
jobStartLatencyBuckets: "30,60,90,120,150,180,210,240,270,300"
506
# -- Labels to be added to the Spark Operator standard metrics, e.g., "label1Key,label2Key".
507
# Defaults to 'app_type' if not set.
508
labels: ""
509
# Prometheus pod monitor for controller pods
510
podMonitor:
511
# -- Specifies whether to create pod monitor.
512
# Note that prometheus metrics should be enabled as well.
513
create: false
514
# -- Pod monitor labels
515
labels: {}
516
# -- The label to use to retrieve the job name from
517
jobLabel: spark-operator-podmonitor
518
# -- Prometheus metrics endpoint properties. `metrics.portName` will be used as a port
519
podMetricsEndpoint:
520
scheme: http
521
interval: 5s
522
certManager:
523
# -- Specifies whether to use [cert-manager](https://cert-manager.io) to generate certificate for webhook.
524
# `webhook.enable` must be set to `true` to enable cert-manager.
525
enable: false
526
# -- The reference to the issuer.
527
# @default -- A self-signed issuer will be created and used if not specified.
528
issuerRef: {}
529
# group: cert-manager.io
530
# kind: ClusterIssuer
531
# name: selfsigned
532
# -- The duration of the certificate validity (e.g. `2160h`).
533
# See [cert-manager.io/v1.Certificate](https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.Certificate).
534
# @default -- `2160h` (90 days) will be used if not specified.
535
duration: ""
536
# -- The duration before the certificate expiration to renew the certificate (e.g. `720h`).
537
# See [cert-manager.io/v1.Certificate](https://cert-manager.io/docs/reference/api-docs/#cert-manager.io/v1.Certificate).
538
# @default -- 1/3 of issued certificate’s lifetime.
539
renewBefore: ""
540

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.