Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions ray-operator/config/samples/ray-cluster-label-selector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ spec:
name: client
resources:
limits:
cpu: 1
memory: 5Gi
cpu: "1"
memory: "5Gi"
requests:
cpu: 1
memory: 2Gi
cpu: "1"
memory: "2Gi"
volumeMounts:
- mountPath: /home/ray/samples
name: ray-example-configmap
Expand Down Expand Up @@ -74,11 +74,11 @@ spec:
image: rayproject/ray:nightly
resources:
limits:
cpu: 2
memory: 4Gi
cpu: "2"
memory: "4Gi"
requests:
cpu: 2
memory: 4Gi
cpu: "2"
memory: "4Gi"
nodeSelector:
cloud.google.com/machine-family: "N4"
- replicas: 0
Expand All @@ -98,11 +98,11 @@ spec:
image: rayproject/ray:nightly-gpu
resources:
limits:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
requests:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
nodeSelector:
cloud.google.com/gke-spot: "true"
cloud.google.com/gke-accelerator: "nvidia-tesla-a100"
Expand All @@ -121,11 +121,11 @@ spec:
image: rayproject/ray:nightly
resources:
limits:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
requests:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
nodeSelector:
cloud.google.com/gke-spot: "true"
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
requests:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
ports:
- containerPort: 6379
name: gcs-server
Expand Down Expand Up @@ -52,10 +52,10 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 2
memory: 8Gi
cpu: "2"
memory: "8Gi"
requests:
cpu: 2
memory: 8Gi
cpu: "2"
memory: "8Gi"
nodeSelector:
node.gke.io/enable-writable-cgroups: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 2
memory: 8Gi
cpu: "2"
memory: "8Gi"
requests:
cpu: 2
memory: 8Gi
cpu: "2"
memory: "8Gi"
ports:
- containerPort: 6379
name: gcs-server
Expand All @@ -48,10 +48,10 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 2
memory: 8Gi
cpu: "2"
memory: "8Gi"
requests:
cpu: 2
memory: 8Gi
cpu: "2"
memory: "8Gi"
nodeSelector:
node.gke.io/enable-writable-cgroups: "true"
16 changes: 8 additions & 8 deletions ray-operator/config/samples/ray-cluster.auth-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ spec:
name: ray-cluster-with-auth # change this to match your Secret name
resources:
limits:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
requests:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
ports:
- containerPort: 6379
name: gcs-server
Expand Down Expand Up @@ -56,8 +56,8 @@ spec:
name: ray-cluster-with-auth # change this to match your Secret name
resources:
limits:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
requests:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
16 changes: 8 additions & 8 deletions ray-operator/config/samples/ray-cluster.auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ spec:
image: rayproject/ray:2.53.0
resources:
limits:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
requests:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
ports:
- containerPort: 6379
name: gcs-server
Expand All @@ -41,8 +41,8 @@ spec:
image: rayproject/ray:2.53.0
resources:
limits:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
requests:
cpu: 4
memory: 8Gi
cpu: "4"
memory: "8Gi"
16 changes: 8 additions & 8 deletions ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ spec:
name: client
resources:
limits:
cpu: 1
memory: 5Gi
cpu: "1"
memory: "5Gi"
requests:
cpu: 1
memory: 2Gi
cpu: "1"
memory: "2Gi"
volumeMounts:
- mountPath: /home/ray/samples
name: ray-example-configmap
Expand Down Expand Up @@ -84,11 +84,11 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
requests:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
---
apiVersion: v1
kind: ConfigMap
Expand Down
16 changes: 8 additions & 8 deletions ray-operator/config/samples/ray-cluster.autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ spec:
name: client
resources:
limits:
cpu: 1
memory: 5Gi
cpu: "1"
memory: "5Gi"
requests:
cpu: 1
memory: 2Gi
cpu: "1"
memory: "2Gi"
volumeMounts:
- mountPath: /home/ray/samples
name: ray-example-configmap
Expand Down Expand Up @@ -114,11 +114,11 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
requests:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
---
apiVersion: v1
kind: ConfigMap
Expand Down
16 changes: 8 additions & 8 deletions ray-operator/config/samples/ray-cluster.complete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ spec:
# entire Kubernetes node on which it is scheduled.
resources:
limits:
cpu: 1
memory: 5Gi
cpu: "1"
memory: "5Gi"
requests:
# For production use-cases, we recommend specifying integer CPU requests and limits.
# We also recommend setting requests equal to limits for both CPU and memory.
# For this example, we use a 500m CPU request to accomodate resource-constrained local
# Kubernetes testing environments such as KinD and minikube.
cpu: 500m
memory: 2Gi
cpu: "500m"
memory: "2Gi"
volumes:
- name: ray-logs
emptyDir: {}
Expand Down Expand Up @@ -98,8 +98,8 @@ spec:
# entire Kubernetes node on which it is scheduled.
resources:
limits:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
# For production use-cases, we recommend specifying integer CPU requests and limits.
# We also recommend setting requests equal to limits for both CPU and memory.
# For this example, we use a 500m CPU request to accomodate resource-constrained local
Expand All @@ -109,9 +109,9 @@ spec:
# We also recommend setting requests equal to limits for both CPU and memory.
# For this example, we use a 500m CPU request to accomodate resource-constrained local
# Kubernetes testing environments such as KinD and minikube.
cpu: 500m
cpu: "500m"
# For production use-cases, we recommend allocating at least 8Gb memory for each Ray container.
memory: 1Gi
memory: "1Gi"
# use volumes
# Refer to https://kubernetes.io/docs/concepts/storage/volumes/
volumes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 1
memory: 5Gi
cpu: "1"
memory: "5Gi"
requests:
cpu: 500m
memory: 2Gi
cpu: "500m"
memory: "2Gi"
ports:
- containerPort: 6379
name: gcs-server
Expand Down
16 changes: 8 additions & 8 deletions ray-operator/config/samples/ray-cluster.deprecate-gcs-ft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ spec:
image: rayproject/ray:2.52.0
resources:
limits:
cpu: 1
memory: 5Gi
cpu: "1"
memory: "5Gi"
requests:
cpu: 1
memory: 2Gi
cpu: "1"
memory: "2Gi"
env:
# Ray will read the RAY_REDIS_ADDRESS environment variable to establish
# a connection with the Redis server. In this instance, we use the "redis"
Expand Down Expand Up @@ -92,11 +92,11 @@ spec:
name: ray-logs
resources:
limits:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
requests:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
volumes:
- name: ray-logs
emptyDir: {}
Expand Down
16 changes: 8 additions & 8 deletions ray-operator/config/samples/ray-cluster.embed-grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ spec:
name: ray-logs
resources:
limits:
cpu: 1
memory: 5Gi
cpu: "1"
memory: "5Gi"
requests:
cpu: 1
memory: 2Gi
cpu: "1"
memory: "2Gi"
env:
- name: RAY_GRAFANA_IFRAME_HOST
value: http://127.0.0.1:3000
Expand Down Expand Up @@ -63,11 +63,11 @@ spec:
name: ray-logs
resources:
limits:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
requests:
cpu: 1
memory: 1Gi
cpu: "1"
memory: "1Gi"
# use volumes
# Refer to https://kubernetes.io/docs/concepts/storage/volumes/
volumes:
Expand Down
Loading
Loading