Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 194 for preemptionPolicy (0.33 sec)

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

    			} else if test.pod.Spec.PreemptionPolicy != nil && test.expectPreemptionPolicy != nil && *test.pod.Spec.PreemptionPolicy != *test.expectPreemptionPolicy {
    				t.Errorf("Test %q: expected preemption policy is %s, but got %s.", test.name, *test.expectPreemptionPolicy, *test.pod.Spec.PreemptionPolicy)
    			}
    		}
    		if err == nil && test.expectError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 03 18:43:48 UTC 2022
    - 21.2K bytes
    - Viewed (0)
  2. pkg/apis/scheduling/v1/defaults.go

    }
    
    // SetDefaults_PriorityClass sets additional defaults compared to its counterpart
    // in extensions.
    func SetDefaults_PriorityClass(obj *v1.PriorityClass) {
    	if obj.PreemptionPolicy == nil {
    		preemptLowerPriority := apiv1.PreemptLowerPriority
    		obj.PreemptionPolicy = &preemptLowerPriority
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. pkg/apis/scheduling/v1alpha1/defaults.go

    }
    
    // SetDefaults_PriorityClass sets additional defaults compared to its counterpart
    // in extensions.
    func SetDefaults_PriorityClass(obj *v1alpha1.PriorityClass) {
    	if obj.PreemptionPolicy == nil {
    		preemptLowerPriority := apiv1.PreemptLowerPriority
    		obj.PreemptionPolicy = &preemptLowerPriority
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/scheduling/v1alpha1/generated.pb.go

    }
    
    func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if m.PreemptionPolicy != nil {
    		i -= len(*m.PreemptionPolicy)
    		copy(dAtA[i:], *m.PreemptionPolicy)
    		i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PreemptionPolicy)))
    		i--
    		dAtA[i] = 0x2a
    	}
    	i -= len(m.Description)
    	copy(dAtA[i:], m.Description)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/scheduling/v1beta1/generated.pb.go

    }
    
    func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if m.PreemptionPolicy != nil {
    		i -= len(*m.PreemptionPolicy)
    		copy(dAtA[i:], *m.PreemptionPolicy)
    		i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PreemptionPolicy)))
    		i--
    		dAtA[i] = 0x2a
    	}
    	i -= len(m.Description)
    	copy(dAtA[i:], m.Description)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/scheduling/v1alpha1/generated.proto

      // when this priority class should be used.
      // +optional
      optional string description = 4;
    
      // preemptionPolicy is the Policy for preempting pods with lower priority.
      // One of Never, PreemptLowerPriority.
      // Defaults to PreemptLowerPriority if unset.
      // +optional
      optional string preemptionPolicy = 5;
    }
    
    // PriorityClassList is a collection of priority classes.
    message PriorityClassList {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/scheduling.k8s.io.v1alpha1.PriorityClass.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/scheduling/v1beta1/types_swagger_doc_generated.go

    	"description":      "description is an arbitrary string that usually provides guidelines on when this priority class should be used.",
    	"preemptionPolicy": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.",
    }
    
    func (PriorityClass) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/scheduling.k8s.io.v1alpha1.PriorityClass.yaml

        blockOwnerDeletion: true
        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    preemptionPolicy: preemptionPolicyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 970 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/scheduling.k8s.io.v1beta1.PriorityClass.yaml

        blockOwnerDeletion: true
        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    preemptionPolicy: preemptionPolicyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 969 bytes
    - Viewed (0)
Back to top