Hi Sri,
I'm glad you are enjoying Wazuh!.
Regarding your question, a Wazuh agent must be installed in the host server, not inside the container of your application. For example, if you run Nginx in a container, it is not a good idea to add the Wazuh agent in the same container. Instead of that, you will have to install the agent in the host and grant enough permissions to read logs (or wherever you need) from the Nginx container.
That said, there are several ways to install the agent in the host (your kubernetes worker node):
- Using traditional packages (rpm, deb, etc): It looks like Google COS is based in Chromium OS and we didn't test an agent in that kind of OS (https://documentation.wazuh.com/current/installation-guide/compatibility_matrix/index.html#agent). Please, let us know if it works or you get errors.
- Using a container for the Wazuh agent (it can be orchestrated using a DaemonSet): I have to test it, but I think it could be the best solution since the container can have a Wazuh support OS and it runs in every node. You will need to review if that container has access to read logs from other ones (volume access).
We are researching how to fit Wazuh in the container world, so any feedback is welcome.
Regards,
Jesus Linares.