Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IpcNamespaceForPod (0.21 sec)

  1. pkg/kubelet/kuberuntime/util/util.go

    		return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id
    	}
    
    	return false, sandboxStatus.Metadata.Attempt, sandboxStatus.Id
    }
    
    // IpcNamespaceForPod returns the runtimeapi.NamespaceMode
    // for the IPC namespace of a pod
    func IpcNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode {
    	if pod != nil && pod.Spec.HostIPC {
    		return runtimeapi.NamespaceMode_NODE
    	}
    	return runtimeapi.NamespaceMode_POD
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 4.6K bytes
    - Viewed (1)
Back to top