Jason:
Question about the ETCD practice test
I have performed the following command {the top one does not work, the bottom one does but it is the answer key) I do not know what the difference is in the two. If I run the top on, it fails due to a path error stating that the path or file does not exist. The second command works though. Any thoughts here? The only thing I see idfferent is the brackets around the endpoint IP address but this was not shown in the video.
ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 \
–cacert=/etc/kubernetes/pki/etcd/ca.crt
–cert=/etc/kubernetes/pki/etcd/server.crt
–key=/etc/kubernetes/pki/etcd/server.key
snapshot save /opt/snapshot-pre-boot.db
ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379
–cacert=/etc/kubernetes/pki/etcd/ca.crt
–cert=/etc/kubernetes/pki/etcd/server.crt
–key=/etc/kubernetes/pki/etcd/server.key
snapshot save /opt/snapshot-pre-boot.db