-
Notifications
You must be signed in to change notification settings - Fork 2
/
node.json
48 lines (46 loc) · 1.02 KB
/
node.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
45
46
47
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {"name":"k8s-worker"},
"spec":{
"hostNetwork": true,
"containers":[
{
"name": "controller-manager",
"image": "gcr.io/google_containers/hyperkube:v1.1.7",
"command": [
"/hyperkube",
"controller-manager",
"--service_account_private_key_file=/srv/kubernetes/server.key",
"--root_ca_file=/srv/kubernetes/ca.crt",
"--master=%MASTER%:8080",
"--v=2"
],
"volumeMounts": [{
"name": "srv",
"mountPath": "/srv"
}]
},
{
"name": "scheduler",
"image": "gcr.io/google_containers/hyperkube:v1.1.7",
"command": [
"/hyperkube",
"scheduler",
"--master=%MASTER%:8080",
"--v=2"
],
"volumeMounts": [{
"name": "srv",
"mountPath": "/srv"
}]
}
],
"volumes": [{
"name": "srv",
"hostPath": {
"path": "/srv"
}
}]
}
}