Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for runtimeclass (0.44 sec)

  1. plugin/pkg/admission/runtimeclass/admission_test.go

    		expectError  bool
    		runtimeClass *RuntimeClass
    	}{
    		{
    			name:         "runtimeClass enabled, success",
    			expectError:  false,
    			runtimeClass: newRuntimeClassForTest(true, nil, true, nil),
    		},
    		{
    			name:         "runtimeClass enabled, no lister",
    			expectError:  true,
    			runtimeClass: newRuntimeClassForTest(false, nil, true, nil),
    		},
    		{
    			name:         "runtimeClass enabled, no client",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 17 01:30:14 UTC 2022
    - 17.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/node/v1beta1/generated.pb.go

    }
    
    var xxx_messageInfo_Overhead proto.InternalMessageInfo
    
    func (m *RuntimeClass) Reset()      { *m = RuntimeClass{} }
    func (*RuntimeClass) ProtoMessage() {}
    func (*RuntimeClass) Descriptor() ([]byte, []int) {
    	return fileDescriptor_73bb62abe8438af4, []int{1}
    }
    func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *RuntimeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/node/v1/generated.pb.go

    }
    
    var xxx_messageInfo_Overhead proto.InternalMessageInfo
    
    func (m *RuntimeClass) Reset()      { *m = RuntimeClass{} }
    func (*RuntimeClass) ProtoMessage() {}
    func (*RuntimeClass) Descriptor() ([]byte, []int) {
    	return fileDescriptor_9007436710e7565b, []int{1}
    }
    func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *RuntimeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/node/v1alpha1/generated.pb.go

    }
    
    var xxx_messageInfo_Overhead proto.InternalMessageInfo
    
    func (m *RuntimeClass) Reset()      { *m = RuntimeClass{} }
    func (*RuntimeClass) ProtoMessage() {}
    func (*RuntimeClass) Descriptor() ([]byte, []int) {
    	return fileDescriptor_a8fee97bf5273e47, []int{1}
    }
    func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *RuntimeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    		rcn             *string
    		expectedHandler string
    		expectError     bool
    	}{
    		"unspecified RuntimeClass": {rcn: nil, expectedHandler: ""},
    		"valid RuntimeClass":       {rcn: pointer.String(rctest.SandboxRuntimeClass), expectedHandler: rctest.SandboxRuntimeHandler},
    		"missing RuntimeClass":     {rcn: pointer.String("phantom"), expectError: true},
    	}
    	for name, test := range tests {
    		t.Run(name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      repeated string allowedProcMountTypes = 21;
    
      // runtimeClass is the strategy that will dictate the allowable RuntimeClasses for a pod.
      // If this field is omitted, the pod's runtimeClassName field is unrestricted.
      // Enforcement of this field depends on the RuntimeClass feature gate being enabled.
      // +optional
      optional RuntimeClassStrategyOptions runtimeClass = 24;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. pkg/kubelet/metrics/metrics.go

    	// Broken down by RuntimeClass.Handler.
    	RunPodSandboxDuration = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    			Subsystem: KubeletSubsystem,
    			Name:      RunPodSandboxDurationKey,
    			Help:      "Duration in seconds of the run_podsandbox operations. Broken down by RuntimeClass.Handler.",
    			// Use DefBuckets for now, will customize the buckets if necessary.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  8. 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)
    	if err != nil && err != utilstore.ErrKeyNotFound {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. cluster/gce/config-default.sh

    ADMISSION_CONTROL=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,PersistentVolumeClaimResize,DefaultTolerationSeconds,NodeRestriction,Priority,StorageObjectInUseProtection,RuntimeClass
    
    # MutatingAdmissionWebhook should be the last controller that modifies the
    # request object, otherwise users will be confused if the mutating webhooks'
    # modification is overwritten.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 20:16:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. cluster/gce/config-test.sh

      ADMISSION_CONTROL='NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,NodeRestriction,Priority,StorageObjectInUseProtection,PersistentVolumeClaimResize,RuntimeClass'
      # ResourceQuota must come last, or a creation is recorded, but the pod may be forbidden.
      ADMISSION_CONTROL="${ADMISSION_CONTROL},MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota"
    else
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top