Bootstrap

etcd 备份还原

下载 etcdctl

wget https://github.com/etcd-io/etcd/releases/download/v3.4.13/etcd-v3.4.13-linux-amd64.tar.gz

设置备份还原所需环境变量

ETCDCTL_API=3
endpoint=https://10.157.1.16:2379
cacert=/etc/kubernetes/pki/etcd/ca.crt
cert=/etc/kubernetes/
;