Public | Automated Build

Last pushed: 6 months ago
Short Description
Zookeeper image that uses Marathon's API for cluster discovery
Full Description

Docker Zookeeper with Marathon discovery support

Example Usage;

  "id": "/zookeeper",
  "cmd": null,
  "cpus": 0.1,
  "mem": 128,
  "disk": 0,
  "instances": 3,
  "constraints": [
    [
      "hostname",
      "UNIQUE"
    ]
  ],
  "container": {
    "type": "DOCKER",
    "volumes": [],
    "docker": {
      "image": "jamiecressey89/marathon-zookeeper",
      "network": "HOST",
      "portMappings": null,
      "privileged": false,
      "parameters": [],
      "forcePullImage": true
    }
  },
  "env": {
    "MARATHON_URL": "http://marathon:8080"
  },
  "healthChecks": [
    {
      "protocol": "TCP",
      "portIndex": 0,
      "gracePeriodSeconds": 300,
      "intervalSeconds": 60,
      "timeoutSeconds": 20,
      "maxConsecutiveFailures": 3,
      "ignoreHttp1xx": false
    }
  ],
  "portDefinitions": [
    {
      "protocol": "tcp",
      "labels": {}
    },
    {
      "protocol": "tcp",
      "labels": {}
    },
    {
      "protocol": "tcp",
      "labels": {}
    },
    {
      "protocol": "tcp",
      "labels": {}
    }
  ],
  "upgradeStrategy": {
    "minimumHealthCapacity": 0.1,
    "maximumOverCapacity": 0.1
  }
}
Docker Pull Command
Owner
jamiecressey89
Source Repository

Comments (0)