I'm working with the kube-prometheus-stack Helm chart to set up monitoring in a non-production cluster. I've customized my values.yaml file by adding some alerting rules, but I'm running into issues when trying to deploy the stack. Specifically, my node exporters can't create pods due to an error indicating that 8 nodes don't satisfy the Node affinity requirement. Preemption isn't helping either. Can anyone provide guidance on how to properly add tolerations for the prometheus-node-exporter in the values.yaml? Any links or examples would be really appreciated!
3 Answers
Are there any taints on your nodes? You might need to set additional affinity rules or tolerations for the node exporter daemonset to get it working correctly.
You can find the documentation for the Helm chart values in the GitHub repo. It should include information on how to format your values.yaml file for the node exporter setup.
Keep in mind that the prometheus-node-exporter is a dependency of the chart. You'll want to add your values nested under `prometheus-node-exporter:`. For more details, you can check the values file in the subchart specifically for settings related to the node exporter.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures