Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for HasWindowsHostProcessContainer (0.49 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    	// If all of the containers in a pod are HostProcess containers, set the pod's HostProcess field
    	// explicitly because the container runtime requires this information at sandbox creation time.
    	if kubecontainer.HasWindowsHostProcessContainer(pod) {
    		// At present Windows all containers in a Windows pod must be HostProcess containers
    		// and HostNetwork is required to be set.
    		if !kubecontainer.AllContainersAreWindowsHostProcess(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pkg/kubelet/container/helpers.go

    			hasPrivileged = true
    			return false
    		}
    		return true
    	})
    	return hasPrivileged
    }
    
    // HasWindowsHostProcessContainer returns true if any of the containers in a pod are HostProcess containers.
    func HasWindowsHostProcessContainer(pod *v1.Pod) bool {
    	var hasHostProcess bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. 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