kube-reqsizer icon indicating copy to clipboard operation
kube-reqsizer copied to clipboard

Hot reload configuration from configmap without needing pod restart

Open amitai-devops opened this issue 3 years ago • 2 comments

amitai-devops avatar Dec 20 '22 11:12 amitai-devops

As far as I know, the k8s can support the reload of the configMap without restating the pods. link

I want to try this, but I can't figure out anything else we should do. Could you give me some advice?

Charlie17Li avatar Dec 26 '22 12:12 Charlie17Li

First of all thank you for the contribution!

I haven't had a chance to look at this one yet. What we want is to basically load the flags and the custom configuration of the controller without requiring restart which is of course possible like you said. I would just make the controller try to read a configmap if one is available and use the flags from there. Also you need to decide if the configmap overrides the flags or vice versa. That's up to you!

I didn't really understand the question thou, I'm available to clarify anything that is needed

@Charlie17Li

amitai-devops avatar Dec 26 '22 12:12 amitai-devops