Skip to content

Instantly share code, notes, and snippets.

@bgulla
Created January 27, 2015 21:15
Show Gist options
  • Save bgulla/b0615e1ed6a9abbceba4 to your computer and use it in GitHub Desktop.
Save bgulla/b0615e1ed6a9abbceba4 to your computer and use it in GitHub Desktop.
curl -XPOST -H "Content-Type: application/json" -d @$1 http://localhost:8080/v2/apps
{
"id": "dynamic-chronos",
"cmd": "./chronos --http_port $PORT0",
"cpus": 0.2,
"disk": 0.0,
"instances": 1,
"mem": 128.0,
"ports": [0],
"uris": ["hdfs:///dist/chronos.tgz"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment