In AWS when a spot instance receives a shutdown notification, this image drains the node and removes the instance from swarm
On node startup run:
docker run -it \
-v /var/run/docker.sock:/var/run/docker.sock \
nikoogle/swarm-aws-spot-terminator
docker run \
--restart=always -d \
-v /var/run/docker.sock:/var/run/docker.sock \
nikoogle/swarm-aws-spot-terminator
Content type
Image
Digest
Size
72.4 MB
Last updated
over 5 years ago
docker pull nikoogle/swarm-aws-spot-terminator