Reloader
Reloader copied to clipboard
Support reload via HTTP endpoint
Hi,
some program are supporting reload via HTTP endpoint. It would be nice, reloader could support this.
Instead restart a pod, do a http call like http://pod:8080/-/reload for reloading a config file.
Agreed, I was about to write a tool to do just this. Via a webapi trigger a pod reload, checking first for an annotation, and then restarting the pod using a rollout or delete, configurable. If a webapi could be added to reloader, then could just use this and avoid reinventing the wheel. ... need this all the time in some dev environments
maybe something like:
/delete?namespace=...&deployment=...
/rollout?namespace=...&deployment=...
Hey Is this still open? @rasheedamir
yeah @utibeabasi6 still open PR is more than welcome