Open reubenmiller opened 2 days ago
A new repo has been created for the rewrite, though it most likely will be merged into this one unless if having an independent container monitor makes sense.
Repo: https://github.com/reubenmiller/tedge-container-monitor
The current implementation of the tedge-container-plugin is written in Posix shell. Whilst Posix shell is super portable, it is end the end a shell which makes it harder to maintain and extend to meet additional requirements.
Given that there are a number of feature requests (see below), it is recommended that at least the
tedge-container-monitor
is rewritten in golang. The software management plugins can still remain as posix shell scripts (or at least at first), as they are relatively simple and don't involve state management (e.g. checking for stale services via MQTT and using the Cumulocity REST API to delete them).Requirements
Why rewrite in golang?