Skip to content

Instantly share code, notes, and snippets.

View kevin85421's full-sized avatar
๐Ÿ€

Kai-Hsun Chen kevin85421

๐Ÿ€
View GitHub Profile
@kevin85421
kevin85421 / rayservice.yaml
Created August 21, 2026 09:42
Elastic RayService manifest used to reproduce the Kueue elastic ungater owner gap (kubernetes-sigs/kueue PR 14703)
# Make sure to increase resource requests and limits before using this example in production.
# For examples with more realistic resource configuration, see
# ray-cluster.complete.large.yaml and
# ray-cluster.autoscaler.large.yaml.
apiVersion: ray.io/v1
kind: RayService
metadata:
name: rayservice
labels:
# Required for Kueue to manage this RayService: points at the LocalQueue.
# Make sure to increase resource requests and limits before using this example in production.
# For examples with more realistic resource configuration, see
# ray-cluster.complete.large.yaml and
# ray-cluster.autoscaler.large.yaml.
kind: ConfigMap
apiVersion: v1
metadata:
name: redis-config
labels:
app: redis
# Make sure to increase resource requests and limits before using this example in production.
# For examples with more realistic resource configuration, see
# ray-cluster.complete.large.yaml and
# ray-cluster.autoscaler.large.yaml.
apiVersion: ray.io/v1alpha1
kind: RayService
metadata:
name: rayservice-sample
spec:
serviceUnhealthySecondThreshold: 300 # Config for the health check threshold for service. Default value is 60.
# Make sure to increase resource requests and limits before using this example in production.
# For examples with more realistic resource configuration, see
# ray-cluster.complete.large.yaml and
# ray-cluster.autoscaler.large.yaml.
apiVersion: ray.io/v1alpha1
kind: RayService
metadata:
name: rayservice-sample
spec:
serviceUnhealthySecondThreshold: 300 # Config for the health check threshold for service. Default value is 60.