Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"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
You can’t perform that action at this time.