Trivial fix for network namespace doc

Change-Id: I4d7eb5907cc5f6583f2515e65512f024898c18bb
This commit is contained in:
Yossi Boaron 2018-11-01 14:37:38 +02:00
parent ee626d839d
commit 4595eecf26
1 changed files with 5 additions and 1 deletions

View File

@ -111,13 +111,17 @@ Testing the network per namespace functionality
$ kubectl run -n test1 --image kuryr/demo demo
deployment "demo" created
$ kubectl run -n test1 --image kuryr/demo demo
$ kubectl run -n test2 --image kuryr/demo demo
deployment "demo" created
$ kubectl -n test1 get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE
demo-5995548848-lmmjc 1/1 Running 0 7s 10.0.1.136 node1
$ kubectl -n test2 get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE
demo-5135352253-dfghd 1/1 Running 0 7s 10.0.1.134 node1
4. Create a service::