Adjusts the heartbeat and TTL for the ucp-swarm-join container on a specific UCP or DTR node.
1.6K
#Purpose This tool will:
--ttl and --heartbeat arguments in its run command/etc/docker/daemon.json on the node/etc/docker/daemon.json to include discovery.heartbeat and discovery.ttl settings#Usage First, either ssh to a UCP/DTR node, or ensure your docker client is configured to interact with the node you want to target.
For example,
eval $(docker-machine env node1)
docker info
or
docker-machine ssh node1
docker info
Then run this image:
docker run --rm dockerorcadev/ucp-update-swarm --help
docker run --rm \
--privileged \
--pid=host \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/docker.pid:/var/run/docker.pid \
-v /etc/docker:/etc/docker \
dockerorcadev/ucp-update-swarm --ttl 900 --heartbeat 300
Note: In general, this tool should be run on every node in a DDC cluster (all UCP nodes and all DTR nodes).
Content type
Image
Digest
Size
256.5 MB
Last updated
about 10 years ago
docker pull dockerorcadev/ucp-update-swarm