etcd 1 2 3 4 5 6 ETCD_VERSION='3.5.10' wget https://github.com/etcd-io/etcd/releases/download/v${ETCD_VERSION}/etcd-v${ETCD_VERSION}-linux-amd64.tar.gz tar -xvf etcd-v${ETCD_VERSION}-linux-amd64.tar.gz && \ cd etcd-v${ETCD_VERSION}-linux-amd64 && \ sudo cp -a etcd etcdctl /usr/bin/ nohup etcd >/tmp/etcd.log 2>&1 & etcd集群 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 nohup etcd --name infra0 --initial-advertise-peer-urls http://172.16.0.10:2380 \ --listen-peer-urls http://172.16.0.10:2380 \ --listen-client-urls http://172.16.0.10:2379,http://127.0.0.1:2379 \ --advertise-client-urls http://172.16.0.10:2379 \ --initial-cluster-token etcd-cluster-1 \