Automatically restart Kubernetes workloads when ConfigMaps or Secrets change
open coreApache-2.0self-hostablefree
Reloader is a Kubernetes controller from Stakater that triggers a rolling restart of Deployments, StatefulSets, DaemonSets, Argo Rollouts, OpenShift DeploymentConfigs and CronJobs when a ConfigMap or Secret they use changes, since Kubernetes doesn't restart pods on its own when one does. Annotations choose what triggers a reload: every referenced ConfigMap and Secret, only named ones, or only resources tagged to match, with ignore rules and pause periods to avoid back-to-back restarts. It also watches the Secrets Store CSI Driver for rotated secrets, can use an annotations strategy that doesn't cause drift in Argo CD or Flux, and sends alerts to Slack, Microsoft Teams, Google Chat or a webhook on each reload. The open source edition is Apache-2.0; Reloader Enterprise is the same code with hardened images and SLA-backed support, priced on request.
Ways to install
On Kubernetes
Problems it solves
- I updated a ConfigMap but my pods are still running with the old values
- rotated a password in a Kubernetes Secret and had to restart every deployment that uses it by hand
- restart pods automatically when cert-manager renews the certificate they mount
- secrets synced from Vault or AWS change but the apps don't pick them up until someone restarts them
- trigger a rollout when an environment variable from a Secret changes without editing the deployment
- avoid a pile of restarts when several config files are updated within a minute
- restart workloads when the CSI secrets driver rotates a mounted secret
- config reloads that don't make our GitOps tool report the app as out of sync
- get a Slack message every time a deployment is restarted because its config changed
Features
- rolling restarts when referenced ConfigMaps or Secrets change
- Deployments, StatefulSets, DaemonSets, Argo Rollouts, CronJobs, Jobs and OpenShift DeploymentConfigs
- auto, named-resource and search-and-match annotations
- ignore annotation and ignored workload types
- pause periods to batch restarts
- Secrets Store CSI Driver support
- env-vars and annotations reload strategies (annotations avoids GitOps drift)
- restart strategy for Argo Rollouts
- reload alerts to Slack, Microsoft Teams, Google Chat or a webhook
- Helm chart, manifests and Kustomize installs
Ways to run it
Reloader
Not included
- hardened, CVE-scanned and signed images with SBOM and provenance, and SLA-backed support, which Reloader Enterprise adds4
Reloader Enterprise
Only in this edition
- hardened container images (Standard and UBI), CVE-scanned and signed, with SBOM and provenance
- validated Vault, OpenBao and Conjur integrations
- long-term maintenance with backported fixes
- SLA-backed commercial support and a dedicated escalation path
Capabilities
| Sends webhooks | plan not known |
|---|
