Disable service links on virt-launcher Pod
Service links are not used by Kubevirt and cause slower initialization in namespaces with many services.
@@ -1118,6 +1118,9 @@ func (t *templateService) RenderLaunchManifest(vmi *v1.VirtualMachineInstance) (
pod.Spec.SchedulerName = vmi.Spec.SchedulerName
+ enableServiceLinks := false
+ pod.Spec.EnableServiceLinks = &enableServiceLinks
+
if len(serviceAccountName) > 0 {
pod.Spec.ServiceAccountName = serviceAccountName
automount := true
