Public | Automated Build

Last pushed: a year ago
Short Description
set etcd keys with ttl
Full Description

etcd-setter

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_VALUE=key value
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
Owner
vidazoohub
Source Repository

Comments (0)