From 5c589626fd27950e231022b089eb0ff3fa166671 Mon Sep 17 00:00:00 2001 From: ganeshniyer Date: Mon, 29 Mar 2021 14:04:48 +0530 Subject: [PATCH 1/2] 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. --- .../docs/tasks/administer-cluster/configure-upgrade-etcd.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md b/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md index 5dee2ae185..f626d4d1b6 100644 --- a/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md +++ b/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md @@ -283,14 +283,14 @@ volume. We can also take the snapshot using various options given by etcdctl. For example ```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 the endpoint, certificates etc as shown below: ```shell -ETCDCTL_API=3 etcdctl --endpoints=[127.0.0.1:2379] \ +ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 \ --cacert= --cert= --key= \ snapshot save ``` From e6e3f00a44cc5bd70e21ca1f20fe81c13c3eefa3 Mon Sep 17 00:00:00 2001 From: ganeshniyer Date: Tue, 30 Mar 2021 21:30:49 +0530 Subject: [PATCH 2/2] Corrected a clarification based on the review removed [ and ] in the command ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 \ --cacert= --cert= --key= \ snapshot save --- .../en/docs/tasks/administer-cluster/configure-upgrade-etcd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md b/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md index f626d4d1b6..ffa688e1b7 100644 --- a/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md +++ b/content/en/docs/tasks/administer-cluster/configure-upgrade-etcd.md @@ -290,7 +290,7 @@ will list various options available from etcdctl. For example, you can take a sn the endpoint, certificates etc as shown below: ```shell -ETCDCTL_API=3 etcdctl --endpoints=https://[127.0.0.1]:2379 \ +ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 \ --cacert= --cert= --key= \ snapshot save ```