Skip to content

Instantly share code, notes, and snippets.

@jbrisbin
Last active June 2, 2016 19:55
Show Gist options
  • Save jbrisbin/810bf9f230536bc31af4633b3d68c238 to your computer and use it in GitHub Desktop.
Save jbrisbin/810bf9f230536bc31af4633b3d68c238 to your computer and use it in GitHub Desktop.
Riak Mesos Framework example config file
{
"riak": {
"framework-name": "riak",
"hostname": "riak.marathon.mesos",
"marathon": "marathon.mesos:8080",
"master": "leader.mesos:5050",
"zk": "leader.mesos:2181",
"user": "root",
"role": "riak",
"auth-principal": "riak",
"auth-provider": "",
"auth-secret-file": "",
"instances": 1,
"failover-timeout": 10000.0,
"healthcheck-grace-period-seconds": 300,
"healthcheck-interval-seconds": 60,
"healthcheck-timeout-seconds": 20,
"healthcheck-max-consecutive-failures": 5,
"constraints": [],
"scheduler": {
"url": "https://basholabs.artifactoryonline.com/basholabs/riak-mesos-framework/ubuntu-14.04/scheduler/1.0-rc2-0.28/riak_mesos_scheduler-1.0.rc2-mesos-0.28-ubuntu-14.04.tar.gz",
"cpus": 0.5,
"mem": 2048.0,
"constraints": []
},
"executor": {
"url": "https://basholabs.artifactoryonline.com/basholabs/riak-mesos-framework/ubuntu-14.04/executor/1.0-rc2-0.28/riak_mesos_executor-1.0.rc2-mesos-0.28-ubuntu-14.04.tar.gz",
"cpus": 0.1,
"mem": 512.0
},
"node": {
"url": "https://basholabs.artifactoryonline.com/basholabs/build/ubuntu-14.04/riak_ts-oss/riak_ts-1.3.0/riak_ts-1.3.0.tgz",
"explorer-url": "https://basholabs.artifactoryonline.com/basholabs/riak-mesos-framework/ubuntu-14.04/riak-explorer/0.3.0/riak_explorer-0.3.0.patch-ubuntu-14.04.tar.gz",
"patches-url": "https://basholabs.artifactoryonline.com/basholabs/riak-mesos-framework/ubuntu-14.04/executor/1.0-rc2-0.28/riak_erlpmd_patches-1.0.rc2-mesos-0.28-ubuntu-14.04.tar.gz",
"cpus": 1.0,
"mem": 8000.0,
"disk": 20000.0
},
"director": {
"url": "https://basholabs.artifactoryonline.com/basholabs/riak-mesos-framework/ubuntu-14.04/director/1.0-rc1/riak_mesos_director-1.0.rc1-ubuntu-14.04.tar.gz",
"use-public": false,
"cpus": 0.5,
"mem": 1024.0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment