rancher v2.15.1

Cluster.spec.enableNetworkPolicy

EnableNetworkPolicy defines whether project network isolation is enabled, preventing inter-project communication. It can be used with any network plugin that supports Kubernetes NetworkPolicy enforcement (e.g. canal, calico, cilium). Host network policies are only configured for RKE2 clusters using Calico; other CNIs apply host network policies using pod CIDRs.

1 fields
Cluster.spec.enableNetworkPolicy fields and descriptions
Field / TypeDescription
Cluster.spec.enableNetworkPolicy
boolean

EnableNetworkPolicy defines whether project network isolation is enabled, preventing inter-project communication. It can be used with any network plugin that supports Kubernetes NetworkPolicy enforcement (e.g. canal, calico, cilium). Host network policies are only configured for RKE2 clusters using Calico; other CNIs apply host network policies using pod CIDRs.

  • nullable