From 75377e73e01108a2c52a9a1ae273baa02f366f61 Mon Sep 17 00:00:00 2001 From: Anand Sharma Date: Sun, 25 Feb 2018 11:47:21 -0500 Subject: [PATCH] etcdctl needs more than ETCD_API --- docs/13-smoke-test.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/13-smoke-test.md b/docs/13-smoke-test.md index 7e91805..3ce7f0f 100644 --- a/docs/13-smoke-test.md +++ b/docs/13-smoke-test.md @@ -13,11 +13,16 @@ kubectl create secret generic kubernetes-the-hard-way \ --from-literal="mykey=mydata" ``` -Print a hexdump of the `kubernetes-the-hard-way` secret stored in etcd: +Print a hexdump of the `kubernetes-the-hard-way` secret stored in etcd from `controller-0`: ``` -gcloud compute ssh controller-0 \ - --command "ETCDCTL_API=3 etcdctl get /registry/secrets/default/kubernetes-the-hard-way | hexdump -C" +gcloud compute ssh controller-0 -C +``` + +Once you have logged in, run the following command: + +``` +etcdctl get /registry/secrets/default/kubernetes-the-hard-way | hexdump -C ``` > output