Skip to content

Instantly share code, notes, and snippets.

@a-nldisr
Created May 28, 2019 13:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-nldisr/8b628bbb6492e9452a9abe6f93cdba1a to your computer and use it in GitHub Desktop.
Save a-nldisr/8b628bbb6492e9452a9abe6f93cdba1a to your computer and use it in GitHub Desktop.
{
"id": "/prometheus/node-exporter",
"acceptedResourceRoles": [
"*"
],
"backoffFactor": 1.15,
"backoffSeconds": 1,
"cmd": "node_exporter-0.17.0.linux-amd64/node_exporter --collector.systemd --collector.interrupts --web.listen-address :$PORT0",
"constraints": [
[
"hostname",
"UNIQUE"
]
],
"container": {
"type": "MESOS",
"volumes": []
},
"cpus": 0.05,
"disk": 0,
"fetch": [
{
"uri": "https://github.com/prometheus/node_exporter/releases/download/v0.17.0/node_exporter-0.17.0.linux-amd64.tar.gz",
"extract": true,
"executable": false,
"cache": false
}
],
"healthChecks": [
{
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"maxConsecutiveFailures": 3,
"portIndex": 0,
"timeoutSeconds": 20,
"delaySeconds": 15,
"protocol": "MESOS_HTTP",
"path": "/metrics"
}
],
"instances": 100,
"maxLaunchDelaySeconds": 3600,
"mem": 256,
"gpus": 0,
"networks": [
{
"mode": "host"
}
],
"portDefinitions": [
{
"protocol": "tcp",
"port": 10002
}
],
"requirePorts": false,
"upgradeStrategy": {
"maximumOverCapacity": 0.5,
"minimumHealthCapacity": 0.5
},
"killSelection": "YOUNGEST_FIRST",
"unreachableStrategy": {
"inactiveAfterSeconds": 0,
"expungeAfterSeconds": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment