Made small typo corrections
(1) the help option for etcdctl is -h and not --h. Corrected the same (2) in the snapshot command, the --endpoints option's value has been corrected to reflect the right endpoint.
This commit is contained in:
parent
d830ee0f5b
commit
5c589626fd
|
@ -283,14 +283,14 @@ volume.
|
||||||
We can also take the snapshot using various options given by etcdctl. For example
|
We can also take the snapshot using various options given by etcdctl. For example
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ETCDCTL_API=3 etcdctl --h
|
ETCDCTL_API=3 etcdctl -h
|
||||||
```
|
```
|
||||||
|
|
||||||
will list various options available from etcdctl. For example, you can take a snapshot by specifying
|
will list various options available from etcdctl. For example, you can take a snapshot by specifying
|
||||||
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] \
|
ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 \
|
||||||
--cacert=<trusted-ca-file> --cert=<cert-file> --key=<key-file> \
|
--cacert=<trusted-ca-file> --cert=<cert-file> --key=<key-file> \
|
||||||
snapshot save <backup-file-location>
|
snapshot save <backup-file-location>
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue