Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasWindowsHostProcessContainer (0.22 sec)

  1. pkg/kubelet/kubelet_pods.go

    // - Windows pod contains a hostProcess container
    func shouldMountHostsFile(pod *v1.Pod, podIPs []string) bool {
    	shouldMount := len(podIPs) > 0
    	if runtime.GOOS == "windows" {
    		return shouldMount && !kubecontainer.HasWindowsHostProcessContainer(pod)
    	}
    	return shouldMount
    }
    
    // makeMounts determines the mount points for the given container.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top