karma icon indicating copy to clipboard operation
karma copied to clipboard

Feature request - Reload configuration on changes

Open SkalaNetworks opened this issue 2 years ago • 1 comments

Hi,

I have an environment with tons of alertmanagers that can come and go. The karma configuration is handled purely in GitOps. This means that any change in the configuration is applied directly on the configmap in my Kubernetes. The thing is Karma doesn't care about configuration changes, it doesn't monitor the config file for new updates.

Having this feature would greatly help in my workflow. Right now we need to restart Karma on every configuration change. I'm willing to make a PR for this functionality if it is deemed of interest.

Thanks.

SkalaNetworks avatar Oct 04 '23 09:10 SkalaNetworks

Not sure why Karma itself should be responsible for handling external config updates.

I'd propose to rely on existing entrypoint scripts or orchestrator features/addons:

  • https://github.com/eradman/entr
  • https://github.com/stakater/Reloader
  • https://sanderknape.com/2019/03/kubernetes-helm-configmaps-changes-deployments/

agrrh avatar Sep 24 '24 14:09 agrrh