Bug fix for virtctl expose Service creation

0 views
Skip to first unread message

Orel Misan

unread,
Oct 15, 2025, 10:01:46 AM (2 days ago) Oct 15
to kubevirt-dev
Hello everyone,

I am writing to let you know of a bug we have in the `virtctl expose` command.
Almost four years ago, the `vm.kubevirt.io/name` label was introduced by [1] to be set on virt-launcher pods.
A year or so ago, the `virtctl expose` command was modified [2] to create the Service objects using the label above.

Unfortunately, the value of the label above can be surprising - as it could take the value of the VM's hostname field in case it exists.

I have proposed a backward-compatible fix in PR [3]. Your feedback would be greatly appreciated.

Best regards,
Orel
Reply all
Reply to author
Forward
0 new messages