Applying the developer-friendly attributes of APIs to your command line interfaces will increase adoption of your software, make it easier to update over time, and build trust in your business.
2379 12:21:47 recognized and used environment variable ETCD_DATA_DIR=/var/lib/etcd2 12:21:47 recognized and used environment variable ETCD_ELECTION_TIMEOUT=1200 12:21:47 recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=http://10. 0.0.50:2380 12:21:47 recognized and used environment variable ETCD_INITIAL_CLUSTER=controller=http://10. 0.0.50:2380 12:21:47 recognized and used environment variable ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379 12:21:47 recognized and used environment variable ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380 12:21:47 unrecognized environment variable ETCD_NAEM=controller 12:21:47 etcd Version: 2.3.2 12:21:47 Git SHA: ce63f10 12:21:47 Go Version: go1.5.4 12:21:47 Go OS/Arch: linux/amd64 12:21:47 setting maximum number of CPUs to 1, total number of available CPUs is 1 12:21:47 the server is already initialized as member before, starting as etcd member... 12:21:47 listening for peers on http://0.0.0.0:2380 12:21:47 listening for client requests on http://0.0.0.0:2379 12:21:48 recovered store from snapshot at index 8240824
2379 12:21:47 recognized and used environment variable ETCD_DATA_DIR=/var/lib/etcd2 12:21:47 recognized and used environment variable ETCD_ELECTION_TIMEOUT=1200 12:21:47 recognized and used environment variable ETCD_INITIAL_ADVERTISE_PEER_URLS=http://10. 0.0.50:2380 12:21:47 recognized and used environment variable ETCD_INITIAL_CLUSTER=controller=http://10. 0.0.50:2380 12:21:47 recognized and used environment variable ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379 12:21:47 recognized and used environment variable ETCD_LISTEN_PEER_URLS=http://0.0.0.0:2380 12:21:47 unrecognized environment variable ETCD_NAEM=controller 12:21:47 etcd Version: 2.3.2 12:21:47 Git SHA: ce63f10 12:21:47 Go Version: go1.5.4 12:21:47 Go OS/Arch: linux/amd64 12:21:47 setting maximum number of CPUs to 1, total number of available CPUs is 1 12:21:47 the server is already initialized as member before, starting as etcd member... 12:21:47 listening for peers on http://0.0.0.0:2380 12:21:47 listening for client requests on http://0.0.0.0:2379 12:21:48 recovered store from snapshot at index 8240824
run -d ubuntu a736b91c5bd9627671d4fe952103b1422cc123ce40ded73703184577730fce10 $ etcdctl member add infra3 http://10.0.1.13:2380 added member 9bf1b35fc7761a23 to cluster ETCD_NAME="infra3" ETCD_INITIAL_CLUSTER="infra0=http://10.0.1.10:2380,infra1=http: //10.0.1.11:2380,infra2=http://10.0.1.12:2380,infra3=http://10. 0.1.13:2380" ETCD_INITIAL_CLUSTER_STATE=existing