PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
Value parameters
- 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.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
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.
Attributes
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.
Attributes
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
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.
Attributes
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.
Attributes
Inherited methods
Attach another resource as the owner of this one
Attach another resource as the owner of this one
Value parameters
- kind
-
Owner's resource kind
- ownerName
-
Owner's name
- ownerType
-
Owner's resource type metadata
- ownerUid
-
Owner's UID
Attributes
- Returns
-
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps
Gets the geneation of the object or 0 if it is new
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Verifies ownership between the resources
Verifies ownership between the resources
Type parameters
- OwnerT
-
Type of the owner resource
Value parameters
- owner
-
Possible owner of this resource
Attributes
- Returns
-
True if owner owns this resource
- Inherited from:
- K8sObjectOps
Creates a new object with its metadata modified by the given function f
Creates a new object with its metadata modified by the given function f
Value parameters
- f
-
Function to modify the object's metadata with
Attributes
- Returns
-
Object with modified metadata
- Inherited from:
- K8sObjectOps
Gets the metadata of the object
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Type parameters
- OwnerT
-
Type of the owner
Value parameters
- owner
-
Owner resource
Attributes
- Returns
-
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps