Skip to content

Commit 54c2113

Browse files
sfowlopenshift-cherrypick-robot
authored and
openshift-cherrypick-robot
committed
Add warning when using NetworkPolicy with hostNetwork
1 parent 437de9d commit 54c2113

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/nw-networkpolicy-about.adoc

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ The Kubernetes `v1` NetworkPolicy features are available in {product-title}
1717
except for egress policy types and IPBlock.
1818
====
1919

20+
[WARNING]
21+
====
22+
`NetworkPolicy` rules do not apply to the host network namespace. Pods with host networking enabled are unaffected by `NetworkPolicy` rules.
23+
====
24+
2025
By default, all Pods in a project are accessible from other Pods and network
2126
endpoints. To isolate one or more Pods in a project, you can create
2227
NetworkPolicy objects in that project to indicate the allowed incoming

0 commit comments

Comments
 (0)