kube-downscaler
kube-downscaler copied to clipboard
Add events to deployment when action is taken
It would be nice if an event was generated each time a deployment was scaled up/down.
I was looking into adding this as a feature and it turns out pykube does not have some of the data needed to bind the events to the resource. It is missing the uid and resourceVersion. Since pykube is no longer being developed is there any chance the controller will be moving to the kubernetes python client?
@gregsidelinger that's not an issue with pykube-ng which I maintain. I also generate events in kube-janitor.
my bad. I did not realize the uid was under metadata. I will send a patch some time this weekend.