Fix missing quotes in upgrading examples

Also a small cosmetic change, remove trailing space
This commit is contained in:
bzub 2017-10-09 13:24:56 -05:00
parent 2b910b2a62
commit c3e8c111a7
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ goes wrong.
For example, we'll test upgrading kube-router on worker-01:
```sh
TEST_NODE="worker-01"
TEST_POD="$(kubectl -n kube-system get pods -o wide|grep -E "^kube-router.*${TEST_NODE}"|awk '{ print $1 }')
TEST_POD="$(kubectl -n kube-system get pods -o wide|grep -E "^kube-router.*${TEST_NODE}"|awk '{ print $1 }')"
kubectl -n kube-system delete pod "${TEST_POD}"
```
@ -57,7 +57,7 @@ kubectl -n kube-system get pods -o wide -w
Check the logs with:
```sh
TEST_NODE="worker-01"
TEST_POD="$(kubectl -n kube-system get pods -o wide|grep -E "^kube-router.*${TEST_NODE}"|awk '{ print $1 }')
TEST_POD="$(kubectl -n kube-system get pods -o wide|grep -E "^kube-router.*${TEST_NODE}"|awk '{ print $1 }')"
kubectl -n kube-system logs "${TEST_POD}"
```