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

@ -54,7 +54,7 @@ Features:
Network policy controller is responsible for reading the namespace, network policy and pods information from Kubernetes API server and configure iptables accordingly to provide ingress filter to the pods.
Kube-router supports the networking.k8s.io/NetworkPolicy API or network policy V1/GA
[semantics](https://github.com/kubernetes/kubernetes/pull/39164#issue-197243974) and also network policy beta semantics.
[semantics](https://github.com/kubernetes/kubernetes/pull/39164#issue-197243974) and also network policy beta semantics.
Please read blog for design details of Network Policy controller
https://cloudnativelabs.github.io/post/2017-05-1-kube-network-policies/

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}"
```