Yes, you should be able to run this within a container. Since you’re using Kubernetes you have two options:
1. Run this container via systemd on each machine
2. Run this container as a DaemonSet with Kubernetes. This will allow you to easily update the container/config/etc.
This is a common strategy for running the Prometheus node exporter, which fulfills a similar role as nagios.
- Rob