From 9105932510e05c8ce7666bdc15d952d11cb323db Mon Sep 17 00:00:00 2001 From: Stewart-YU Date: Tue, 22 Aug 2017 20:37:50 +0800 Subject: [PATCH] Update declare-network-policy.md Fix the format. The format in orginal web page is confusion. --- docs/tasks/administer-cluster/declare-network-policy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tasks/administer-cluster/declare-network-policy.md b/docs/tasks/administer-cluster/declare-network-policy.md index da7f6f5ecf..c473614fe0 100644 --- a/docs/tasks/administer-cluster/declare-network-policy.md +++ b/docs/tasks/administer-cluster/declare-network-policy.md @@ -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