descheduler
descheduler copied to clipboard
[Feature request] Emit events about errored evictions (i.e. violating PDB) on flag
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like I would like to have feature flag to enable emitting events - i.e. around https://github.com/kubernetes-sigs/descheduler/blob/master/pkg/descheduler/evictions/evictions.go#L149
Describe alternatives you've considered Not having this information
What version of descheduler are you using?
descheduler version: v0.28.0
Additional context It would be helpful to see by users that given pods would be evicted unless PDB / sth else would block it. It should not flood api server as :
- pod need to meet all condition to eviction first
- Event Recorder use QPS and Burst to limit that
- Eviction happens on pre-configured intervals Slack thread - https://kubernetes.slack.com/archives/C09TP78DV/p1700578405762779