From 4c4dd13f3631cc98af5fe3f67a9a8701de8c96d2 Mon Sep 17 00:00:00 2001 From: Scott Stensland Date: Wed, 20 Jul 2016 14:30:50 -0400 Subject: [PATCH] I fixed typo on command line If you actually issue these commands you will see the error I am fixing old : kubectl get pods/original -o yaml > /tmp/current.yaml Error from server: pods "original" not found new : kubectl get pods/foo -o yaml > /tmp/current.yaml previously the pod name was wrong --- docs/user-guide/working-with-resources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/working-with-resources.md b/docs/user-guide/working-with-resources.md index 7dc3025daf..243aa72fc5 100644 --- a/docs/user-guide/working-with-resources.md +++ b/docs/user-guide/working-with-resources.md @@ -28,7 +28,7 @@ spec: EOF $ kubectl create -f /tmp/original.yaml pods/original -$ kubectl get pods/original -o yaml > /tmp/current.yaml +$ kubectl get pods/foo -o yaml > /tmp/current.yaml pods/original $ wc -l /tmp/original.yaml /tmp/current.yaml 51 /tmp/current.yaml