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 1 commit
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
20 changes: 20 additions & 0 deletions content/en/docs/reference/glossary/priority-class.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
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 -->
sergeyshevch marked this conversation as resolved.
Show resolved Hide resolved
The PriorityClass is a non-namespaced object mapping a name to an integer priority. The name is
specified in the name field, and the priority value in the value field. Priorities range from
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
specified in the name field, and the priority value in the value field. Priorities range from
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.

* [PriorityClass in the Kubernetes documentation](/docs/concepts/scheduling-eviction/pod-priority-preemption/#how-to-use-priority-and-preemption)