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

kuberay-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
# Default values for kuberay-operator.
2
# This is a YAML-formatted file.
3
# Declare variables to be passed into your templates.
4
5
# -- String to partially override release name.
6
nameOverride: kuberay-operator
7
# -- String to fully override release name.
8
fullnameOverride: kuberay-operator
9
# -- String to override component name.
10
componentOverride: kuberay-operator
11
# -- Number of replicas for the KubeRay operator Deployment.
12
replicas: 1
13
image:
14
# -- Image repository.
15
repository: cgr.dev/chainguard-private/kuberay-operator
16
# -- Image tag.
17
tag: 1.8.0-r0@sha256:9308414717cac37c506a946de7db02f69ebdb41fe88dc40464a32e63c8a41404
18
# -- Image pull policy.
19
pullPolicy: IfNotPresent
20
# -- Secrets with credentials to pull images from a private registry
21
imagePullSecrets: []
22
# -- Restrict to run on particular nodes.
23
nodeSelector: {}
24
# -- Pod priorityClassName
25
priorityClassName: ""
26
# -- Extra labels.
27
labels: {}
28
# -- Extra annotations.
29
annotations: {}
30
# -- Pod affinity
31
affinity: {}
32
# -- Pod tolerations
33
tolerations: []
34
serviceAccount:
35
# -- Specifies whether a service account should be created.
36
create: true
37
# -- The name of the service account to use.
38
# If not set and create is true, a name is generated using the fullname template.
39
name: kuberay-operator
40
logging:
41
# -- Log encoder to use for stdout (one of `json` or `console`).
42
stdoutEncoder: json
43
# -- Log encoder to use for file logging (one of `json` or `console`).
44
fileEncoder: json
45
# -- Directory for kuberay-operator log file.
46
baseDir: ""
47
# -- File name for kuberay-operator log file.
48
fileName: ""
49
# -- EmptyDir volume size limit for kuberay-operator log file.
50
sizeLimit: ""
51
# Enable customized Kubernetes scheduler integration. If enabled, Ray workloads will be scheduled
52
# by the customized scheduler.
53
# * "enabled" is the legacy option and will be deprecated soon.
54
# * "name" is the standard option, expecting a scheduler name, supported values are
55
# "default", "volcano", "yunikorn", and "scheduler-plugins".
56
#
57
# Note: "enabled" and "name" should not be set at the same time. If both are set, an error will be thrown.
58
#
59
# Examples:
60
# 1. Use volcano (deprecated)
61
# batchScheduler:
62
# enabled: true
63
#
64
# 2. Use volcano
65
# batchScheduler:
66
# name: volcano
67
#
68
# 3. Use yunikorn
69
# batchScheduler:
70
# name: yunikorn
71
#
72
# 4. Use PodGroup
73
# batchScheduler:
74
# name: scheduler-plugins
75
76
# 5. Use Kai Scheduler
77
# batchScheduler:
78
# name: kai-scheduler
79
batchScheduler:
80
# Deprecated. This option will be removed in the future.
81
# Note, for backwards compatibility. When it sets to true, it enables volcano scheduler integration.
82
enabled: false
83
# Set the customized scheduler name, supported values are "volcano", "yunikorn", "kai-scheduler" or "scheduler-plugins", do not set
84
# "batchScheduler.enabled=true" at the same time as it will override this option.
85
name: ""
86
# Configuration for the KubeRay operator.
87
configuration:
88
# -- Whether to enable the configuration feature. If enabled, a ConfigMap will be created and mounted to the operator.
89
# When enabled, flag-based configuration values (leaderElectionEnabled, metrics.enabled, kubeClient.qps, etc.)
90
# will be injected into the ConfigMap. The operator will use the ConfigMap and ignore command-line flags.
91
enabled: false
92
# -- Default environment variables to inject into all Ray containers in all RayCluster CRs.
93
# This allows user to set feature flags across all Ray pods.
94
# Example:
95
# defaultContainerEnvs:
96
# - name: RAY_enable_open_telemetry
97
# value: "true"
98
# - name: RAY_metric_cardinality_level
99
# value: "recommended"
100
defaultContainerEnvs: []
101
# -- Default annotations to add to all Ray pod templates.
102
# User-specified annotations take precedence.
103
# Example:
104
# defaultPodAnnotations:
105
# prometheus.io/scrape: "true"
106
# prometheus.io/port: "8080"
107
defaultPodAnnotations: {}
108
# -- Default labels to add to all Ray pod templates.
109
# User-specified labels take precedence.
110
# Example:
111
# defaultPodLabels:
112
# app.kubernetes.io/managed-by: kuberay
113
defaultPodLabels: {}
114
# -- Sidecar containers to inject into every Ray head pod.
115
# Example:
116
# headSidecarContainers:
117
# - name: fluentbit
118
# image: fluent/fluent-bit:1.9
119
headSidecarContainers: []
120
# -- Sidecar containers to inject into every Ray worker pod.
121
# Example:
122
# workerSidecarContainers:
123
# - name: fluentbit
124
# image: fluent/fluent-bit:1.9
125
workerSidecarContainers: []
126
# -- Node label keys worker groups may deliver as Ray node labels through workerGroupSpecs[].labelRefs.
127
# Enforced by the validating webhooks, so it requires ENABLE_WEBHOOKS to be enabled. Empty disables delivery.
128
# Example:
129
# allowedNodeLabels:
130
# - nvidia.com/gpu.clique
131
# - topology.kubernetes.io/zone
132
allowedNodeLabels: []
133
# Admission webhooks: validating webhooks for RayCluster, RayJob and RayService, and the pod mutating webhooks
134
# that deliver node labels to Ray workers (workerGroupSpecs[].labelRefs, NodeLabelDelivery feature gate).
135
webhooks:
136
# -- Deploy the admission webhooks. Currently requires cert-manager in the cluster for the serving certificate
137
# and CA injection. The webhook configurations are cluster-scoped, so the install fails with singleNamespaceInstall.
138
# The pod webhooks for node label delivery are registered only when the NodeLabelDelivery feature gate is enabled.
139
enabled: false
140
featureGates:
141
- name: RayClusterStatusConditions
142
enabled: true
143
- name: RayJobDeletionPolicy
144
enabled: true
145
- name: RayMultiHostIndexing
146
enabled: true
147
- name: RayServiceIncrementalUpgrade
148
enabled: true
149
- name: RayCronJob
150
enabled: false
151
- name: RayClusterMTLS
152
enabled: false
153
- name: RayClusterNetworkPolicy
154
enabled: false
155
- name: RayClusterHistoryServer
156
enabled: false
157
- name: RayNodeEventForwarder
158
enabled: false
159
- name: NodeLabelDelivery
160
enabled: false
161
# Configurations for KubeRay node event forwarder controller.
162
# The controller forwards Kubernetes Node events to the corresponding RayCluster custom resources.
163
# Ref: https://docs.ray.io/en/latest/cluster/kubernetes/user-guides/k8s-events.html
164
# Note: Node event forwarding is not supported when singleNamespaceInstall is true.
165
nodeEventForwarder:
166
# -- Whether KubeRay operator should forward Kubernetes Node events to RayCluster custom resources. Note: not supported when singleNamespaceInstall is true.
167
enabled: false
168
# -- Only forward Node events emitted by these components, matched against both source.component and reportingController. Empty means all sources.
169
sources: []
170
# - node-problem-detector
171
# - nvidia-gpu-device-plugin
172
# -- Only forward Node events with these reasons, e.g. ["XIDError"]. Empty means all reasons.
173
reasons: []
174
# -- Only forward Node events with these types. Valid values are "Warning" and "Normal". Empty means all types.
175
# Note: Removing the "Warning" filter (or including "Normal") may result in a large number of noisy Normal Node events being forwarded.
176
types:
177
- Warning
178
# -- Default image for the History Server collector sidecar. A RayCluster can override it with
179
# `spec.historyServerOptions.collectorOptions.image`. If empty, defaults to
180
# `quay.io/kuberay/collector` with the tag matching the operator version.
181
collectorImage: ""
182
# Configurations for KubeRay operator metrics.
183
metrics:
184
# -- Whether KubeRay operator should emit control plane metrics.
185
enabled: true
186
serviceMonitor:
187
# -- Enable a prometheus ServiceMonitor
188
enabled: false
189
# -- Prometheus ServiceMonitor interval
190
interval: 30s
191
# -- When true, honorLabels preserves the metric’s labels when they collide with the target’s labels.
192
honorLabels: true
193
# -- Additional labels to add to the ServiceMonitor's metadata.
194
additionalLabels: {}
195
# release: prometheus
196
# -- Prometheus ServiceMonitor namespace
197
namespace: "" # "monitoring"
198
# -- Path to the operator binary
199
operatorCommand: /manager
200
# if userKubernetesProxy is set to true, the KubeRay operator will be configured with the --use-kubernetes-proxy flag.
201
# Using this option to configure kuberay-operator to comunitcate to Ray head pods by proxying through the Kubernetes API Server.
202
# useKubernetesProxy: true
203
204
# -- If leaderElectionEnabled is set to true, the KubeRay operator will use leader election for high availability.
205
leaderElectionEnabled: true
206
# -- The maximum number of reconcile operations that can be performed simultaneously.
207
# This setting controls the concurrency of the controller reconciliation loops.
208
# Higher values can improve throughput in clusters with many resources, but may increase resource consumption.
209
reconcileConcurrency: 1
210
# -- Kube Client configuration for QPS and burst settings.
211
# This setting controls the QPS and burst rate of the kube client when sending requests to the Kubernetes API server.
212
# If the QPS and burst values are too low, we may easily hit rate limits on the API server and slow down the controller reconciliation loops.
213
kubeClient:
214
# -- The QPS value for the client communicating with the Kubernetes API server.
215
# Must be a float number.
216
qps: 100.0
217
# -- The maximum burst for throttling requests from this client to the Kubernetes API server.
218
# Must be a non-negative integer.
219
burst: 200
220
# -- If rbacEnable is set to false, no RBAC resources will be created, including the Role for leader election, the Role for Pods and Services, and so on.
221
rbacEnable: true
222
# -- When crNamespacedRbacEnable is set to true, the KubeRay operator will create a Role for RayCluster preparation (e.g., Pods, Services)
223
# and a corresponding RoleBinding for each namespace listed in the "watchNamespace" parameter. Please note that even if crNamespacedRbacEnable
224
# is set to false, the Role and RoleBinding for leader election will still be created.
225
#
226
# Note:
227
# (1) This variable is only effective when rbacEnable and singleNamespaceInstall are both set to true.
228
# (2) In most cases, it should be set to true, unless you are using a Kubernetes cluster managed by GitOps tools such as ArgoCD.
229
crNamespacedRbacEnable: true
230
# -- When singleNamespaceInstall is true:
231
# - Install namespaced RBAC resources such as Role and RoleBinding instead of cluster-scoped ones like ClusterRole and ClusterRoleBinding so that
232
# the chart can be installed by users with permissions restricted to a single namespace.
233
# (Please note that this excludes the CRDs, which can only be installed at the cluster scope.)
234
# - If "watchNamespace" is not set, the KubeRay operator will, by default, only listen
235
# to resource events within its own namespace.
236
# - Node event forwarding (nodeEventForwarder.enabled) is not supported when singleNamespaceInstall is true.
237
singleNamespaceInstall: false
238
# The KubeRay operator will watch the custom resources in the namespaces listed in the "watchNamespace" parameter.
239
# watchNamespace:
240
# - n1
241
# - n2
242
243
# -- Environment variables.
244
env:
245
# If not set or set to true, kuberay auto injects an init container waiting for ray GCS.
246
# If false, you will need to inject your own init container to ensure ray GCS is up before the ray workers start.
247
# Warning: we highly recommend setting to true and let kuberay handle for you.
248
# - name: ENABLE_INIT_CONTAINER_INJECTION
249
# value: "true"
250
# If set to true, kuberay creates a normal ClusterIP service for a Ray Head instead of a Headless service. Default to false.
251
# - name: ENABLE_RAY_HEAD_CLUSTER_IP_SERVICE
252
# value: "false"
253
# If not set or set to "", kuberay will pick up the default k8s cluster domain `cluster.local`
254
# Otherwise, kuberay will use your custom domain
255
# - name: CLUSTER_DOMAIN
256
# value: ""
257
# If not set or set to false, when running on OpenShift with Ingress creation enabled, kuberay will create OpenShift route
258
# Otherwise, regardless of the type of cluster with Ingress creation enabled, kuberay will create Ingress
259
# - name: USE_INGRESS_ON_OPENSHIFT
260
# value: "true"
261
# Unconditionally requeue after the number of seconds specified in the
262
# environment variable RAYCLUSTER_DEFAULT_REQUEUE_SECONDS_ENV. If the
263
# environment variable is not set, requeue after the default value (300).
264
# - name: RAYCLUSTER_DEFAULT_REQUEUE_SECONDS_ENV
265
# value: 300
266
# If not set or set to "true", KubeRay will clean up the Redis storage namespace when a GCS FT-enabled RayCluster is deleted.
267
# - name: ENABLE_GCS_FT_REDIS_CLEANUP
268
# value: "true"
269
# For LLM serving, some users might not have sufficient GPU resources to run two RayClusters simultaneously.
270
# Therefore, KubeRay offers ENABLE_ZERO_DOWNTIME as a feature flag for zero-downtime upgrades.
271
# - name: ENABLE_ZERO_DOWNTIME
272
# value: "true"
273
# This environment variable for the KubeRay operator is used to determine whether to enable
274
# the injection of readiness and liveness probes into Ray head and worker containers.
275
# Enabling this feature contributes to the robustness of Ray clusters.
276
# - name: ENABLE_PROBES_INJECTION
277
# value: "true"
278
# DEPRECATED: this environment variable will be removed in release 1.10.0.
279
# Use the RayJob spec.deletionStrategy API instead (a deletionRules entry with the DeleteSelf policy).
280
# If set to true, the RayJob CR itself will be deleted if shutdownAfterJobFinishes is set to true. Note that all resources created by the RayJob CR will be deleted, including the K8s Job. Otherwise, only the RayCluster CR will be deleted. Default is false.
281
# - name: DELETE_RAYJOB_CR_AFTER_JOB_FINISHES
282
# value: "false"
283
# If set to true, we will use deterministic name for head pod. Otherwise, the non-deterministic name is used.
284
# - name: ENABLE_DETERMINISTIC_HEAD_POD_NAME
285
# value: "false"
286
# This environment variable determines whether to enable a login shell by passing the -l option to the container command /bin/bash.
287
# The -l flag was added by default before KubeRay v1.4.0, but it is no longer added by default starting with v1.4.0.
288
# - name: ENABLE_LOGIN_SHELL
289
# value: "true"
290
# This KubeRay operator environment variable is used to determine if random Pod
291
# deletion should be enabled. Note that this only takes effect when autoscaling
292
# is enabled for the RayCluster.
293
# - name: ENABLE_RANDOM_POD_DELETE
294
# value: "false"
295
# If JobDeploymentStatus does not transition to Complete or Failed within
296
# this grace period seconds after JobStatus reaches a terminal state,
297
# KubeRay will update JobDeploymentStatus directly.
298
# - name: RAYJOB_DEPLOYMENT_STATUS_TRANSITION_GRACE_PERIOD_SECONDS
299
# value: "300"
300
# If job status checks keep failing for longer than this timeout in seconds,
301
# KubeRay will transition the RayJob's JobDeploymentStatus to Failed. Default is 300.
302
# - name: RAYJOB_STATUS_CHECK_TIMEOUT_SECONDS
303
# value: "300"
304
305
# -- Resource requests and limits for containers.
306
resources:
307
limits:
308
cpu: 100m
309
# Anecdotally, managing 500 Ray pods requires roughly 500MB memory.
310
# Monitor memory usage and adjust as needed.
311
memory: 512Mi
312
# requests:
313
# cpu: 100m
314
# memory: 512Mi
315
# @Ignore -- Pod liveness probe configuration.
316
livenessProbe:
317
initialDelaySeconds: 10
318
periodSeconds: 5
319
failureThreshold: 5
320
# @Ignore -- Pod readiness probe configuration.
321
readinessProbe:
322
initialDelaySeconds: 10
323
periodSeconds: 5
324
failureThreshold: 5
325
# -- Set up `securityContext` to improve Pod security.
326
podSecurityContext: {}
327
# @ignore -- Set up `securityContext` to improve container security.
328
securityContext:
329
allowPrivilegeEscalation: false
330
readOnlyRootFilesystem: true
331
capabilities:
332
drop:
333
- ALL
334
runAsNonRoot: true
335
seccompProfile:
336
type: RuntimeDefault
337
service:
338
# -- Service type.
339
type: ClusterIP
340
# -- Service port.
341
port: 8080
342

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.