Merge pull request #21453 from denkensk/update-non-preempt-beta

Update non-preempting option Doc
This commit is contained in:
Kubernetes Prow Robot
2020-07-14 10:11:21 -07:00
committed by GitHub
2 changed files with 3 additions and 6 deletions
@@ -138,7 +138,7 @@ description: "This priority class should be used for XYZ service pods only."
## Non-preempting PriorityClass {#non-preempting-priority-class} ## Non-preempting PriorityClass {#non-preempting-priority-class}
{{< feature-state for_k8s_version="v1.15" state="alpha" >}} {{< feature-state for_k8s_version="v1.19" state="beta" >}}
Pods with `PreemptionPolicy: Never` will be placed in the scheduling queue Pods with `PreemptionPolicy: Never` will be placed in the scheduling queue
ahead of lower-priority pods, ahead of lower-priority pods,
@@ -162,10 +162,6 @@ which will allow pods of that PriorityClass to preempt lower-priority pods
If `PreemptionPolicy` is set to `Never`, If `PreemptionPolicy` is set to `Never`,
pods in that PriorityClass will be non-preempting. pods in that PriorityClass will be non-preempting.
The use of the `PreemptionPolicy` field requires the `NonPreemptingPriority`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
to be enabled.
An example use case is for data science workloads. An example use case is for data science workloads.
A user may submit a job that they want to be prioritized above other workloads, A user may submit a job that they want to be prioritized above other workloads,
but do not wish to discard existing work by preempting running pods. but do not wish to discard existing work by preempting running pods.
@@ -118,7 +118,8 @@ different Kubernetes components.
| `LocalStorageCapacityIsolationFSQuotaMonitoring` | `false` | Alpha | 1.15 | | | `LocalStorageCapacityIsolationFSQuotaMonitoring` | `false` | Alpha | 1.15 | |
| `MountContainers` | `false` | Alpha | 1.9 | | | `MountContainers` | `false` | Alpha | 1.9 | |
| `NodeDisruptionExclusion` | `false` | Alpha | 1.16 | | | `NodeDisruptionExclusion` | `false` | Alpha | 1.16 | |
| `NonPreemptingPriority` | `false` | Alpha | 1.15 | | | `NonPreemptingPriority` | `false` | Alpha | 1.15 | 1.18|
| `NonPreemptingPriority` | `true` | Beta | 1.19 | |
| `PodDisruptionBudget` | `false` | Alpha | 1.3 | 1.4 | | `PodDisruptionBudget` | `false` | Alpha | 1.3 | 1.4 |
| `PodDisruptionBudget` | `true` | Beta | 1.5 | | | `PodDisruptionBudget` | `true` | Beta | 1.5 | |
| `PodOverhead` | `false` | Alpha | 1.16 | - | | `PodOverhead` | `false` | Alpha | 1.16 | - |