Skip to content

Commit 0213241

Browse files
committed
chore: Use double quoted resource values in sample manifest files.
1 parent 07bedc6 commit 0213241

File tree

64 files changed

+471
-474
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+471
-474
lines changed

ray-operator/config/samples/ray-cluster-label-selector.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ spec:
3838
name: client
3939
resources:
4040
limits:
41-
cpu: 1
42-
memory: 5Gi
41+
cpu: "1"
42+
memory: "5Gi"
4343
requests:
44-
cpu: 1
45-
memory: 2Gi
44+
cpu: "1"
45+
memory: "2Gi"
4646
volumeMounts:
4747
- mountPath: /home/ray/samples
4848
name: ray-example-configmap
@@ -74,11 +74,11 @@ spec:
7474
image: rayproject/ray:nightly
7575
resources:
7676
limits:
77-
cpu: 2
78-
memory: 4Gi
77+
cpu: "2"
78+
memory: "4Gi"
7979
requests:
80-
cpu: 2
81-
memory: 4Gi
80+
cpu: "2"
81+
memory: "4Gi"
8282
nodeSelector:
8383
cloud.google.com/machine-family: "N4"
8484
- replicas: 0
@@ -98,11 +98,11 @@ spec:
9898
image: rayproject/ray:nightly-gpu
9999
resources:
100100
limits:
101-
cpu: 1
102-
memory: 1Gi
101+
cpu: "1"
102+
memory: "1Gi"
103103
requests:
104-
cpu: 1
105-
memory: 1Gi
104+
cpu: "1"
105+
memory: "1Gi"
106106
nodeSelector:
107107
cloud.google.com/gke-spot: "true"
108108
cloud.google.com/gke-accelerator: "nvidia-tesla-a100"
@@ -121,11 +121,11 @@ spec:
121121
image: rayproject/ray:nightly
122122
resources:
123123
limits:
124-
cpu: 1
125-
memory: 1Gi
124+
cpu: "1"
125+
memory: "1Gi"
126126
requests:
127-
cpu: 1
128-
memory: 1Gi
127+
cpu: "1"
128+
memory: "1Gi"
129129
nodeSelector:
130130
cloud.google.com/gke-spot: "true"
131131
---

ray-operator/config/samples/ray-cluster-resource-isolation-with-overrides.gke.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ spec:
1919
image: rayproject/ray:2.52.0
2020
resources:
2121
limits:
22-
cpu: 4
23-
memory: 8Gi
22+
cpu: "4"
23+
memory: "8Gi"
2424
requests:
25-
cpu: 4
26-
memory: 8Gi
25+
cpu: "4"
26+
memory: "8Gi"
2727
ports:
2828
- containerPort: 6379
2929
name: gcs-server
@@ -52,10 +52,10 @@ spec:
5252
image: rayproject/ray:2.52.0
5353
resources:
5454
limits:
55-
cpu: 2
56-
memory: 8Gi
55+
cpu: "2"
56+
memory: "8Gi"
5757
requests:
58-
cpu: 2
59-
memory: 8Gi
58+
cpu: "2"
59+
memory: "8Gi"
6060
nodeSelector:
6161
node.gke.io/enable-writable-cgroups: "true"

ray-operator/config/samples/ray-cluster-resource-isolation.gke.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ spec:
1717
image: rayproject/ray:2.52.0
1818
resources:
1919
limits:
20-
cpu: 2
21-
memory: 8Gi
20+
cpu: "2"
21+
memory: "8Gi"
2222
requests:
23-
cpu: 2
24-
memory: 8Gi
23+
cpu: "2"
24+
memory: "8Gi"
2525
ports:
2626
- containerPort: 6379
2727
name: gcs-server
@@ -48,10 +48,10 @@ spec:
4848
image: rayproject/ray:2.52.0
4949
resources:
5050
limits:
51-
cpu: 2
52-
memory: 8Gi
51+
cpu: "2"
52+
memory: "8Gi"
5353
requests:
54-
cpu: 2
55-
memory: 8Gi
54+
cpu: "2"
55+
memory: "8Gi"
5656
nodeSelector:
5757
node.gke.io/enable-writable-cgroups: "true"

ray-operator/config/samples/ray-cluster.auth-manual.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ spec:
2323
name: ray-cluster-with-auth # change this to match your Secret name
2424
resources:
2525
limits:
26-
cpu: 4
27-
memory: 8Gi
26+
cpu: "4"
27+
memory: "8Gi"
2828
requests:
29-
cpu: 4
30-
memory: 8Gi
29+
cpu: "4"
30+
memory: "8Gi"
3131
ports:
3232
- containerPort: 6379
3333
name: gcs-server
@@ -56,8 +56,8 @@ spec:
5656
name: ray-cluster-with-auth # change this to match your Secret name
5757
resources:
5858
limits:
59-
cpu: 4
60-
memory: 8Gi
59+
cpu: "4"
60+
memory: "8Gi"
6161
requests:
62-
cpu: 4
63-
memory: 8Gi
62+
cpu: "4"
63+
memory: "8Gi"

