Created
March 25, 2019 17:13
-
-
Save pkazi/24b9dbd324641547d7d6db61b48391b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "/#NODENAME#", | |
"backoffFactor": 1.15, | |
"backoffSeconds": 1, | |
"constraints": [ | |
[ | |
"hostname", | |
"CLUSTER", | |
"#NODEHOSTIP#" | |
] | |
], | |
"container": { | |
"type": "DOCKER", | |
"volumes": [ | |
{ | |
"external": { | |
"name": "#VOLUMENAME#", | |
"provider": "dvdi", | |
"options": { | |
"dvdi/driver": "rexray" | |
} | |
}, | |
"mode": "RW", | |
"containerPath": "/data" | |
} | |
], | |
"docker": { | |
"image": "parvezkazi13/redis:latest", | |
"forcePullImage": false, | |
"privileged": false, | |
"parameters": [] | |
} | |
}, | |
"cpus": 0.5, | |
"disk": 0, | |
"fetch": [], | |
"healthChecks": [], | |
"instances": 1, | |
"maxLaunchDelaySeconds": 3600, | |
"mem": 4096, | |
"gpus": 0, | |
"networks": [ | |
{ | |
"mode": "host" | |
} | |
], | |
"portDefinitions": [ | |
{ | |
"labels": { | |
"VIP_0": "/#NODEVIP#:6379" | |
}, | |
"name": "#NODEVIP#", | |
"protocol": "tcp", | |
"port": 6379 | |
} | |
], | |
"requirePorts": true, | |
"upgradeStrategy": { | |
"maximumOverCapacity": 0, | |
"minimumHealthCapacity": 0.5 | |
}, | |
"killSelection": "YOUNGEST_FIRST", | |
"unreachableStrategy": { | |
"inactiveAfterSeconds": 300, | |
"expungeAfterSeconds": 600 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment