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

There is no plugin for podAffinity violations #1462

Open
tuxillo opened this issue Jul 10, 2024 · 4 comments
Open

There is no plugin for podAffinity violations #1462

tuxillo opened this issue Jul 10, 2024 · 4 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@tuxillo
Copy link

tuxillo commented Jul 10, 2024

Is your feature request related to a problem? Please describe.

I think it is a problem because, as far as I know, there is no way of rescheduling pods that are in violation of podAffinity.

Describe the solution you'd like

Make a plugin available that deals with this, right? 🥲

Describe alternatives you've considered
Right now I'm manually doing rollout in deployments so that the scheduling is right, for example after ugprades.

What version of descheduler are you using?

descheduler version:
latest
Additional context

Issue #1286 was closed as "Not planned" but feedback was provided and I think it's a feature that's pretty much needed.

@tuxillo tuxillo added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 10, 2024
@tuxillo
Copy link
Author

tuxillo commented Aug 8, 2024

Any news?

@damemi
Copy link
Contributor

damemi commented Aug 8, 2024

Hi @tuxillo, sorry but unfortunately we don't have much bandwidth for adding new plugins at this time. The descheduling framework refactor is meant to make it easier for anyone to develop their own plugins. The existing plugin code should serve as a guide, but we hope to publish a more generic developer guide in the future.

@tuxillo
Copy link
Author

tuxillo commented Aug 9, 2024

@damemi thanks for the update. No worries! I was wondering if this plugin was missing for any particular reason. I might give it a try at implementing it but, should I wait for the refactor you're mentioning?

@damemi
Copy link
Contributor

damemi commented Aug 9, 2024

@tuxillo please feel free to implement it and open a PR if you'd like! the refactor is done already. Ideally, the goal of this was to make it so you don't even need to contribute the plugin code here if you don't want to and could just build your own descheduler with your plugin imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants