Skip to main content

Network Policies

By default, this is disabled.

Sync NetworkPolicy resources from the virtual cluster to the host cluster. This ensures correct policies are created in the host cluster to achieve the desired traffic behavior between pods.

Sync NetworkPolicies from the virtual to host cluster

sync:
toHost:
networkPolicies:
enabled: true
info

NetworkPolicy resources inside virtual clusters rely on the host cluster's support for this feature. Make sure that your host cluster satisfies the Network Policy prerequisites.

Config reference

networkPolicies required object pro

NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster.

enabled required boolean pro

Enabled defines if this option should be enabled.