Add nodeSelector support in ClusterGroup #7040
Labels
area/network-policy
Issues or PRs related to network policies.
kind/feature
Categorizes issue or PR as related to a new feature.
reported-by/end-user
Issues reported by end users.
There is a use case reported from the end user that four clusters are sharing one API service IP (shared one controller plane?) in their env. The user wants to set up ACNPs to make sure only selected Pods are allowed to the K8s API Service, so he/she created a ClusterGroup with pod and namespace selector matching kube-apiserver labels, however, due to the Antrea-controller would omit the hostNetwork Pods in ClusterGroup members, it doesn't meet their requirement.
In order to allow users to create ACNPs to do the right network policy control in such scenarios, it would be good to have
nodeSelector
support in ClusterGroup.The text was updated successfully, but these errors were encountered: