From af8fc6429fecbb2cf671b9cb249fff9c371205ab Mon Sep 17 00:00:00 2001 From: Ashish Amarnath Date: Fri, 28 Jun 2019 13:12:28 -0700 Subject: [PATCH] fix kubeconfig getting steps in readme Signed-off-by: Ashish Amarnath --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27fe58a..326fc7a 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Make sure you have `kind` > 0.3.0 and `kubectl`. The kubeconfig is on the management cluster in secrets. Grab it and write it to a file: -`kubectl get secrets -o jsonpath='{.data.kubeconfig}' kubeconfig-my-cluster | base64 --decode > ~/.kube/kind-config-my-cluster` +`kubectl get secrets -o jsonpath='{.data.value}' my-cluster-kubeconfig | base64 --decode > ~/.kube/kind-config-my-cluster` Look at the pods in your new worker cluster: `kubectl get po --all-namespaces --kubeconfig ~/.kube/kind-config-my-cluster`