Samir:
Anyone know if the endpoint from etcd backup is always the same?
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>
if now, where I should look for it
Fernando Jimenez:
It might not be the same.
Nico Oosterwijk:
in the etcd.yaml manifest check the url that is advertised for the client
Mohamed Ayman:
If you want to take a snapshot with multiple endpoints for automated backup scripts, you will need to add multiple endpoints in the --endpoints flag. This https://127.0.0.1:2379|https://127.0.0.1:2379 is the default endpoint so if the IP changed will need to add It in the --endpoints too.
Samir:
Ah ok. So i have to describe etcd pod and look die listen adress?