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.
| Field / Type | Description |
|---|---|
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.
|