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

do not skip udp ports in guest agent #3186

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brandonros
Copy link

related to #3178

Copy link
Member

@nirs nirs left a comment

Choose a reason for hiding this comment

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

It looks good to me, but lets see what @balajiv113 thinks.

Did you test it? can you the results?

@nirs nirs requested review from balajiv113 and jandubois February 2, 2025 01:57
@@ -131,11 +131,6 @@ func (s *ServiceWatcher) GetPorts() []Entry {
}

for _, portEntry := range service.Spec.Ports {
if portEntry.Protocol != corev1.ProtocolTCP {
Copy link
Author

Choose a reason for hiding this comment

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

add a check if grpc vs ssh is being used?

Copy link
Member

@nirs nirs Feb 2, 2025

Choose a reason for hiding this comment

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

If the guest agent knows it would be nice to skip only when using the ssh port forwarder. But it is more important to get this working first, optimizing can be done later.

@balajiv113
Copy link
Member

Looks good to me. It would be great if we can try out once with a test logic.

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.

3 participants