Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for runtimeHandler (0.2 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/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)
  3. pkg/kubelet/images/image_gc_manager.go

    			imageKey = getImageTuple(image.ID, image.Spec.RuntimeHandler)
    			klog.V(5).InfoS("Adding image ID with runtime class to currentImages", "imageKey", imageKey, "runtimeHandler", image.Spec.RuntimeHandler)
    		}
    
    		currentImages.Insert(imageKey)
    
    		// New image, set it as detected now.
    		if _, ok := im.imageRecords[imageKey]; !ok {
    			klog.V(5).InfoS("Image ID is new", "imageID", imageKey, "runtimeHandler", image.Spec.RuntimeHandler)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. pkg/kubelet/images/image_manager_test.go

    		image := images[0]
    		assert.Equal(t, "missing_image:latest", image.ID, "Image ID")
    		assert.Equal(t, "", image.Spec.RuntimeHandler, "image.Spec.RuntimeHandler not empty", "ImageID", image.ID)
    
    		expectedAnnotations := []Annotation{
    			{
    				Name:  "kubernetes.io/runtimehandler",
    				Value: "handler_name",
    			}}
    		assert.Equal(t, expectedAnnotations, image.Spec.Annotations, "image spec annotations")
    	})
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/api/testdata/v1.30.0/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: Thu Apr 18 08:52:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/node.k8s.io.v1alpha1.RuntimeClass.yaml

        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      overhead:
        podFixed:
          podFixedKey: "0"
      runtimeHandler: runtimeHandlerValue
      scheduling:
        nodeSelector:
          nodeSelectorKey: nodeSelectorValue
        tolerations:
        - effect: effectValue
          key: keyValue
          operator: operatorValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_image.go

    		// of not populating the runtimeHandler CRI field in ImageSpec struct is preserved.
    		// Therefore, when RuntimeClassInImageCriAPI feature gate is set, check to see if this
    		// field is empty and log a warning message.
    		if utilfeature.DefaultFeatureGate.Enabled(features.RuntimeClassInImageCriAPI) {
    			if img.Spec == nil || (img.Spec != nil && img.Spec.RuntimeHandler == "") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 00:30:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top