Skip to content

Instantly share code, notes, and snippets.

@prein
Created October 2, 2017 09:30
Show Gist options
  • Select an option

  • Save prein/8e9014b68394fb8ab0b5ea0edb8738c1 to your computer and use it in GitHub Desktop.

Select an option

Save prein/8e9014b68394fb8ab0b5ea0edb8738c1 to your computer and use it in GitHub Desktop.
test-rexray-dcos-app.json
{
"cmd": "df; ls /data; cat /data/test-rexray-volume/test.txt; while true; do sleep 1; date >> /data/test-rexray-volume/test.txt; tail -1 /data/test-rexray-volume/test.txt; done",
"container": {
"docker": {
"forcePullImage": true,
"image": "alpine:3.1"
},
"type": "DOCKER",
"volumes": [
{
"containerPath": "/data/test-rexray-volume",
"external": {
"name": "hello-rex",
"options": {
"dvdi/driver": "rexrayefs"
},
"provider": "dvdi"
},
"mode": "RW"
}
]
},
"cpus": 0.1,
"disk": 0,
"env": {},
"executor": "",
"fetch": [],
"gpus": 0,
"healthChecks": [],
"id": "/test-rex",
"instances": 1,
"killSelection": "YOUNGEST_FIRST",
"labels": {},
"maxLaunchDelaySeconds": 3600,
"mem": 32,
"readinessChecks": [],
"requirePorts": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment