This utility serves the need of managing the lifecycle of a child process in a container environment. It is the container entrypoint
, which later starts a dependent child process and watches for changes on a particular location on the mounted filesystem. If there are changes the main process restarts the child process by sending SIGTERM signal.
Usually this scenario is beneficial in cases where an application does not support configuration hot reloading and needs to be restarted to load changes from the configuration. Such application is kube-rbac-proxy, which needs to be restarted to reflect configuration changes.
Feedback and contributions are always welcome. Please report bugs or suggestions as GitHub issues or join our Slack channel #gardener (please invite yourself to the Kubernetes workspace here).
Please find further resources about out project here: