forked from vishnu2kmohan/beakerx-dcos-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beakerx-sparkmagic-marathon.json
63 lines (63 loc) · 1.41 KB
/
beakerx-sparkmagic-marathon.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
{
"id": "/beakerx",
"instances": 1,
"cpus": 1,
"mem": 2048,
"cmd": "/usr/local/bin/notebook.sh",
"container": {
"type": "MESOS",
"docker": {
"image": "vishnumohan/beakerx-sparkmagic-dcos:0.11.1-1.10.4-2.2.1",
"forcePullImage": false
}
},
"fetch": [
{
"uri": "https://s3.amazonaws.com/vishnu-mohan/sparkmagic/sparkmagic-dcos-config.json",
"extract": false,
"executable": false,
"cache": false
}
],
"env": {
"SPARKMAGIC_CONF_DIR": "/mnt/mesos/sandbox",
"SPARKMAGIC_CONF_FILE": "/mnt/mesos/sandbox/sparkmagic-dcos-config.json",
"TERM": "xterm-256color"
},
"labels": {
"MARATHON_SINGLE_INSTANCE_APP": "true",
"HAPROXY_GROUP": "external",
"HAPROXY_0_ENABLED": "true",
"HAPROXY_0_REDIRECT_TO_HTTPS": "true",
"HAPROXY_0_VHOST": "vhost.example.com"
},
"portDefinitions": [
{
"port": 0,
"protocol": "tcp",
"name": "jupyter",
"labels": {
"VIP_0": "/beakerx:8888"
}
}
],
"healthChecks": [
{
"portIndex": 0,
"protocol": "MESOS_HTTP",
"path": "/api",
"gracePeriodSeconds": 30,
"intervalSeconds": 20,
"timeoutSeconds": 10,
"maxConsecutiveFailures": 3
}
],
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 0
},
"unreachableStrategy": {
"expungeAfterSeconds": 0,
"inactiveAfterSeconds": 0
}
}