mirror of
https://github.com/cloudnativelabs/kube-router.git
synced 2025-10-09 08:51:03 +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
@ -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/
|
||||
|
@ -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