ray-operator/config/samples/ray-cluster.auth.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ spec:
1616
image: rayproject/ray:2.53.0
1717
resources:
1818
limits:
19-
cpu: 4
20-
memory: 8Gi
19+
cpu: "4"
20+
memory: "8Gi"
2121
requests:
22-
cpu: 4
23-
memory: 8Gi
22+
cpu: "4"
23+
memory: "8Gi"
2424
ports:
2525
- containerPort: 6379
2626
name: gcs-server
@@ -41,8 +41,8 @@ spec:
4141
image: rayproject/ray:2.53.0
4242
resources:
4343
limits:
44-
cpu: 4
45-
memory: 8Gi
44+
cpu: "4"
45+
memory: "8Gi"
4646
requests:
47-
cpu: 4
48-
memory: 8Gi
47+
cpu: "4"
48+
memory: "8Gi"

ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ spec:
5151
name: client
5252
resources:
5353
limits:
54-
cpu: 1
55-
memory: 5Gi
54+
cpu: "1"
55+
memory: "5Gi"
5656
requests:
57-
cpu: 1
58-
memory: 2Gi
57+
cpu: "1"
58+
memory: "2Gi"
5959
volumeMounts:
6060
- mountPath: /home/ray/samples
6161
name: ray-example-configmap
@@ -84,11 +84,11 @@ spec:
8484
image: rayproject/ray:2.52.0
8585
resources:
8686
limits:
87-
cpu: 1
88-
memory: 1Gi
87+
cpu: "1"
88+
memory: "1Gi"
8989
requests:
90-
cpu: 1
91-
memory: 1Gi
90+
cpu: "1"
91+
memory: "1Gi"
9292
---
9393
apiVersion: v1
9494
kind: ConfigMap

ray-operator/config/samples/ray-cluster.autoscaler.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ spec:
7272
name: client
7373
resources:
7474
limits:
75-
cpu: 1
76-
memory: 5Gi
75+
cpu: "1"
76+
memory: "5Gi"
7777
requests:
78-
cpu: 1
79-
memory: 2Gi
78+
cpu: "1"
79+
memory: "2Gi"
8080
volumeMounts:
8181
- mountPath: /home/ray/samples
8282
name: ray-example-configmap
@@ -114,11 +114,11 @@ spec:
114114
image: rayproject/ray:2.52.0
115115
resources:
116116
limits:
117-
cpu: 1
118-
memory: 1Gi
117+
cpu: "1"
118+
memory: "1Gi"
119119
requests:
120-
cpu: 1
121-
memory: 1Gi
120+
cpu: "1"
121+
memory: "1Gi"
122122
---
123123
apiVersion: v1
124124
kind: ConfigMap

ray-operator/config/samples/ray-cluster.complete.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ spec:
4646
# entire Kubernetes node on which it is scheduled.
4747
resources:
4848
limits:
49-
cpu: 1
50-
memory: 5Gi
49+
cpu: "1"
50+
memory: "5Gi"
5151
requests:
5252
# For production use-cases, we recommend specifying integer CPU requests and limits.
5353
# We also recommend setting requests equal to limits for both CPU and memory.
5454
# For this example, we use a 500m CPU request to accomodate resource-constrained local
5555
# Kubernetes testing environments such as KinD and minikube.
56-
cpu: 500m
57-
memory: 2Gi
56+
cpu: "500m"
57+
memory: "2Gi"
5858
volumes:
5959
- name: ray-logs
6060
emptyDir: {}
@@ -98,8 +98,8 @@ spec:
9898
# entire Kubernetes node on which it is scheduled.
9999
resources:
100100
limits:
101-
cpu: 1
102-
memory: 1Gi
101+
cpu: "1"
102+
memory: "1Gi"
103103
# For production use-cases, we recommend specifying integer CPU requests and limits.
104104
# We also recommend setting requests equal to limits for both CPU and memory.
105105
# For this example, we use a 500m CPU request to accomodate resource-constrained local
@@ -109,9 +109,9 @@ spec:
109109
# We also recommend setting requests equal to limits for both CPU and memory.
110110
# For this example, we use a 500m CPU request to accomodate resource-constrained local
111111
# Kubernetes testing environments such as KinD and minikube.
112-
cpu: 500m
112+
cpu: "500m"
113113
# For production use-cases, we recommend allocating at least 8Gb memory for each Ray container.
114-
memory: 1Gi
114+
memory: "1Gi"
115115
# use volumes
116116
# Refer to https://kubernetes.io/docs/concepts/storage/volumes/
117117
volumes:

ray-operator/config/samples/ray-cluster.custom-head-service.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
labels:
2121
custom-label: custom-ray-head-service-label
2222
annotations:
23-
custom-annotation: custom-ray-head-service-annotation
23+
custom-annotation: "custom-ray-head-service-annotation"
2424
spec:
2525
type: LoadBalancer
2626
ports:
@@ -35,11 +35,11 @@ spec:
3535
image: rayproject/ray:2.52.0
3636
resources:
3737
limits:
38-
cpu: 1
39-
memory: 5Gi
38+
cpu: "1"
39+
memory: "5Gi"
4040
requests:
41-
cpu: 500m
42-
memory: 2Gi
41+
cpu: "500m"
42+
memory: "2Gi"
4343
ports:
4444
- containerPort: 6379
4545
name: gcs-server

ray-operator/config/samples/ray-cluster.deprecate-gcs-ft.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ spec:
2929
image: rayproject/ray:2.52.0
3030
resources:
3131
limits:
32-
cpu: 1
33-
memory: 5Gi
32+
cpu: "1"
33+
memory: "5Gi"
3434
requests:
35-
cpu: 1
36-
memory: 2Gi
35+
cpu: "1"
36+
memory: "2Gi"
3737
env:
3838
# Ray will read the RAY_REDIS_ADDRESS environment variable to establish
3939
# a connection with the Redis server. In this instance, we use the "redis"
@@ -92,11 +92,11 @@ spec:
9292
name: ray-logs
9393
resources:
9494
limits:
95-
cpu: 1
96-
memory: 1Gi
95+
cpu: "1"
96+
memory: "1Gi"
9797
requests:
98-
cpu: 1
99-
memory: 1Gi
98+
cpu: "1"
99+
memory: "1Gi"
100100
volumes:
101101
- name: ray-logs
102102
emptyDir: {}

0 commit comments

Comments
 (0)