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 vtunnel guest agent #7371

Merged
merged 2 commits into from
Aug 23, 2024
Merged

Remove vtunnel guest agent #7371

merged 2 commits into from
Aug 23, 2024

Conversation

Nino-K
Copy link
Member

@Nino-K Nino-K commented Aug 21, 2024

Removes all the vtunnel and privileged services references out of the guest agent.

Fixes: #7362

@Nino-K Nino-K force-pushed the remove-vtunnel-guest-agent branch 2 times, most recently from 8a2d0c1 to 46b0e9d Compare August 21, 2024 20:22
Copy link
Contributor

@mook-as mook-as left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some trivial comment / doc changes; presumably there will be follow-up PRs to handle properly removing listenerOnlyMode.

In newer versions of Kubernetes†, `kubelet` no longer creates a listener for NodePort services. We therefore need to create those listeners manually, so that port forward works correctly as in the container port forwarding above.

† 1.21.12+, 1.22.10+, 1.23.7+, 1.24+
[Rancher Desktop Guest Agent](https://github.com/rancher-sandbox/rancher-desktop/blob/e224943683920a7ecb9ca5655097075a9ce4cefe/docs/networking/windows/rancher-desktop-guest-agent.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to make this a relative link

Suggested change
[Rancher Desktop Guest Agent](https://github.com/rancher-sandbox/rancher-desktop/blob/e224943683920a7ecb9ca5655097075a9ce4cefe/docs/networking/windows/rancher-desktop-guest-agent.md)
[Rancher Desktop Guest Agent](/docs/networking/windows/rancher-desktop-guest-agent.md)

@@ -220,7 +187,7 @@ func main() {
// of the legacy network, requiring listeners only. In listenerOnlyMode, we create
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 185 of the comment still refers to privileged services.

It sounds like we never want listenerOnlyMode at all (since the comment says it should only be active in old network). Presumably we'll deal with that later in a separate PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I will make a follow-up PR to remove this one.

All vtunnel refrences is removed out of the code,
the guest agent now only supports the namespaced
network.

Signed-off-by: Nino Kodabande <nkodabande@suse.com>
Signed-off-by: Nino Kodabande <nkodabande@suse.com>
@Nino-K Nino-K merged commit 683f5cf into main Aug 23, 2024
24 of 25 checks passed
@Nino-K Nino-K deleted the remove-vtunnel-guest-agent branch August 23, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Vtunnel
2 participants