Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15276

Creating a label to associate a VM with a service is not needed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • DO316 - OCP4.16-en-4-20250704
    • DO316
    • None
    • False
    • Hide

      None

      Show
      None
    • 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:

              rht-bgargallo Bernardo Andres Gargallo Jaquotot
              rhn-gls-rtaniguchi Ricardo Taniguchi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: