Connections between host-network and normal pods failing after creating NetworkPolicy
Issue
- The
host-networkpods can't connect to normal pods running on a different node when theallow-same-namespaceordeny-by-defaultNetworkPolicy is created while the pods are in the same namespace. - The issue resolves only after creating
allow-from-hostnetworkNetworkPolicy which allows ingress traffic from the namespace with the labelpolicy-group.network.openshift.io/host-network.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.