Public | Automated Build

Last pushed: 2 years ago
Short Description
set etcd keys with ttl
Full Description


sets an etcd key-value with ttl and ensures keeping it while the container is running

required values:
ETCD_SERVER=etcd server ip\fqdn
ETCD_PORT=etcd server port
ETCD_SETTER_KEY=key to set, it will be set into the /autoscale/ path (example: /autoscale/test/blabla will have you inserting "test/blabla" as the key)
ETCD_SETTER_TTL=number of seconds for ttl, must be devidable by 2

every ETCD_SETTER_TTL/2 the container will update ETCD to keep the values existing until it is stopped or the server hosting it dies.
this is usuful for creating etcd groups which can then be qureied to get a list of IP's of servers in an autoscaling group.
docker image is based on alpine linux because it's so damn small.

Docker Pull Command
Source Repository