forked from infrakit/examples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathworker.json
44 lines (42 loc) · 1.39 KB
/
worker.json
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
{{/*
Config for workers on Google
*/}}
{
"Plugin": "google/compute",
"Properties": {
"NamePrefix": "{{ var `/cluster/name` }}-worker",
"Network": "{{ var `/cluster/name` }}-network",
"Tags": [
"cluster-{{ var `/cluster/name` }}-network",
"princeton-access",
"http-server",
"https-server"
],
"Metadata": [
{
"key": "infrakit.clusterName",
"value": "{{ var `/cluster/name` }}"
},
{
"key": "infrakit.role",
"value": "worker"
}
],
"MachineType": "{{ var `/cluster/instanceType/worker` }}",
"Disks": [{
"Boot": true,
"SizeGb": 30,
"Image": "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1604-xenial-v20171011",
"Type": "pd-standard"
}],
"Scopes": [
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring.write",
"https://www.googleapis.com/auth/trace.append",
"https://www.googleapis.com/auth/devstorage.read_write",
"https://www.googleapis.com/auth/cloud.useraccounts.readonly"
]
}
}