-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reload on file change handling for tini-watched processes
Some container-based programs can do an inline reload when a config file (particularly those mounted on a Volume) changes, but need to be signalled. For a local docker, we can do docker kill and let the signal pass through tini, but on a scheduler, like Kubernetes, we either have to run commands in each container or delete and recreate the containers (as per the replication-group strategy). With this patch, we can run something like prometheus or fluentd in containers, and be able to use kubernetes to push updates, with the relevant program auto-reloading, without the need for a side-bar watcher, making tini a little bit more like a "supervisor".
- Loading branch information
Matthew Byng-Maddick
committed
Apr 6, 2017
1 parent
6ad9813
commit b9450aa
Showing
3 changed files
with
150 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist | ||
sign.key | ||
.env | ||
test/.file_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters