Skip to content

Commit

Permalink
using of Stakater Reloader
Browse files Browse the repository at this point in the history
  • Loading branch information
thr authored and thr committed Feb 19, 2024
1 parent 0c14240 commit c83e7d6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions microservicesruntime/examples/stakater-reloader/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Using of Stakater Reloader

Per default, the Microservices Runtime pod is not restarted on unchanged `application.properties` file between Helm release upgrades. The [Stakataer Reloader](https://github.com/stakater/Reloader) can solve and help this issue.

## Increase `values.yaml`

Add following value in `podAnnotations` to define the dependency between deployment and config map ...

```
podAnnotations:
configmap.reloader.stakater.com/reload: "{{ include \"common.names.fullname\" . }}"
```

If the ConfigMap (evaluated by `{{ include \"common.names.fullname\" . }}`) with `application.properties` file is changed, [Stakataer Reloader](https://github.com/stakater/Reloader) restarts the pod.
1 change: 1 addition & 0 deletions microservicesruntime/helm/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Sub-folder `examples` contains some *values* examples for more use-cases. To use
| [msr-with-tls](../examples/msr-with-tls/README.md) | Configure Ingress with TLS |
| [process-engine](../examples/process-engine/README.md) | Deploy MSR as Process Engine |
| [service-auditing-monitor](../examples/service-auditing-monitor/README.md) | Deploy MSR as Service Auditing Monitor |
| [Stakater Reloader](../examples/stakater-reloader/README.md) | Utility to restart MSR pod on configuration changes |

## Install Microservices Runtime Release

Expand Down

0 comments on commit c83e7d6

Please sign in to comment.