From d65e3c94717c631e3ee5a943646709f6f3a5c2cf Mon Sep 17 00:00:00 2001 From: Sergey Shevchenko Date: Tue, 19 Mar 2024 21:37:38 +0200 Subject: [PATCH 1/5] feat: Add PriorityClass in glossary --- .../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 0000000000000..f302b899490c2 --- /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. + + +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 +-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) \ No newline at end of file From d9d36f36fd5d9c35dd7cae109ade0306988eda4c Mon Sep 17 00:00:00 2001 From: Sergey Shevchenko Date: Mon, 25 Mar 2024 19:05:49 +0200 Subject: [PATCH 2/5] fix: Fix review comments --- content/en/docs/reference/glossary/priority-class.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/reference/glossary/priority-class.md b/content/en/docs/reference/glossary/priority-class.md index f302b899490c2..9ea3bcde5c9d2 100644 --- a/content/en/docs/reference/glossary/priority-class.md +++ b/content/en/docs/reference/glossary/priority-class.md @@ -12,9 +12,9 @@ tags: A PriorityClass is a named class for the scheduling priority that should be assigned to a Pod in that class. - -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 + +The PriorityClass is a non-namespaced object mapping a name to an integer priority. 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. * [PriorityClass in the Kubernetes documentation](/docs/concepts/scheduling-eviction/pod-priority-preemption/#how-to-use-priority-and-preemption) \ No newline at end of file From 0b26de8f1199661d528127b6ec39d85f683b0a63 Mon Sep 17 00:00:00 2001 From: Sergey Shevchenko Date: Mon, 25 Mar 2024 19:08:24 +0200 Subject: [PATCH 3/5] fix: Fix review comments --- content/en/docs/reference/glossary/priority-class.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/reference/glossary/priority-class.md b/content/en/docs/reference/glossary/priority-class.md index 9ea3bcde5c9d2..29c78e077c4cb 100644 --- a/content/en/docs/reference/glossary/priority-class.md +++ b/content/en/docs/reference/glossary/priority-class.md @@ -13,6 +13,7 @@ A PriorityClass is a named class for the scheduling priority that should be assi in that class. + The PriorityClass is a non-namespaced object mapping a name to an integer priority. 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. From fd0d0308a55cd128bab84fa1816fe3a6d3283e68 Mon Sep 17 00:00:00 2001 From: Sergey Shevchenko Date: Mon, 25 Mar 2024 19:11:40 +0200 Subject: [PATCH 4/5] fix: Fix review comments --- content/en/docs/reference/glossary/priority-class.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/en/docs/reference/glossary/priority-class.md b/content/en/docs/reference/glossary/priority-class.md index 29c78e077c4cb..aa1a789eecac1 100644 --- a/content/en/docs/reference/glossary/priority-class.md +++ b/content/en/docs/reference/glossary/priority-class.md @@ -14,8 +14,6 @@ in that class. -The PriorityClass is a non-namespaced object mapping a name to an integer priority. The name is +[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 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) \ No newline at end of file From 7ff6bbb225d735339155f81f1f6dcef82b6c13c0 Mon Sep 17 00:00:00 2001 From: Sergey Shevchenko Date: Mon, 1 Apr 2024 18:04:48 +0300 Subject: [PATCH 5/5] Update content/en/docs/reference/glossary/priority-class.md Co-authored-by: Tim Bannister --- content/en/docs/reference/glossary/priority-class.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/en/docs/reference/glossary/priority-class.md b/content/en/docs/reference/glossary/priority-class.md index aa1a789eecac1..612a43449be90 100644 --- a/content/en/docs/reference/glossary/priority-class.md +++ b/content/en/docs/reference/glossary/priority-class.md @@ -14,6 +14,7 @@ in that class. -[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 +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.