Reloader icon indicating copy to clipboard operation
Reloader copied to clipboard

Support reload via HTTP endpoint

Open jkroepke opened this issue 2 years ago • 3 comments

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.

jkroepke avatar Jul 16 '23 12:07 jkroepke

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=...

lknite avatar Sep 05 '23 14:09 lknite

Hey Is this still open? @rasheedamir

utibeabasi6 avatar Sep 20 '23 08:09 utibeabasi6

yeah @utibeabasi6 still open PR is more than welcome

rasheedamir avatar Sep 20 '23 19:09 rasheedamir