From 6c2ff6340ef410dd20bc169ac90d0069c94b6564 Mon Sep 17 00:00:00 2001 From: Yug Date: Sat, 14 Aug 2021 22:28:25 -0700 Subject: [PATCH] Update label in NetworkPolicy example description This change intends to fix the label name in the range of ports NetworkPolicy example. --- .../en/docs/concepts/services-networking/network-policies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/services-networking/network-policies.md b/content/en/docs/concepts/services-networking/network-policies.md index d415b836f2..e3f3a203b7 100644 --- a/content/en/docs/concepts/services-networking/network-policies.md +++ b/content/en/docs/concepts/services-networking/network-policies.md @@ -252,7 +252,7 @@ spec: endPort: 32768 ``` -The above rule allows any Pod with label `db` on the namespace `default` to communicate +The above rule allows any Pod with label `role=db` on the namespace `default` to communicate with any IP within the range `10.0.0.0/24` over TCP, provided that the target port is between the range 32000 and 32768.