Update content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md
Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
@@ -277,7 +277,8 @@ We can also take the snapshot using various options given by etcdctl. For exampl
|
|||||||
ETCDCTL_API=3 etcdctl --h
|
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
|
```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>
|
||||||
@@ -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
|
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.
|
restoration, critical components will lose leader lock and restart themselves.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user