Hi,
I have installed node-exporter with helm chart on k8s, and now I want to create a textfile manually or with cronjob, to export sysctl parameter/metrics of host system or containers to prometheus. I have set '--collector.textfile.directory=/home' in node-exporter containers, and added the textfile in the same directory of container. However, according to the logs, there is no such a file or directory.
Can someone help me with how the textfile collector is working in k8s?
Thanks!