Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support nodeSelector in ACNP/ANP ingress/egress rules
1. Add `nodeSelector` field in ACNP/ANP ingress/egress rules to restrict traffic to/from particular Nodes. 2. Add Node IPs info in the output of `antctl get addressgroup`. For example: ``` antctl get addressgroup NAME POD-IPS NODE-IPS 5e1bbf8e-67a3-5384-b2bf-e42e93bd68aa <NONE> 192.168.0.1, 10.176.27.105 f8c56571-d6db-51ec-9352-a9a47476a9a0 192.168.0.70,192.168.1.38,192.168.1.39 <NONE> antctl get addressgroup -oyaml - name: 5e1bbf8e-67a3-5384-b2bf-e42e93bd68aa nodes: - ip: 192.168.0.1, 10.176.27.105 node: name: wenqiq01-1 - name: f8c56571-d6db-51ec-9352-a9a47476a9a0 pods: - ip: 192.168.1.38 pod: name: iperf3-55bcff667d-v495l namespace: demo - ip: 192.168.1.39 pod: name: iperf3-55bcff667d-c74ll namespace: demo - ip: 192.168.0.70 pod: name: iperf3-55bcff667d-pz2d2 namespace: demo ``` Fixes: #3023 Signed-off-by: Wenqi Qiu <wenqiq@vmware.com> Co-authored-by: Quan Tian <qtian@vmware.com>
- Loading branch information
Showing
42 changed files
with
2,612 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.