Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for runtimeHandler (0.2 sec)

  1. staging/src/k8s.io/api/node/v1alpha1/types_swagger_doc_generated.go

    	"runtimeHandler": "runtimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration.  It is assumed that all handlers are available on...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/helpers_test.go

    	c := &runtimeapi.Container{
    		Id: "test-id",
    		Metadata: &runtimeapi.ContainerMetadata{
    			Name:    "test-name",
    			Attempt: 1,
    		},
    		Image:    &runtimeapi.ImageSpec{Image: "test-image", RuntimeHandler: "test-runtimeHandler"},
    		ImageId:  "test-image-id",
    		ImageRef: "test-image-ref",
    		State:    runtimeapi.ContainerState_CONTAINER_RUNNING,
    		Annotations: map[string]string{
    			containerHashLabel: "1234",
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/helpers.go

    			Message: c.Message,
    		})
    	}
    	retHandlers := make([]kubecontainer.RuntimeHandler, len(handlers))
    	for i, h := range handlers {
    		supportsRRO := false
    		supportsUserns := false
    		if h.Features != nil {
    			supportsRRO = h.Features.RecursiveReadOnlyMounts
    			supportsUserns = h.Features.UserNamespaces
    		}
    		retHandlers[i] = kubecontainer.RuntimeHandler{
    			Name:                            h.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. pkg/kubelet/runtimeclass/runtimeclass_manager.go

    // purposes.
    func (m *Manager) WaitForCacheSync(stopCh <-chan struct{}) {
    	m.informerFactory.WaitForCacheSync(stopCh)
    }
    
    // LookupRuntimeHandler returns the RuntimeHandler string associated with the given RuntimeClass
    // name (or the default of "" for nil). If the RuntimeClass is not found, it returns an
    // errors.NotFound error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 11 19:22:32 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  7. pkg/kubelet/userns/userns_manager.go

    	if handlerSupportsUserns, err := m.kl.HandlerSupportsUserNamespaces(runtimeHandler); err != nil {
    		return nil, err
    	} else if !handlerSupportsUserns {
    		return nil, fmt.Errorf("RuntimeClass handler %q does not support user namespaces", runtimeHandler)
    	}
    
    	m.lock.Lock()
    	defer m.lock.Unlock()
    
    	content, err := m.readMappingsFromFile(pod.UID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/node/v1alpha1/generated.pb.go

    				return 0, err
    			}
    			i -= size
    			i = encodeVarintGenerated(dAtA, i, uint64(size))
    		}
    		i--
    		dAtA[i] = 0x12
    	}
    	i -= len(m.RuntimeHandler)
    	copy(dAtA[i:], m.RuntimeHandler)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.RuntimeHandler)))
    	i--
    	dAtA[i] = 0xa
    	return len(dAtA) - i, nil
    }
    
    func (m *Scheduling) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. pkg/kubelet/container/testing/fake_runtime_helper.go

    	return "/poddir/" + string(podUID)
    }
    
    func (f *FakeRuntimeHelper) GetExtraSupplementalGroupsForPod(pod *v1.Pod) []int64 {
    	return nil
    }
    
    func (f *FakeRuntimeHelper) GetOrCreateUserNamespaceMappings(pod *v1.Pod, runtimeHandler string) (*runtimeapi.UserNamespace, error) {
    	return nil, nil
    }
    
    func (f *FakeRuntimeHelper) PrepareDynamicResources(pod *v1.Pod) error {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 11:01:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_getters_test.go

    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    	defer testKubelet.Cleanup()
    	kubelet := testKubelet.kubelet
    
    	kubelet.runtimeState.setRuntimeHandlers([]kubecontainer.RuntimeHandler{
    		{
    			Name:                   "has-support",
    			SupportsUserNamespaces: true,
    		},
    		{
    			Name:                   "has-no-support",
    			SupportsUserNamespaces: false,
    		},
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top