Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for hostProcess (0.1 sec)

  1. pkg/kubelet/container/helpers_test.go

    			podSpec: &v1.PodSpec{
    				HostNetwork: true,
    				Containers: []v1.Container{{
    					Name: containerName,
    					SecurityContext: &v1.SecurityContext{
    						WindowsOptions: &v1.WindowsSecurityContextOptions{
    							HostProcess: &trueVar,
    						},
    					},
    				}},
    			},
    			expectedResult: true,
    		},
    		{
    			name: "pod with hostprocess=false, container with hostprocess=true",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    						WindowsOptions: &v1.WindowsSecurityContextOptions{
    							HostProcess: &falseVar,
    						},
    					},
    				}},
    			},
    			expectedWindowsConfig: nil,
    			expectedError:         fmt.Errorf("pod must not contain both HostProcess and non-HostProcess containers"),
    		},
    		{
    			name: "Pod with HostProcess containers and HostNetwork not set",
    			podSpec: &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    			return nil, fmt.Errorf("pod must not contain both HostProcess and non-HostProcess containers")
    		}
    
    		if !kubecontainer.IsHostNetworkPod(pod) {
    			return nil, fmt.Errorf("hostNetwork is required if Pod contains HostProcess containers")
    		}
    
    		wc.SecurityContext.HostProcess = true
    	}
    
    	sc := pod.Spec.SecurityContext
    	if sc == nil || sc.WindowsOptions == nil {
    		return wc, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.yaml

                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
                gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                hostProcess: true
                runAsUserName: runAsUserNameValue
            startupProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
                port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PodTemplate.yaml

              type: typeValue
            windowsOptions:
              gmsaCredentialSpec: gmsaCredentialSpecValue
              gmsaCredentialSpecName: gmsaCredentialSpecNameValue
              hostProcess: true
              runAsUserName: runAsUserNameValue
          startupProbe:
            exec:
              command:
              - commandValue
            failureThreshold: 6
            grpc:
              port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/extensions.v1beta1.ReplicaSet.yaml

                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
                gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                hostProcess: true
                runAsUserName: runAsUserNameValue
            startupProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
                port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 34.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/apps.v1.ReplicaSet.yaml

                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
                gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                hostProcess: true
                runAsUserName: runAsUserNameValue
            startupProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
                port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/apps.v1.DaemonSet.yaml

                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
                gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                hostProcess: true
                runAsUserName: runAsUserNameValue
            startupProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
                port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta2.DaemonSet.yaml

                type: typeValue
              windowsOptions:
                gmsaCredentialSpec: gmsaCredentialSpecValue
                gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                hostProcess: true
                runAsUserName: runAsUserNameValue
            startupProbe:
              exec:
                command:
                - commandValue
              failureThreshold: 6
              grpc:
                port: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.yaml

                    type: typeValue
                  windowsOptions:
                    gmsaCredentialSpec: gmsaCredentialSpecValue
                    gmsaCredentialSpecName: gmsaCredentialSpecNameValue
                    hostProcess: true
                    runAsUserName: runAsUserNameValue
                startupProbe:
                  exec:
                    command:
                    - commandValue
                  failureThreshold: 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 40.5K bytes
    - Viewed (0)
Back to top