DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
- Value Params
- description
description is an arbitrary string that usually provides guidelines on when this priority class should be used.
- globalDefault
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as
globalDefault
. However, if more than one PriorityClasses exists with theirglobalDefault
field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.- preemptionPolicy
PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
- value
The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
- Companion
- object
Value members
Concrete methods
description is an arbitrary string that usually provides guidelines on when this priority class should be used.
description is an arbitrary string that usually provides guidelines on when this priority class should be used.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault
. However, if more than one PriorityClasses exists with their globalDefault
field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault
. However, if more than one PriorityClasses exists with their globalDefault
field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
This effect always succeeds, it is safe to use the field value directly.