Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for preemptionPolicy (0.38 sec)

  1. pkg/apis/core/validation/validation.go

    	return allErrors
    }
    
    func ValidatePreemptionPolicy(preemptionPolicy *core.PreemptionPolicy, fldPath *field.Path) field.ErrorList {
    	allErrors := field.ErrorList{}
    	switch *preemptionPolicy {
    	case core.PreemptLowerPriority, core.PreemptNever:
    	case "":
    		allErrors = append(allErrors, field.Required(fldPath, ""))
    	default:
    		validValues := []core.PreemptionPolicy{core.PreemptLowerPriority, core.PreemptNever}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  2. pkg/apis/core/types.go

    	RestartPolicy ResourceResizeRestartPolicy
    }
    
    // PreemptionPolicy describes a policy for if/when to preempt a pod.
    type PreemptionPolicy string
    
    const (
    	// PreemptLowerPriority means that pod can preempt other pods with lower priority.
    	PreemptLowerPriority PreemptionPolicy = "PreemptLowerPriority"
    	// PreemptNever means that pod never preempts other pods with lower priority.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/core/v1/types.go

    	// PreemptionPolicy is the Policy for preempting pods with lower priority.
    	// One of Never, PreemptLowerPriority.
    	// Defaults to PreemptLowerPriority if unset.
    	// +optional
    	PreemptionPolicy *PreemptionPolicy `json:"preemptionPolicy,omitempty" protobuf:"bytes,31,opt,name=preemptionPolicy"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/zz_generated.conversion.go

    	out.RuntimeClassName = (*string)(unsafe.Pointer(in.RuntimeClassName))
    	out.EnableServiceLinks = (*bool)(unsafe.Pointer(in.EnableServiceLinks))
    	out.PreemptionPolicy = (*core.PreemptionPolicy)(unsafe.Pointer(in.PreemptionPolicy))
    	out.Overhead = *(*core.ResourceList)(unsafe.Pointer(&in.Overhead))
    	out.TopologySpreadConstraints = *(*[]core.TopologySpreadConstraint)(unsafe.Pointer(&in.TopologySpreadConstraints))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/core/v1/generated.proto

      // Optional: Defaults to true.
      // +optional
      optional bool enableServiceLinks = 30;
    
      // PreemptionPolicy is the Policy for preempting pods with lower priority.
      // One of Never, PreemptLowerPriority.
      // Defaults to PreemptLowerPriority if unset.
      // +optional
      optional string preemptionPolicy = 31;
    
      // Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"preemptionPolicy":              "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/generated.proto

      // Optional: Defaults to true.
      // +optional
      optional bool enableServiceLinks = 30;
    
      // PreemptionPolicy is the Policy for preempting pods with lower priority.
      // One of Never, PreemptLowerPriority.
      // Defaults to PreemptLowerPriority if unset.
      // +optional
      optional string preemptionPolicy = 31;
    
      // Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__batch__v1_openapi.json

                "type": "object"
              },
              "preemptionPolicy": {
                "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.",
                "type": "string"
              },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 485.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.24.md

    - API server's deprecated `--target-ram-mb` flag is now removed. ([#108457](https://github.com/kubernetes/kubernetes/pull/108457), [@ialidzhikov](https://github.com/ialidzhikov))
    - Added PreemptionPolicy in PriorityClass describe ([#108701](https://github.com/kubernetes/kubernetes/pull/108701), [@denkensk](https://github.com/denkensk))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
Back to top