Auto-generated NetworkPolicies


#1

I see sometimes Rancher automatically creates NetworkPolicies. For example, if a pod has Host Port, rancher creates a NetworkPolicy that allows any pod to access to the ClusterIP of the original pod. I noticed this while deploying Prometheus node-exporter pod.

I’d like to know what conditions bring these auto-generated networkpolicies. Is this configureable in rancher?