Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] New check to verify that Pod Disruption Budget objects explicitly set unhealthyPodEvictionPolicy #855

Open
wissamir opened this issue Oct 18, 2024 · 1 comment

Comments

@wissamir
Copy link
Contributor

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

@wissamir
Copy link
Contributor Author

PTAL PR #856

wissamir added a commit to wissamir/kube-linter that referenced this issue Oct 19, 2024
wissamir added a commit to wissamir/kube-linter that referenced this issue Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant