molecule icon indicating copy to clipboard operation
molecule copied to clipboard

dynamically get the nodeport host

Open yahoon opened this issue 1 year ago • 3 comments

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.

yahoon avatar Mar 28 '24 06:03 yahoon

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.

yahoon avatar Apr 01 '24 02:04 yahoon

Hello,

I believe this would help streamline the experience for users trying to use ephemeral kubevirt VMs. Can someone provide feedback?

Thx!

jangel97 avatar Jun 17 '24 13:06 jangel97