forked from Crapworks/ceph-dash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ceph-dash.json
69 lines (69 loc) · 1.41 KB
/
ceph-dash.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
{
"id": "/ceph-dash",
"instances": 1,
"cpus": 0.5,
"mem": 512,
"fetch": [
{
"uri": "http://172.31.16.16/ceph.conf"
},
{
"uri": "http://172.31.16.16/ceph.mon.keyring"
},
{
"uri": "http://172.31.16.16/ceph.client.admin.keyring"
}
],
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"container": {
"docker": {
"image": "fernandosanchez/ceph-dash",
"forcePullImage": true,
"privileged": false,
"portMappings": [
{
"containerPort": 5000,
"servicePort": 15000,
"protocol": "tcp",
"name": "ceph-dash",
"labels": {
"VIP_0": "/ceph-dash:15000"
}
}
],
"network": "BRIDGE"
}
},
"healthChecks": [
{
"protocol": "COMMAND",
"command": {
"value": "`test \"$(curl -4 -w '%{http_code}' -s http://localhost:5000/|cut -f1 -d\" \")\" == 200`"
},
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"timeoutSeconds": 20,
"maxConsecutiveFailures": 3
}
],
"upgradeStrategy": {
"minimumHealthCapacity": 1,
"maximumOverCapacity": 1
},
"labels": {
"HAPROXY_GROUP": "external"
},
"portDefinitions": [
{
"port": 5000,
"protocol": "tcp",
"name": "ceph-dash",
"labels": {
"VIP_0": "/ceph-dash:5000"
}
}
],
"requirePorts": false
}