Skip to content

Commit 098d3aa

Browse files
author
Manish Kumar
committed
Registered and documented safe-to-evict annotation
1 parent 940a746 commit 098d3aa

File tree

1 file changed

+12
-0
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+12
-0
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,18 @@ The current version of the application (e.g., a semantic version, revision hash,
8585

8686
One of the [recommended labels](/docs/concepts/overview/working-with-objects/common-labels/#labels).
8787

88+
### cluster-autoscaler.kubernetes.io/safe-to-evict
89+
90+
Example: `cluster-autoscaler.kubernetes.io/safe-to-evict: "true"`
91+
92+
Used on: Pod
93+
94+
When this annotation is set to `"true"`, the cluster autoscaler is allowed to evict a Pod
95+
even if other rules would normally prevent that.
96+
The cluster autoscaler never evicts Pods that have this annotation explicitly set to
97+
`"false"`; you could set that on an important Pod that you want to keep running.
98+
If this annotation is not set then the cluster autoscaler follows its Pod-level behavior.
99+
88100
### kubernetes.io/arch
89101

90102
Example: `kubernetes.io/arch: "amd64"`

0 commit comments

Comments
 (0)