From 1f95dc8990de647e7118116588ef866ec08dc9ed Mon Sep 17 00:00:00 2001 From: Sergey Shevchenko Date: Tue, 2 Apr 2024 03:56:47 +0300 Subject: [PATCH] feat: Add PriorityClass in glossary (#45608) * feat: Add PriorityClass in glossary * fix: Fix review comments * fix: Fix review comments * fix: Fix review comments * Update content/en/docs/reference/glossary/priority-class.md Co-authored-by: Tim Bannister --------- Co-authored-by: Tim Bannister --- .../docs/reference/glossary/priority-class.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 content/en/docs/reference/glossary/priority-class.md diff --git a/content/en/docs/reference/glossary/priority-class.md b/content/en/docs/reference/glossary/priority-class.md new file mode 100644 index 0000000000..612a43449b --- /dev/null +++ b/content/en/docs/reference/glossary/priority-class.md @@ -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. + + + +A [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, used for a Pod. The name is +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.