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
This commit is contained in:
Scott Stensland
2016-07-20 14:30:50 -04:00
committed by GitHub
parent 327d1d3cc0
commit 4c4dd13f36
+1 -1
View File
@@ -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