Merge pull request #45263 from atiratree/UnhealthyPodEvictionPolicy-GA

[KEP-3017]: promote PDBUnhealthyPodEvictionPolicy to GA
pull/46986/head
Kubernetes Prow Robot 2024-07-25 05:56:09 -07:00 committed by GitHub
commit 8b087913bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View File

@ -13,6 +13,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.27"
toVersion: "1.30"
- stage: stable
defaultValue: true
fromVersion: "1.31"
---
Enables the `unhealthyPodEvictionPolicy` field of a `PodDisruptionBudget`. This specifies
when unhealthy pods should be considered for eviction. Please see [Unhealthy Pod Eviction Policy](/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy)

View File

@ -243,12 +243,6 @@ These pods are tracked via `.status.currentHealthy` field in the PDB status.
{{< feature-state feature_gate_name="PDBUnhealthyPodEvictionPolicy" >}}
{{< note >}}
This feature is enabled by default. You can disable it by disabling the `PDBUnhealthyPodEvictionPolicy`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
on the [API server](/docs/reference/command-line-tools-reference/kube-apiserver/).
{{< /note >}}
PodDisruptionBudget guarding an application ensures that `.status.currentHealthy` number of pods
does not fall below the number specified in `.status.desiredHealthy` by disallowing eviction of healthy pods.
By using `.spec.unhealthyPodEvictionPolicy`, you can also define the criteria when unhealthy pods