Update content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md
Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
@@ -281,7 +281,9 @@ will list various options available from etcdctl. For example, you can take a sn
|
|||||||
the endpoint, certificates etc as shown below:
|
the endpoint, certificates etc as shown below:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ETCDCTL_API=3 etcdctl --endpoints=[127.0.0.1:2379] --cacert=<trusted-ca-file> --cert=<cert-file> --key=<key-file> snapshot save <backup-file-location>
|
ETCDCTL_API=3 etcdctl --endpoints=[127.0.0.1:2379] \
|
||||||
|
--cacert=trusted-ca-file --cert=cert-file --key=key-file \
|
||||||
|
snapshot save backup-file-location
|
||||||
```
|
```
|
||||||
where `trusted-ca-file`, `cert-file` and `key-file` can be obtained from the description of the etcd Pod.
|
where `trusted-ca-file`, `cert-file` and `key-file` can be obtained from the description of the etcd Pod.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user