KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.
Description of the problem/feature request
Kubernetes 1.31 introduces a new PDB configuration field, .spec.unhealthyPodEvictionPolicy.
The default behaviour when no policy is set corresponds to the IfHealthyBudget policy.
Description of the existing behavior vs. expected behavior
IfHealthyBudget can have negative implications when draining nodes. Users who do not have specific policy requirements and leave the .spec.unhealthyPodEvictionPolicy new field implicit, are encouraged to explicitly set it to AlwaysAllow.
Additional context
I'll be creating a PR to implement the new check
Description of the problem/feature request Kubernetes 1.31 introduces a new PDB configuration field, .spec.unhealthyPodEvictionPolicy.
The default behaviour when no policy is set corresponds to the IfHealthyBudget policy.
Description of the existing behavior vs. expected behavior IfHealthyBudget can have negative implications when draining nodes. Users who do not have specific policy requirements and leave the .spec.unhealthyPodEvictionPolicy new field implicit, are encouraged to explicitly set it to AlwaysAllow.
Additional context I'll be creating a PR to implement the new check