Skip to content

Commit

Permalink
Merge pull request kubernetes#3701 from atiratree/update-healthy-policy
Browse files Browse the repository at this point in the history
KEP-3017: make API definition of UnhealthyPodEvictionPolicy unversioned
  • Loading branch information
k8s-ci-robot authored Dec 22, 2022
2 parents a6c6eb2 + a9894f2 commit 833b348
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions keps/sig-apps/3017-pod-healthy-policy-for-pdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ and thus should be evicted without being potentially constrained by a Pod Disrup

Currently, we only allow evicting Running pods in case there are enough pods healthy
(`.status.currentHealthy` is at least equal to `.status.DesiredHealthy`).
This is to give the application best change to achieve availability and prevent data loss
This is to give the application best chance to achieve availability and prevent data loss
by disallowing disruption of starting pods that have not become Healthy (Ready yet).

We also want to allow unconditional eviction of Running pods for applications that do not have
Expand Down Expand Up @@ -165,10 +165,6 @@ type PodDisruptionBudgetSpec struct {
// Additional policies may be added in the future.
// Clients making eviction decisions should disallow eviction of unhealthy pods
// if they encounter an unrecognized policy in this field.
//
// This field is alpha-level. The eviction API uses this field when
// the feature gate PDBUnhealthyPodEvictionPolicy is enabled (disabled by default).
// +optional
UnhealthyPodEvictionPolicy *UnhealthyPodEvictionPolicyType `json:"unhealthyPodEvictionPolicy,omitempty" protobuf:"bytes,4,opt,name=unhealthyPodEvictionPolicy"`
}

Expand Down

0 comments on commit 833b348

Please sign in to comment.