-
Notifications
You must be signed in to change notification settings - Fork 8
/
storm-worker-controller.json
55 lines (55 loc) · 1.11 KB
/
storm-worker-controller.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
48
49
50
51
52
53
54
55
{
"kind": "ReplicationController",
"apiVersion": "v1beta3",
"metadata": {
"name": "storm-worker-controller",
"labels": {
"name": "storm-worker"
}
},
"spec": {
"replicas": 1,
"selector": {
"name": "storm-worker"
},
"template": {
"metadata": {
"labels": {
"name": "storm-worker",
"uses": "nimbus"
}
},
"spec": {
"containers": [
{
"name": "storm-worker",
"image": "mattf/storm-worker",
"ports": [
{
"name": "6700",
"containerPort": 6700
},
{
"name": "6701",
"containerPort": 6701
},
{
"name": "6702",
"containerPort": 6702
},
{
"name": "6703",
"containerPort": 6703
}
],
"resources": {
"limits": {
"cpu": "8000m"
}
}
}
]
}
}
}
}