debasish bhattacharya:
hi All,
One question about etcd backup.
i am using following command:
ETCDCTL_API=3 etcdctl --endpoints=<https://127.0.0.1:2379> \
--cacert=<trusted-ca-file> --cert=<cert-file> --key=<key-file> \
snapshot save <backup-file-location>
In this --endpoints i am using https://192.168.100.31:2379 which is --advertise-client-url ( check below)
--advertise-client-urls=<https://192.168.100.31:2379>
--cert-file=/etc/kubernetes/pki/etcd/server.crt
Is this correct? etcd backup exercises seems to be successful with this though i see in some solution some people insisting on using 127.0.0.1 from --listen-client-urls=<https://127.0.0.1:2379>,<https://192.168.100.31:2379>
Please let me know.