Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for runtimeclass (0.41 sec)

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

    		}
    	}
    
    	// return the pod and runtimeClass.
    	return pod, runtimeClass, err
    }
    
    func setOverhead(a admission.Attributes, pod *api.Pod, runtimeClass *nodev1.RuntimeClass) (err error) {
    	if runtimeClass == nil || runtimeClass.Overhead == nil {
    		return nil
    	}
    
    	// convert to internal type and assign to pod's Overhead
    	nodeOverhead := &node.Overhead{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 05:53:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/registry/node/runtimeclass/strategy.go

    	newRuntimeClass := obj.(*node.RuntimeClass)
    	oldRuntimeClass := old.(*node.RuntimeClass)
    
    	_, _ = newRuntimeClass, oldRuntimeClass
    }
    
    // Validate validates a new RuntimeClass. Validation must check for a correct signature.
    func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	runtimeClass := obj.(*node.RuntimeClass)
    	return validation.ValidateRuntimeClass(runtimeClass)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 09 08:17:32 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/node/v1/generated.proto

    // RuntimeClass.
    message Scheduling {
      // nodeSelector lists labels that must be present on nodes that support this
      // RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
      // node matched by this selector. The RuntimeClass nodeSelector is merged
      // with a pod's existing nodeSelector. Any conflicts will cause the pod to
      // be rejected in admission.
      // +optional
      // +mapType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/node/v1/types_swagger_doc_generated.go

    	"scheduling": "scheduling holds the scheduling constraints to ensure that pods running with this RuntimeClass are scheduled to nodes that support it. If scheduling is nil, this RuntimeClass is assumed to be supported by all nodes.",
    }
    
    func (RuntimeClass) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. pkg/apis/node/zz_generated.deepcopy.go

    func (in *RuntimeClass) DeepCopy() *RuntimeClass {
    	if in == nil {
    		return nil
    	}
    	out := new(RuntimeClass)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *RuntimeClass) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  6. pkg/apis/node/types.go

    }
    
    // Scheduling specifies the scheduling constraints for nodes supporting a
    // RuntimeClass.
    type Scheduling struct {
    	// nodeSelector lists labels that must be present on nodes that support this
    	// RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 22 08:59:25 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. pkg/registry/node/runtimeclass/storage/storage.go

    		NewFunc:     func() runtime.Object { return &node.RuntimeClass{} },
    		NewListFunc: func() runtime.Object { return &node.RuntimeClassList{} },
    		ObjectNameFunc: func(obj runtime.Object) (string, error) {
    			return obj.(*node.RuntimeClass).Name, nil
    		},
    		DefaultQualifiedResource:  node.Resource("runtimeclasses"),
    		SingularQualifiedResource: node.Resource("runtimeclass"),
    
    		CreateStrategy: runtimeclass.Strategy,
    		UpdateStrategy: runtimeclass.Strategy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/node/v1alpha1/generated.proto

    }
    
    // Scheduling specifies the scheduling constraints for nodes supporting a
    // RuntimeClass.
    message Scheduling {
      // nodeSelector lists labels that must be present on nodes that support this
      // RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
      // node matched by this selector. The RuntimeClass nodeSelector is merged
      // with a pod's existing nodeSelector. Any conflicts will cause the pod to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/node/v1/generated.proto

    // RuntimeClass.
    message Scheduling {
      // nodeSelector lists labels that must be present on nodes that support this
      // RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
      // node matched by this selector. The RuntimeClass nodeSelector is merged
      // with a pod's existing nodeSelector. Any conflicts will cause the pod to
      // be rejected in admission.
      // +optional
      // +mapType=atomic
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/node/v1alpha1/types_swagger_doc_generated.go

    var map_Scheduling = map[string]string{
    	"":             "Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.",
    	"nodeSelector": "nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top