Created
July 2, 2020 11:17
-
-
Save velotiotech/ae59e9c96435c3c644ddf9ef10749661 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ETCDCTL_API=3 etcdctl snapshot restore snapshot-188.db \ | |
--name master-0 \ | |
--initial-cluster master-0=http://10.0.1.188:2380,master-01=http://10.0.1.136:2380,master-2=http://10.0.1.155:2380 \ | |
--initial-cluster-token my-etcd-token \ | |
--initial-advertise-peer-urls http://10.0.1.188:2380 | |
ETCDCTL_API=3 etcdctl snapshot restore snapshot-136.db \ | |
--name master-1 \ | |
--initial-cluster master-0=http://10.0.1.188:2380,master-1=http://10.0.1.136:2380,master-2=http://10.0.1.155:2380 \ | |
--initial-cluster-token my-etcd-token \ | |
--initial-advertise-peer-urls http://10.0.1.136:2380 | |
ETCDCTL_API=3 etcdctl snapshot restore snapshot-155.db \ | |
--name master-2 \ | |
--initial-cluster master-0=http://10.0.1.188:2380,master-1=http://10.0.1.136:2380,master-2=http://10.0.1.155:2380 \ | |
--initial-cluster-token my-etcd-token \ | |
--initial-advertise-peer-urls http://10.0.1.155:2380 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment