Skip to content

Instantly share code, notes, and snippets.

@ridv
Created May 12, 2016 16:51
Show Gist options
  • Save ridv/e5e41a7a9d7da243b440ef37564a0af9 to your computer and use it in GitHub Desktop.
Save ridv/e5e41a7a9d7da243b440ef37564a0af9 to your computer and use it in GitHub Desktop.
{
"executor": {
"name": "thermos",
"command": {
"value": "thermos_executor.pex",
"arguments": [
"--announcer-enable",
"--announcer-ensemble",
"localhost:2181"
],
"uris": [
{
"value": "/home/vagrant/aurora/dist/thermos_executor.pex",
"executable": true,
"extract": false,
"cache": false
}
]
},
"resources": [
{
"name": "cpus",
"type": "SCALAR",
"scalar": {
"value": 0.25
}
},
{
"name": "mem",
"type": "SCALAR",
"scalar": {
"value": 128
}
}
]
},
"volume_mounts": [
{
"mode": "RO",
"container_path": "/path/to/observer_root",
"host_path": "/path/to/observer_root"
},
{
"mode": "RW",
"container_path": "/container",
"host_path": "/host"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment