Priority Class
Appears in
Section titled “Appears in”.Values.priorityClass
Naming scheme
Section titled “Naming scheme”$FullName-$PriorityClassName
(release-name-chart-name-priorityClassName)
priorityClass
Section titled “priorityClass”Define priority classes
Key | priorityClass |
Type | map |
Required | ❌ |
Helm tpl | ❌ |
Default | {} |
Example
priorityClass: {}
Define priority class
Key | priorityClass.$name |
Type | map |
Required | ✅ |
Helm tpl | ❌ |
Default | {} |
Example
priorityClass: priority-class-name: {}
enabled
Section titled “enabled”Enables or Disables the priority class
Key | priorityClass.$name.enabled |
Type | bool |
Required | ✅ |
Helm tpl | ✅ |
Default | false |
Example
priorityClass: priority-class-name: enabled: true
namespace
Section titled “namespace”Define the namespace for this object
Key | priorityClass.$name.namespace |
Type | string |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | "" |
Example
priorityClass: priority-class-name: namespace: some-namespace
labels
Section titled “labels”Additional labels for priority class
Key | priorityClass.$name.labels |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
priorityClass: priority-class-name: labels: key: value
annotations
Section titled “annotations”Additional annotations for priority class
Key | priorityClass.$name.annotations |
Type | map |
Required | ❌ |
Helm tpl | ✅ (On value only) |
Default | {} |
Example
priorityClass: priority-class-name: annotations: key: value
Define the value for this priority class
Key | priorityClass.$name.value |
Type | int |
Required | ❌ |
Helm tpl | ❌ |
Default | 1000000 |
Example
priorityClass: priority-class-name: value: 1000000
globalDefault
Section titled “globalDefault”Define if this priority class is the global default
Key | priorityClass.$name.globalDefault |
Type | bool |
Required | ❌ |
Helm tpl | ❌ |
Default | false |
Example
priorityClass: priority-class-name: globalDefault: true
description
Section titled “description”Define the description for this priority class
Key | priorityClass.$name.description |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | No description given |
Example
priorityClass: priority-class-name: description: "some description"
preemptionPolicy
Section titled “preemptionPolicy”Define the preemption policy for this priority class
Key | priorityClass.$name.preemptionPolicy |
Type | string |
Required | ❌ |
Helm tpl | ❌ |
Default | Immediate |
Valid values are:
PreemptLowerPriority
Never
Example
priorityClass: priority-class-name: preemptionPolicy: PreemptLowerPriority
Full Examples
Section titled “Full Examples”priorityClass: example: enabled: true value: 1000000 preemptionPolicy: PreemptLowerPriority globalDefault: false description: "some description"