mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-10 01:11:12 +02:00
Fix missing quotes in upgrading examples
Also a small cosmetic change, remove trailing space
This commit is contained in:
parent
2b910b2a62
commit
c3e8c111a7
@ -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}"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user