Update content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>
pull/27161/head
ganeshniyer 2021-03-22 17:16:56 +05:30 committed by GitHub
parent 8e8b2819ac
commit 955acb710d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,8 @@ We can also take the snapshot using various options given by etcdctl. For exampl
ETCDCTL_API=3 etcdctl --h
```
will list various options avilable with etcdctl. If you want to take a snapshot by specifying various options available here, you can do so. For example, to take a snapshot by specifying the endpoint, certificates etc is as given below
will list various options available from etcdctl. For example, you can take a snapshot by specifying
the endpoint, certificates etc as shown below:
```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>
@ -339,4 +340,3 @@ We also recommend restarting any components (e.g. `kube-scheduler`,
stale data. Note that in practice, the restore takes a bit of time. During the
restoration, critical components will lose leader lock and restart themselves.
{{< /note >}}