I understood that the OS partition is small, stateless and read-only, but we would like to add some packages to do monitoring (collect app logs, devices metrics like cpu/disk/network etc).
Is it possible to modify the balenaOS image to add these features?
In the case we do it, what about support and os upgrades?
I don’t think you can install more packages to the hostOS, however you can create an application container that contains all the packages/utilities you need to do monitoring tasks like you mentioned above.
In this post in balena forum, we are inquiring whether it’s possible to run netdata in a balena container, since it needs certain bind mounts to function properly.