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
pull/886/head
Scott Stensland 2016-07-20 14:30:50 -04:00 committed by GitHub
parent 327d1d3cc0
commit 4c4dd13f36
1 changed files with 1 additions and 1 deletions

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