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 wrongpull/886/head
parent
327d1d3cc0
commit
4c4dd13f36
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue