Skip to content

Instantly share code, notes, and snippets.

@pkazi
Created March 25, 2019 17:41
Show Gist options
  • Select an option

  • Save pkazi/d865375b7677761691aafbd6afd8679b to your computer and use it in GitHub Desktop.

Select an option

Save pkazi/d865375b7677761691aafbd6afd8679b to your computer and use it in GitHub Desktop.

Revisions

  1. pkazi created this gist Mar 25, 2019.
    46 changes: 46 additions & 0 deletions redis-cluster-util-mesos-config.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    {
    "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": []
    }