Skip to content

Commit 9e6cb4f

Browse files
committed
fix nits in blog post: Eviction policy for unhealthy Pods guarded by PDBs
1 parent 83d7d4e commit 9e6cb4f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

content/en/blog/_posts/2023-01-06-unhealthy-pod-eviction-policy-for-pdb.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ When enabled, this field lets you support both of those requirements.
4242

4343
API-initiated eviction is the process that triggers graceful pod termination.
4444
The process can be initiated either by calling the API directly,
45-
by using a kubectl drain command, or other actors in the cluster.
45+
by using a `kubectl drain` command, or other actors in the cluster.
4646
During this process every pod removal is consulted with appropriate PDBs,
4747
to ensure that a sufficient number of pods is always running in the cluster.
4848

@@ -51,7 +51,8 @@ The following policies allow PDB authors to have a greater control how the proce
5151
There are two policies `IfHealthyBudget` and `AlwaysAllow` to choose from.
5252

5353
The former, `IfHealthyBudget`, follows the existing behavior to achieve the best availability
54-
that you get by default.
54+
that you get by default. Unhealthy pods can be disrupted only if their application
55+
has a minimum available `.status.desiredHealthy` number of pods.
5556

5657
By setting the `spec.unhealthyPodEvictionPolicy` field of your PDB to `AlwaysAllow`,
5758
you are choosing the best effort availability for your application.

0 commit comments

Comments
 (0)