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

dynamically get the nodeport host #4158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yahoon
Copy link

@yahoon yahoon commented Mar 28, 2024

Greetings,

This is an update to the example doc of Using Kubevirt. The purpose is to dynamically get the NodePort host to replace the hardcoded hostname that is used for the VM SSH connection.

The problem we solved
By fetching the hostname dynamically, we avoid using a pre-defined host for the VM SSH connection, that will reduce the the potential failures by the connection problem with the host. In this update, the hostname for the SSH connection is fetched dynamically, which is the K8S node where the VM is running.

I get this tested in our environment with @jangel97

Thanks.

Copy link

Label error. Requires exactly 1 of: bug, enhancement, major, minor, patch, skip-changelog. Found:

@yahoon
Copy link
Author

yahoon commented Apr 1, 2024

I don't have the permission to add labels to this PR. Please help add docs, enhancement to it, thanks.

BTW, @jangel97 is the original author of this guide in !3972. He tested this change with me together.

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

Successfully merging this pull request may close these issues.

None yet

1 participant