Skip to content

Priority Class

Appears in

  • .Values.priorityClass

Naming scheme

  • $FullName-$PriorityClassName (release-name-chart-name-priorityClassName)

priorityClass

Define priority classes

KeypriorityClass
Typemap
Required
Helm tpl
Default{}

Example

priorityClass: {}

$name

Define priority class

KeypriorityClass.$name
Typemap
Required
Helm tpl
Default{}

Example

priorityClass:
priority-class-name: {}

enabled

Enables or Disables the priority class

KeypriorityClass.$name.enabled
Typebool
Required
Helm tpl
Defaultfalse

Example

priorityClass:
priority-class-name:
enabled: true

namespace

Define the namespace for this object

KeypriorityClass.$name.namespace
Typestring
Required
Helm tpl✅ (On value only)
Default""

Example

priorityClass:
priority-class-name:
namespace: some-namespace

labels

Additional labels for priority class

KeypriorityClass.$name.labels
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

priorityClass:
priority-class-name:
labels:
key: value

annotations

Additional annotations for priority class

KeypriorityClass.$name.annotations
Typemap
Required
Helm tpl✅ (On value only)
Default{}

Example

priorityClass:
priority-class-name:
annotations:
key: value

value

Define the value for this priority class

KeypriorityClass.$name.value
Typeint
Required
Helm tpl
Default1000000

Example

priorityClass:
priority-class-name:
value: 1000000

globalDefault

Define if this priority class is the global default

KeypriorityClass.$name.globalDefault
Typebool
Required
Helm tpl
Defaultfalse

Example

priorityClass:
priority-class-name:
globalDefault: true

description

Define the description for this priority class

KeypriorityClass.$name.description
Typestring
Required
Helm tpl
DefaultNo description given

Example

priorityClass:
priority-class-name:
description: "some description"

preemptionPolicy

Define the preemption policy for this priority class

KeypriorityClass.$name.preemptionPolicy
Typestring
Required
Helm tpl
DefaultImmediate

Valid values are:

  • PreemptLowerPriority
  • Never

Example

priorityClass:
priority-class-name:
preemptionPolicy: PreemptLowerPriority

Full Examples

priorityClass:
example:
enabled: true
value: 1000000
preemptionPolicy: PreemptLowerPriority
globalDefault: false
description: "some description"