Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for runtimeHandler (0.19 sec)

  1. pkg/kubelet/kuberuntime/convert_test.go

    				Image:          "test",
    				RuntimeHandler: "",
    				Annotations:    []kubecontainer.Annotation(nil),
    			},
    		},
    		{
    			input: &runtimeapi.Image{
    				Id: "test",
    				Spec: &runtimeapi.ImageSpec{
    					RuntimeHandler: "test-runtimeHandler",
    					Annotations: map[string]string{
    						"kubernetes.io/os":             "linux",
    						"kubernetes.io/runtimehandler": "handler",
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/convert.go

    		Annotations: annotations,
    	}
    	// if RuntimeClassInImageCriAPI feature gate is enabled, set runtimeHandler CRI field
    	if utilfeature.DefaultFeatureGate.Enabled(features.RuntimeClassInImageCriAPI) {
    		runtimeHandler := ""
    		if image.Spec != nil {
    			runtimeHandler = image.Spec.RuntimeHandler
    		}
    		spec.RuntimeHandler = runtimeHandler
    	}
    
    	return spec
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 22:52:46 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. pkg/apis/node/v1alpha1/conversion_test.go

    						Effect:   core.TaintEffectNoSchedule,
    					}},
    				},
    			},
    			external: &v1alpha1.RuntimeClass{
    				ObjectMeta: metav1.ObjectMeta{Name: name},
    				Spec: v1alpha1.RuntimeClassSpec{
    					RuntimeHandler: handler,
    					Overhead: &v1alpha1.Overhead{
    						PodFixed: corev1.ResourceList{
    							corev1.ResourceCPU: resource.MustParse(cpuOverhead),
    						},
    					},
    					Scheduling: &v1alpha1.Scheduling{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 09 18:13:07 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  4. pkg/kubelet/runtime.go

    	s.Lock()
    	defer s.Unlock()
    	s.runtimeError = err
    }
    
    func (s *runtimeState) setRuntimeHandlers(rtHandlers []kubecontainer.RuntimeHandler) {
    	s.Lock()
    	defer s.Unlock()
    	s.rtHandlers = rtHandlers
    }
    
    func (s *runtimeState) runtimeHandlers() []kubecontainer.RuntimeHandler {
    	s.RLock()
    	defer s.RUnlock()
    	return s.rtHandlers
    }
    
    func (s *runtimeState) setStorageState(err error) {
    	s.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/node/v1alpha1/types.go

    	// runtime (using native Linux containers) will be used to run the containers
    	// in a pod.
    	// The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123)
    	// requirements, and is immutable.
    	RuntimeHandler string `json:"runtimeHandler" protobuf:"bytes,1,opt,name=runtimeHandler"`
    
    	// overhead represents the resource overhead associated with running a pod for a
    	// given RuntimeClass. For more details, see
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 08:59:25 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  6. pkg/apis/node/v1alpha1/conversion.go

    func Convert_v1alpha1_RuntimeClass_To_node_RuntimeClass(in *v1alpha1.RuntimeClass, out *node.RuntimeClass, s conversion.Scope) error {
    	out.ObjectMeta = in.ObjectMeta
    	out.Handler = in.Spec.RuntimeHandler
    
    	if in.Spec.Overhead != nil {
    		out.Overhead = &node.Overhead{}
    		if err := Convert_v1alpha1_Overhead_To_node_Overhead(in.Spec.Overhead, out.Overhead, s); err != nil {
    			return err
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 24 18:21:00 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/node/v1alpha1/generated.proto

      // runtime (using native Linux containers) will be used to run the containers
      // in a pod.
      // The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123)
      // requirements, and is immutable.
      optional string runtimeHandler = 1;
    
      // overhead represents the resource overhead associated with running a pod for a
      // given RuntimeClass. For more details, see
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/util/util.go

    	runtimeHandler := ""
    	if pod != nil && rcManager != nil {
    		var err error
    		runtimeHandler, err = rcManager.LookupRuntimeHandler(pod.Spec.RuntimeClassName)
    		if err != nil {
    			return nil, err
    		}
    	}
    	userNs, err := runtimeHelper.GetOrCreateUserNamespaceMappings(pod, runtimeHandler)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 23:14:48 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/node.k8s.io.v1alpha1.RuntimeClass.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "runtimeHandler": "runtimeHandlerValue",
        "overhead": {
          "podFixed": {
            "podFixedKey": "0"
          }
        },
        "scheduling": {
          "nodeSelector": {
            "nodeSelectorKey": "nodeSelectorValue"
          },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/node/v1alpha1/generated.proto

      // runtime (using native Linux containers) will be used to run the containers
      // in a pod.
      // The runtimeHandler must be lowercase, conform to the DNS Label (RFC 1123)
      // requirements, and is immutable.
      optional string runtimeHandler = 1;
    
      // overhead represents the resource overhead associated with running a pod for a
      // given RuntimeClass. For more details, see
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top