Skip to content

Instantly share code, notes, and snippets.

@pkazi
Created March 25, 2019 17:41
Show Gist options
  • Save pkazi/d865375b7677761691aafbd6afd8679b to your computer and use it in GitHub Desktop.
Save pkazi/d865375b7677761691aafbd6afd8679b to your computer and use it in GitHub Desktop.
{
"id": "/infrastructure/redis-cluster-util",
"backoffFactor": 1.15,
"backoffSeconds": 1,
"constraints": [],
"container": {
"type": "DOCKER",
"volumes": [
{
"containerPath": "/backup",
"hostPath": "backups",
"mode": "RW"
}
],
"docker": {
"image": "parvezkazi13/redis-util",
"forcePullImage": true,
"privileged": false,
"parameters": []
}
},
"cpus": 0.25,
"disk": 0,
"fetch": [],
"instances": 1,
"maxLaunchDelaySeconds": 3600,
"mem": 4096,
"gpus": 0,
"networks": [
{
"mode": "host"
}
],
"portDefinitions": [],
"requirePorts": true,
"upgradeStrategy": {
"maximumOverCapacity": 0,
"minimumHealthCapacity": 0.5
},
"killSelection": "YOUNGEST_FIRST",
"unreachableStrategy": {
"inactiveAfterSeconds": 300,
"expungeAfterSeconds": 600
},
"healthChecks": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment