Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Peer configuration via ETCDCTL_PEERS env variable #95

Closed
wants to merge 1 commit into from
Closed

Peer configuration via ETCDCTL_PEERS env variable #95

wants to merge 1 commit into from

Conversation

ajf
Copy link
Contributor

@ajf ajf commented Jul 4, 2014

Add an environment variable for configuring peers. We have many clusters with individual etcd clusters and we can set this environment variable on each machine in their respective clusters, then we can just run etcdctl .. commands without specifying --peers each time.

This was the obvious way to implement it, but could be done another way if there are better ways (default in etcdctl.go, maybe?).

@philips
Copy link
Contributor

philips commented Jul 5, 2014

lgtm

@philips
Copy link
Contributor

philips commented Jul 8, 2014

merged via fb2731b. Thanks!

@philips philips closed this Jul 8, 2014
@ajf ajf deleted the add-environment-peers branch July 8, 2014 03:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants