Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add PriorityClass in glossary #45608

Merged
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions content/en/docs/reference/glossary/priority-class.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: PriorityClass
id: priority-class
date: 2024-03-19
full_link: /docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
short_description: >
A mapping from a class name to the scheduling priority that a Pod should have.
aka:
tags:
- core-object
---
A PriorityClass is a named class for the scheduling priority that should be assigned to a Pod
in that class.

<!--more-->

[The PriorityClass](/docs/concepts/scheduling-eviction/pod-priority-preemption/#how-to-use-priority-and-preemption) is a non-namespaced object mapping a name to an integer priority. The name is
sergeyshevch marked this conversation as resolved.
Show resolved Hide resolved
specified in the `metadata.name` field, and the priority value in the `value` field. Priorities range from
-2147483648 to 1000000000 inclusive. Higher values indicate higher priority.