Skip to content
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

Remove listenerOnlyMode out of guestAgent #7447

Closed
Tracked by #7296
Nino-K opened this issue Sep 10, 2024 · 0 comments · Fixed by #7446
Closed
Tracked by #7296

Remove listenerOnlyMode out of guestAgent #7447

Nino-K opened this issue Sep 10, 2024 · 0 comments · Fixed by #7446
Assignees
Labels
Milestone

Comments

@Nino-K
Copy link
Member

Nino-K commented Sep 10, 2024

We should remove the functionality for creating iptables listeners, as we no longer depend on WSL listener forwarding within the virtual network. Additionally, we previously did not invoke the host-switch API for iptables entries, an issue this PR addresses. Furthermore, this PR eliminates the redundant iptables package. Originally, the purpose of scraping iptables was to capture the port mappings from /proc/net/tcp, which were inserted by the CNI portmap plugin. However, we now subscribe directly to the Kubernetes API and obtain all port mappings directly from the API within the kube/watcher package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant