# priority-class

One PriorityClass, named after the instance

This page is generated from [`kix/packages/stable/priority-class`](https://github.com/kix-run/kix/tree/main/kix/packages/stable/priority-class).

| | |
| --- | --- |
| Stability | Stable |
| `package` value | `packages.priority-class` |

## Options

### `description`

Text shown by `kubectl describe`. Omitted when null.

- **Type:** `null or non-empty string`
- **Default:** `null`

### `globalDefault`

Use this class for pods that name none. At most one class in a cluster
may set it; the build fails when two classes in the build set it. Pods
that already exist keep their priority.

- **Type:** `boolean`
- **Default:** `false`

### `preemptionPolicy`

`Never` queues pods ahead of lower-priority pods without evicting them.
Kubernetes refuses a change after creation.

- **Type:** `one of "PreemptLowerPriority", "Never"`
- **Default:** `"PreemptLowerPriority"`

### `value`

Scheduling priority, from -2147483648 to 1000000000. Higher values are
reserved for the `system-` classes. Kubernetes refuses a change after
creation: create a class under a new instance name and move workloads
to it.

- **Type:** `integer between -2147483648 and 1000000000 (both inclusive)`
- **Example:** `1000`