Skip to content

Commit ee1a435

Browse files
[Docs] Add kubectl plugin create cluster sample yaml config files (#3804) (#3813)
Signed-off-by: Chi-Sheng Liu <[email protected]> Co-authored-by: David Xia <[email protected]>
1 parent 4986795 commit ee1a435

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
namespace: my-namespace
2+
name: sample-create-cluster-complete
3+
4+
labels:
5+
foo: bar
6+
annotations:
7+
dead: beef
8+
9+
ray-version: 2.46.0
10+
image: rayproject/ray:2.46.0
11+
service-account: [email protected]
12+
13+
head:
14+
cpu: 3
15+
memory: 5Gi
16+
gpu: 0
17+
ephemeral-storage: 8Gi
18+
ray-start-params:
19+
metrics-export-port: 8082
20+
node-selectors:
21+
foo: bar
22+
baz: qux
23+
24+
worker-groups:
25+
- name: cpu-workers
26+
replicas: 1
27+
cpu: 2
28+
memory: 4Gi
29+
gpu: 0
30+
ephemeral-storage: 12Gi
31+
ray-start-params:
32+
metrics-export-port: 8081
33+
node-selectors:
34+
hi: there
35+
- name: gpu-workers
36+
replicas: 1
37+
cpu: 3
38+
memory: 6Gi
39+
gpu: 1
40+
ephemeral-storage: 13Gi
41+
ray-start-params:
42+
metrics-export-port: 8081
43+
44+
autoscaler:
45+
version: v2
46+
47+
gke:
48+
# Cloud Storage FUSE options
49+
gcsfuse:
50+
# Required bucket name
51+
bucket-name: my-bucket
52+
# Required mount path where bucket will be mounted in both head and worker nodes
53+
mount-path: /mnt/cluster_storage
54+
# See the Cloud Storage FUSE CLI file docs for all supported mount options.
55+
# https://cloud.google.com/storage/docs/cloud-storage-fuse/cli-options#options
56+
mount-options: "implicit-dirs,uid=1000,gid=100"
57+
# Optional resource configs for Cloud Storage FUSE CSI driver sidecar container
58+
resources:
59+
cpu: 250m
60+
memory: 256Mi
61+
ephemeral-storage: 5Gi
62+
# Optional volume attributes for Cloud Storage FUSE CSI driver
63+
# from the following page excluding the ones that Google recommends you set as mount options.
64+
# https://cloud.google.com/kubernetes-engine/docs/reference/cloud-storage-fuse-csi-driver/volume-attr
65+
disable-metrics: true
66+
gcsfuse-metadata-prefetch-on-mount: false
67+
skip-csi-bucket-access-check: false
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
worker-groups:
2+
- cpu: 3

0 commit comments

Comments
 (0)