-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support NodePortLocal on Windows agent and update NPL annotation #3826
Comments
* Support NodePortLocal rules on by using NetNatStaticMapping on windows * Support NPL agent on Windows platform * Require the same Antrea NPL configuration as Linux issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Currently mutateAntreaConfigMap can only support linux agent configmap. This patch will support windows configmap processing. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Add NPL Netnat rules check on windows * Replace busybox with agnhost as the client pod * Still skip windows test by default due to the ovs HNSCall issue issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Add protocol string to new NPLAnnotation set the protocols map as a deprecated value. * Support Node port for UDP and TCP using the different number for a single Pod on Windows. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Support NodePortLocal rules on by using NetNatStaticMapping on windows * Support NPL agent on Windows platform * Require the same Antrea NPL configuration as Linux issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Currently mutateAntreaConfigMap can only support linux agent configmap. This patch will support windows configmap processing. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Add NPL Netnat rules check on windows * Replace busybox with agnhost as the client pod * Still skip windows test by default due to the ovs HNSCall issue issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Add protocol string to new NPLAnnotation set the protocols map as a deprecated value. * Support Node port for UDP and TCP using the different number for a single Pod on Windows. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Support NodePortLocal rules on by using NetNatStaticMapping on windows * Support NPL agent on Windows platform * Require the same Antrea NPL configuration as Linux issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Currently mutateAntreaConfigMap can only support linux agent configmap. This patch will support windows configmap processing. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Add NPL Netnat rules check on windows * Replace busybox with agnhost as the client pod * Still skip windows test by default due to the ovs HNSCall issue issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
* Add protocol string to new NPLAnnotation set the protocols map as a deprecated value. * Support Node port for UDP and TCP using the different number for a single Pod on Windows. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Re-opening this issue as some tasks are not completed. In addition, since #3453, it is no longer possible to run the NPL unit tests on macOS, which is quite annoying when developing locally and troubleshooting. I expect that when the PortTable implementation is unified across Linux & Windows, we will once again be able to run the tests on macOS. |
No, I mean |
Rename the portcache file to support go building across different OSs. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
@antoninbas I think I found the root cause of this unit test failure on MacOS. Files with os specific suffixes follow the same constraints of GO ENV. So previous port_table_linux.go can not be built on MacOs during go test building stage. You can successfully run "go test -v ./pkg/agent/nodeportlocal/." with this fix. |
Rename the portcache file to support go building across different OSs. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Add a portcache file to support go building across different OSs. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Add a portcache file to support go building across different OSs. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Update the portcache file to support go building across different OSs. issue antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Update the portcache file to support go building across different OSs. Fixes antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Update the portcache file to support go building across different OSs. Fixes #3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Update the portcache file to support go building across different OSs. Fixes antrea-io#3826 Signed-off-by: Shuyang Xin <gavinx@vmware.com>
Describe the problem/challenge you have
There's no Windows agent support for NPL so far. We can implement windows npl rules with NetNatStaticMapping.
Describe the solution you'd like
protocols
field is deprecated and only contains a single member which is equal toprotocol
field.The text was updated successfully, but these errors were encountered: