EvictionPressureTransitionPeriod will silently default 0s to 5m #129548
Labels
kind/documentation
Categorizes issue or PR as related to documentation.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened?
EvictionPressureTransitionPeriod will silently overwrite user specfied values of 0s.
What did you expect to happen?
We should have API documentation and website documentation that 0s is not allowed for this and will be overriden to 5 m.
How can we reproduce it (as minimally and precisely as possible)?
Use EvictionPressureTransitionPeriod of 0s and it will actually default to 5m.
Anything else we need to know?
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/config/v1beta1/defaults.go#L236-#L238
Kubernetes version
All
Cloud provider
All
OS version
NA
Install tools
NA
Container runtime (CRI) and version (if applicable)
NA
Related plugins (CNI, CSI, ...) and versions (if applicable)
NA
The text was updated successfully, but these errors were encountered: