1# Default values for kuberay-operator.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
5# -- String to partially override release name.
6nameOverride: kuberay-operator
7# -- String to fully override release name.
8fullnameOverride: kuberay-operator
9# -- String to override component name.
10componentOverride: kuberay-operator
11# -- Number of replicas for the KubeRay operator Deployment.
14 # -- Image repository.
15 repository: cgr.dev/chainguard-private/kuberay-operator-fips
17 tag: latest@sha256:b4101b949fd66a1cf8847d4b0c935e090370bde5d9fd5f85d1a1b2cf399433b6
18 # -- Image pull policy.
19 pullPolicy: IfNotPresent
20# -- Secrets with credentials to pull images from a private registry
22# -- Restrict to run on particular nodes.
24# -- Pod priorityClassName
28# -- Extra annotations.
35 # -- Specifies whether a service account should be created.
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
41 # -- Log encoder to use for stdout (one of `json` or `console`).
43 # -- Log encoder to use for file logging (one of `json` or `console`).
45 # -- Directory for kuberay-operator log file.
47 # -- File name for kuberay-operator log file.
49 # -- EmptyDir volume size limit for kuberay-operator log file.
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".
57# Note: "enabled" and "name" should not be set at the same time. If both are set, an error will be thrown.
60# 1. Use volcano (deprecated)
74# name: scheduler-plugins
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.
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.
86# Configuration for the KubeRay operator.
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.
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.
95 # defaultContainerEnvs:
96 # - name: RAY_enable_open_telemetry
98 # - name: RAY_metric_cardinality_level
99 # value: "recommended"
100 defaultContainerEnvs: []
101 # -- Sidecar containers to inject into every Ray head pod.
103 # headSidecarContainers:
105 # image: fluent/fluent-bit:1.9
106 headSidecarContainers: []
107 # -- Sidecar containers to inject into every Ray worker pod.
109 # workerSidecarContainers:
111 # image: fluent/fluent-bit:1.9
112 workerSidecarContainers: []
114 - name: RayClusterStatusConditions
116 - name: RayJobDeletionPolicy
118 - name: RayMultiHostIndexing
120 - name: RayServiceIncrementalUpgrade
124# Configurations for KubeRay operator metrics.
126 # -- Whether KubeRay operator should emit control plane metrics.
129 # -- Enable a prometheus ServiceMonitor
131 # -- Prometheus ServiceMonitor interval
133 # -- When true, honorLabels preserves the metric’s labels when they collide with the target’s labels.
135 # -- Prometheus ServiceMonitor selector
137 # release: prometheus
138 # -- Prometheus ServiceMonitor namespace
139 namespace: "" # "monitoring"
140# -- Path to the operator binary
141operatorCommand: /manager
142# if userKubernetesProxy is set to true, the KubeRay operator will be configured with the --use-kubernetes-proxy flag.
143# Using this option to configure kuberay-operator to comunitcate to Ray head pods by proxying through the Kubernetes API Server.
144# useKubernetesProxy: true
146# -- If leaderElectionEnabled is set to true, the KubeRay operator will use leader election for high availability.
147leaderElectionEnabled: true
148# -- The maximum number of reconcile operations that can be performed simultaneously.
149# This setting controls the concurrency of the controller reconciliation loops.
150# Higher values can improve throughput in clusters with many resources, but may increase resource consumption.
151reconcileConcurrency: 1
152# -- Kube Client configuration for QPS and burst settings.
153# This setting controls the QPS and burst rate of the kube client when sending requests to the Kubernetes API server.
154# 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.
156 # -- The QPS value for the client communicating with the Kubernetes API server.
157 # Must be a float number.
159 # -- The maximum burst for throttling requests from this client to the Kubernetes API server.
160 # Must be a non-negative integer.
162# -- 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.
164# -- When crNamespacedRbacEnable is set to true, the KubeRay operator will create a Role for RayCluster preparation (e.g., Pods, Services)
165# and a corresponding RoleBinding for each namespace listed in the "watchNamespace" parameter. Please note that even if crNamespacedRbacEnable
166# is set to false, the Role and RoleBinding for leader election will still be created.
169# (1) This variable is only effective when rbacEnable and singleNamespaceInstall are both set to true.
170# (2) In most cases, it should be set to true, unless you are using a Kubernetes cluster managed by GitOps tools such as ArgoCD.
171crNamespacedRbacEnable: true
172# -- When singleNamespaceInstall is true:
173# - Install namespaced RBAC resources such as Role and RoleBinding instead of cluster-scoped ones like ClusterRole and ClusterRoleBinding so that
174# the chart can be installed by users with permissions restricted to a single namespace.
175# (Please note that this excludes the CRDs, which can only be installed at the cluster scope.)
176# - If "watchNamespace" is not set, the KubeRay operator will, by default, only listen
177# to resource events within its own namespace.
178singleNamespaceInstall: false
179# The KubeRay operator will watch the custom resources in the namespaces listed in the "watchNamespace" parameter.
184# -- Environment variables.
186# If not set or set to true, kuberay auto injects an init container waiting for ray GCS.
187# If false, you will need to inject your own init container to ensure ray GCS is up before the ray workers start.
188# Warning: we highly recommend setting to true and let kuberay handle for you.
189# - name: ENABLE_INIT_CONTAINER_INJECTION
191# If set to true, kuberay creates a normal ClusterIP service for a Ray Head instead of a Headless service. Default to false.
192# - name: ENABLE_RAY_HEAD_CLUSTER_IP_SERVICE
194# If not set or set to "", kuberay will pick up the default k8s cluster domain `cluster.local`
195# Otherwise, kuberay will use your custom domain
196# - name: CLUSTER_DOMAIN
198# If not set or set to false, when running on OpenShift with Ingress creation enabled, kuberay will create OpenShift route
199# Otherwise, regardless of the type of cluster with Ingress creation enabled, kuberay will create Ingress
200# - name: USE_INGRESS_ON_OPENSHIFT
202# Unconditionally requeue after the number of seconds specified in the
203# environment variable RAYCLUSTER_DEFAULT_REQUEUE_SECONDS_ENV. If the
204# environment variable is not set, requeue after the default value (300).
205# - name: RAYCLUSTER_DEFAULT_REQUEUE_SECONDS_ENV
207# If not set or set to "true", KubeRay will clean up the Redis storage namespace when a GCS FT-enabled RayCluster is deleted.
208# - name: ENABLE_GCS_FT_REDIS_CLEANUP
210# For LLM serving, some users might not have sufficient GPU resources to run two RayClusters simultaneously.
211# Therefore, KubeRay offers ENABLE_ZERO_DOWNTIME as a feature flag for zero-downtime upgrades.
212# - name: ENABLE_ZERO_DOWNTIME
214# This environment variable for the KubeRay operator is used to determine whether to enable
215# the injection of readiness and liveness probes into Ray head and worker containers.
216# Enabling this feature contributes to the robustness of Ray clusters.
217# - name: ENABLE_PROBES_INJECTION
219# 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.
220# - name: DELETE_RAYJOB_CR_AFTER_JOB_FINISHES
222# If set to true, we will use deterministic name for head pod. Otherwise, the non-deterministic name is used.
223# - name: ENABLE_DETERMINISTIC_HEAD_POD_NAME
225# This environment variable determines whether to enable a login shell by passing the -l option to the container command /bin/bash.
226# 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.
227# - name: ENABLE_LOGIN_SHELL
229# This KubeRay operator environment variable is used to determine if random Pod
230# deletion should be enabled. Note that this only takes effect when autoscaling
231# is enabled for the RayCluster.
232# - name: ENABLE_RANDOM_POD_DELETE
234# If JobDeploymentStatus does not transition to Complete or Failed within
235# this grace period seconds after JobStatus reaches a terminal state,
236# KubeRay will update JobDeploymentStatus directly.
237# - name: RAYJOB_DEPLOYMENT_STATUS_TRANSITION_GRACE_PERIOD_SECONDS
240# -- Resource requests and limits for containers.
244 # Anecdotally, managing 500 Ray pods requires roughly 500MB memory.
245 # Monitor memory usage and adjust as needed.
250# @Ignore -- Pod liveness probe configuration.
252 initialDelaySeconds: 10
255# @Ignore -- Pod readiness probe configuration.
257 initialDelaySeconds: 10
260# -- Set up `securityContext` to improve Pod security.
261podSecurityContext: {}
262# @ignore -- Set up `securityContext` to improve container security.
264 allowPrivilegeEscalation: false
265 readOnlyRootFilesystem: true