watermarkpodautoscaler
watermarkpodautoscaler copied to clipboard
Make generating NotScale events configurable; use logs when disabled
What does this PR do?
Add skipNotScalingEvents config option in WPA to disable NotScaling Kubernetes events and write to logs instead
Motivation
Eliminate WPA error logs that are the result of the Kubernetes API server rate limiting WPA event writes
Additional Notes
Anything else we should know when reviewing?
Describe your test plan
Enabling this feature should result in the Kubernetes events with a message of Decided not to scale
to appear as logs instead.