Created
June 11, 2020 09:11
-
-
Save velotiotech/13fa86a37a02bc92f4724c8d439b6e89 to your computer and use it in GitHub Desktop.
This file contains 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": "/redis4.0-new-failover-test", | |
"instances": 1, | |
"cpus": 1.001, | |
"mem": 2, | |
"disk": 0, | |
"gpus": 0, | |
"backoffSeconds": 1, | |
"backoffFactor": 1.15, | |
"maxLaunchDelaySeconds": 3600, | |
"container": { | |
"type": "DOCKER", | |
"volumes": [ | |
{ | |
"containerPath": "/data", | |
"mode": "RW", | |
"external": { | |
"name": "redis4volume", | |
"provider": "dvdi", | |
"options": { | |
"dvdi/driver": "rexray" | |
} | |
} | |
} | |
], | |
"docker": { | |
"image": "redis:4", | |
"network": "BRIDGE", | |
"portMappings": [ | |
{ | |
"containerPort": 6379, | |
"hostPort": 0, | |
"servicePort": 10101, | |
"protocol": "tcp", | |
"name": "default", | |
"labels": { | |
"VIP_0": "/redis4.0:6379" | |
} | |
} | |
], | |
"privileged": false, | |
"forcePullImage": false | |
} | |
}, | |
"healthChecks": [ | |
{ | |
"gracePeriodSeconds": 60, | |
"intervalSeconds": 5, | |
"timeoutSeconds": 5, | |
"maxConsecutiveFailures": 3, | |
"portIndex": 0, | |
"protocol": "TCP" | |
} | |
], | |
"upgradeStrategy": { | |
"minimumHealthCapacity": 0.5, | |
"maximumOverCapacity": 0 | |
}, | |
"unreachableStrategy": { | |
"inactiveAfterSeconds": 300, | |
"expungeAfterSeconds": 600 | |
}, | |
"killSelection": "YOUNGEST_FIRST", | |
"requirePorts": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment