Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AllContainersAreWindowsHostProcess (0.23 sec)

  1. pkg/kubelet/container/helpers.go

    			hasHostProcess = true
    			return false
    		}
    		return true
    	})
    
    	return hasHostProcess
    }
    
    // AllContainersAreWindowsHostProcess returns true if all containers in a pod are HostProcess containers.
    func AllContainersAreWindowsHostProcess(pod *v1.Pod) bool {
    	allHostProcess := true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    	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) {
    			return nil, fmt.Errorf("pod must not contain both HostProcess and non-HostProcess containers")
    		}
    
    		if !kubecontainer.IsHostNetworkPod(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)
Back to top