forked from labfunctions/labfunctions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cluster.example.yaml
149 lines (146 loc) · 3.19 KB
/
cluster.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
providers:
local: "labfunctions.cluster.providers.local.LocalProvider"
gce: "labfunctions.cluster.providers.gcloud.GCEProvider"
clusters:
default:
name: default
provider: "gce"
machine: "gce-small-cpu"
gpu-small:
name: gpu-small
provider: "gce"
machine: "gce-small-gpu"
gpu-ubuntu:
name: gpu-ub
provider: "gce"
machine: "gce-small-gpu-ubuntu"
gpu:
name: gpu
provider: "gce"
machine: "gce-gpu-medium"
volumes:
local:
name: local
location: home
size: 10
kind: 'pd'
mount: /home/nuxion/data
gce-boot-small:
name: gce-boot-small
image: "nbworker-2022-04-08"
description: to use as boot disk
location: "us-central1-c"
size: 20
kind: 'pd-standard'
mount: /
gce-ubuntu:
name: gce-ubuntu
image: "ubuntu-2004-focal-v20220615"
location: "us-east1-c"
size: 20
kind: 'pd-standard'
mount: /
gce-agent-gpu:
name: gce-agent-gpu
image: lab-nvidia-0100-alpha0
location: "us-east1-c"
size: 40
kind: 'pd-standard'
mount: /
gce-agent-cpu:
name: gce-agent-cpu
image: lab-agent-0100-alpha0
location: "us-east1-c"
size: 40
kind: 'pd-standard'
mount: /
machines:
snapshooter:
name: snap
desc: Snapshot machine only for disk intialization
provider: gce
location: "us-central1-c"
machine_type:
size: "e2-micro"
image: "nbworker-2022-04-08"
vcpus: 1
volumes:
- snapshot-base
gce-tiny-default:
name: tiny-cpu
desc: Tiny cpu machine for gce
provider: gce
location: "us-central1-c"
machine_type:
size: "e2-micro"
image: "debian-11-bullseye-v20220406" # default from gce
vcpus: 1
gce-small-cpu:
name: gce-small-cpu
desc: Small cpu machine for gce
provider: gce
location: "us-east1-c"
machine_type:
size: "e2-small"
image: lab-agent-0100-alpha0
volumes:
- gce-agent-cpu
gce-small-gpu:
name: small-gpu
desc: "Small GPU Machine for gce"
machine: gce-small-gpu
provider: gce
location: "us-east1-c"
machine_type:
size: n1-standard-1
image: lab-nvidia-0100-alpha0
gpu:
name: tesla
gpu_type: nvidia-tesla-t4
count: 1
volumes:
- gce-agent-gpu
gce-gpu:
name: gpu
desc: "Small GPU Machine for gce"
machine: gce-gpu-medium
provider: gce
location: "us-east1-c"
machine_type:
size: n1-standard-4
image: lab-nvidia-0100-alpha0
gpu:
name: tesla
gpu_type: nvidia-tesla-t4
count: 1
volumes:
- gce-agent-gpu
gce-small-gpu-ubuntu:
name: small-gpu-ubuntu
desc: "Small GPU Machine for gce with ubuntu"
machine: gce-small-gpu-ubuntu
provider: gce
location: "us-east1-c"
machine_type:
size: n1-standard-1
image: "ubuntu-2004-focal-v20220615"
gpu:
name: tesla
gpu_type: nvidia-tesla-t4
count: 1
volumes:
- gce-ubuntu
local:
name: local-cpu
desc: Local machine
provider: local
location: "home"
machine_type:
size: "s-1vcpu-1gb"
image: "debian_docker.2021-08-13"
vcpus: 1
gpu:
name: "nvidia"
gpu_type: "tesla"
number: 1