Skip to content
This repository was archived by the owner on Dec 31, 2017. It is now read-only.

Vidazoo/etcd-setter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages