-
Notifications
You must be signed in to change notification settings - Fork 0
/
jupyter-ipyparallel.json
95 lines (95 loc) · 3.07 KB
/
jupyter-ipyparallel.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
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
{
"id": "/jupyter-ipyparallel",
"apps": [
{
"id": "/jupyter-ipyparallel/controller",
"instances": 1,
"cpus": 1,
"mem": 1024,
"cmd": "bash -c 'source activate py34 && sleep 60 && (ipcontroller &) && sleep 5 && upload_ctrl_conf_hdfs.py && jupyter notebook $* '",
"labels": {
"HAPROXY_GROUP": "external"
},
"container": {
"type": "DOCKER",
"docker": {
"image": "vishnumohan/ipyparallel-notebook",
"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 8888, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" },
{ "containerPort": 0, "hostPort": 0, "protocol": "tcp" }
]
}
},
"healthChecks": [
{
"portIndex": 0,
"protocol": "HTTP",
"path": "/",
"gracePeriodSeconds": 30,
"intervalSeconds": 60,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3,
"ignoreHttp1xx": false
}
],
"requirePorts": true,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600
},
{
"id": "/jupyter-ipyparallel/engine",
"instances": 1,
"cpus": 1,
"mem": 1024,
"cmd": "bash -c 'source activate py34 && download_ctrl_conf_hdfs.py && ( jupyter notebook $* &) && ipengine'",
"labels": {
"HAPROXY_GROUP": "external"
},
"container": {
"type": "DOCKER",
"docker": {
"image": "vishnumohan/ipyparallel-notebook",
"forcePullImage": true,
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 8888, "hostPort": 0, "protocol": "tcp" }
]
}
},
"healthChecks": [
{
"portIndex": 0,
"protocol": "HTTP",
"path": "/",
"gracePeriodSeconds": 30,
"intervalSeconds": 60,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3,
"ignoreHttp1xx": false
}
],
"requirePorts": true,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"dependencies": [
"/jupyter-ipyparallel/controller"
]
}
]
}