Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Changes to Pod Eviction Timeout Are Not Taking Into Effect
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Unable to change default value of Pod Eviction Timeout
- Pods are getting evicted after the default pod eviction timeout value of 5 mins even after modifying it.
Environment
- Platform9 Managed Kubernetes - v5.1 onwards
- Kubernetes - v1.18 and onwards
Answer
- From Kubernetes v1.18 onwards taint based eviction method has been given preference over the node conditions based eviction.
- Due to this even if the changes are made to the default value of
pod-eviction-timeout, it is not taken in to the consideration. Instead it's taint based Eviction method that takes precedence over the pod-eviction-timeout. - In case of taint based evictions the default value of pod eviction timeout can be changed by adding couple of flags to the kube-apiserver and the flags responsible for this are,
default-not-ready-toleration-secondsanddefault-unreachable-toleration-seconds.
Additional Information
For additional information regarding the Taint and Toleration based eviction please refer to the article Taint based Evictions
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message