adamant-kite-43734
03/25/2024, 3:38 PMgray-lawyer-73831
03/25/2024, 4:32 PMsudo ETCDCTL_API=3 etcdctl --cert /var/lib/rancher/rke2/server/tls/etcd/server-client.crt --key /var/lib/rancher/rke2/server/tls/etcd/server-client.key --endpoints <https://127.0.0.1:2379> --cacert /var/lib/rancher/rke2/server/tls/etcd/server-ca.crt member list -w table
rapid-house-67417
03/25/2024, 4:38 PMrapid-house-67417
03/25/2024, 4:38 PMgray-lawyer-73831
03/25/2024, 4:45 PMcreamy-pencil-82913
03/25/2024, 4:48 PMrapid-house-67417
03/25/2024, 4:55 PMcreamy-pencil-82913
03/25/2024, 5:06 PMcreamy-pencil-82913
03/25/2024, 5:08 PMmagnificent-dream-65664
03/26/2024, 4:37 AMVERSION="3.5.0"
curl -L <https://github.com/etcd-io/etcd/releases/download/v${VERSION}/etcd-v${VERSION}-linux-amd64.tar.gz> -o etcd-v${VERSION}-linux-amd64.tar.gz
tar xvf etcd-v${VERSION}-linux-amd64.tar.gz
cd etcd-v${VERSION}-linux-amd64
sudo mv etcdctl /usr/local/bin
export ETCDCTL_API=3
export ETCDCTL_CACERT="/var/lib/rancher/rke2/server/tls/etcd/server-ca.crt"
export ETCDCTL_CERT="/var/lib/rancher/rke2/server/tls/etcd/client.crt"
export ETCDCTL_KEY="/var/lib/rancher/rke2/server/tls/etcd/client.key"
export ETCDCTL_ENDPOINTS="<https://10.0.1.7:2379>,<https://10.0.1.4:2379>,<https://10.0.1.6:2379>"
etcdctl endpoint status --write-out=table
rapid-house-67417
03/26/2024, 7:48 AM