Hey everyone,
I have been fiddling with balena for quite some time, trying to figure out it’s boundaries, the first being a multi-tenancy scheme leveraging balena as the orchestrating platform, as described in this forum post.
My latest endeavour has been installing an amazingly good monitoring system, netdata in balena, as illustrated in these posts:
I created a new forum post so we can aggregate all ideas and suggestions into a nice post for future reference.
The problem is that netdata needs special mounts to get the full picture of the host:
...
security_opt:
- apparmor:unconfined
volumes:
- /etc/passwd:/host/etc/passwd:ro
- /etc/group:/host/etc/group:ro
- /proc:/host/proc:ro
- /sys:/host/sys:ro
...
I installed netdata without those mounts to get better view of what it is able to do. There are tons of metrics and system-wide overview, but we don’t have the range and detail one would want in a production critical device.
Any ideas how to proceed?
I have thought about using a modified version of balenaOS, where the mounts would be mounted using labels, as it is currently possible with firmware
and kernel
.
Another possible approach could be monkey patching something with developer-os and sshing into host (unlikely to have the performance needed to get 1 metric/s) or using dbus (not sure how it works though).
Thank you for your time, can’t wait to hear your thoughts and ideas!