Update declare-network-policy.md

Fix the format. The format in orginal web page is confusion.
This commit is contained in:
Stewart-YU 2017-08-22 20:37:50 +08:00 committed by Jessica Yao
parent 618c212c32
commit 9105932510
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ spec:
## Assign the policy to the service
Use kubectl to create a NetworkPolicy from the above nginx-policy.yaml file:
```console
$ kubectl create -f nginx-policy.yaml
networkpolicy "access-nginx" created