Skip to content

Instantly share code, notes, and snippets.

@kevin85421
Created May 23, 2023 22:04
Show Gist options
  • Save kevin85421/54978483b9002eef0c0edb90c7749015 to your computer and use it in GitHub Desktop.
Save kevin85421/54978483b9002eef0c0edb90c7749015 to your computer and use it in GitHub Desktop.
# Default values for kuberay-operator.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: kuberay/operator
tag: nightly
pullPolicy: IfNotPresent
nameOverride: "kuberay-operator"
fullnameOverride: "kuberay-operator"
serviceAccount:
# Specifies whether a service account should be created
create: true
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "kuberay-operator"
service:
type: ClusterIP
port: 8080
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do whelm to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
limits:
cpu: 100m
# Anecdotally, managing 500 Ray pods requires roughly 500MB memory.
# Monitor memory usage and adjust as needed.
memory: 512Mi
# requests:
# cpu: 100m
# memory: 512Mi
livenessProbe:
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 5
readinessProbe:
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 5
rbacEnable: true
batchScheduler:
enabled: false
# Set up `securityContext` to improve Pod security.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/pod-security.md for further guidance.
securityContext: {}
# When singleNamespaceInstall is true:
# - Install namespaced RBAC resources instead of cluster-scoped ones so that the chart can be installed by users
# with permissions restricted to a single namespace. (Please note that this excludes the CRDs, which can only be installed at the cluster scope.)
# - If "watchNamespace" is not set, the KubeRay operator will, by default, only listen
# to resource events within its own namespace.
singleNamespaceInstall: false
# The KubeRay operator will watch the custom resources in the namespaces listed in the "watchNamespace" parameter.
# watchNamespace:
# - n1
# - n2
# Environment variables
env:
# If not set or set to true, kuberay auto injects an init container waiting for ray GCS.
# If false, you will need to inject your own init container to ensure ray GCS is up before the ray workers start.
# Warning: we highly recommend setting to true and let kuberay handle for you.
# - name: ENABLE_INIT_CONTAINER_INJECTION
# value: "true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment