-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
DO316 - OCP4.16-en-4-20250704
-
None
-
False
-
-
False
-
-
-
en-US (English)
Please fill in the following information:
URL: | |
Reporter RHNID: | |
Section Title: | 3.1. Configuring Network Communication Between Virtual Machines Within the Cluster |
Issue description
The section and its GE create a very convoluted narrative to create a service for a VM. No need to create a label on the VM template.
Running virtctl expose vm/<vmName> –type ClusterIP --target-port XXXX --port YYYY is enough.
If a service must be created using the web interface, use the standard label:
vm.kubevirt.io/name=<vmName>
Steps to reproduce:
Disregard the section "Prepare a Label for a Service" and use the label mentioned previously if you want to create a service with the web interface. Otherwise, run virtctl expose vm/<vmName> as mentioned before
Workaround:
Expected result: