I'm currently using the kube-prometheus-stack Helm chart to set up monitoring in a non-production cluster. I created a custom values.yaml file just to add alerting rules, but when I try to deploy the stack, my node exporters fail to create pods.
The error message indicates that 8 nodes don't satisfy the plugins for Node affinity, and preemption doesn't help with scheduling.
Could someone guide me on how to correctly format the tolerations for the prometheus-node-exporter in the values.yaml file? Any reference links would also be appreciated!
3 Answers
The prometheus-node-exporter is a dependency of the chart. You should add the values nested under `prometheus-node-exporter:` from the subchart. The specific link for the values file is also available in the GitHub repo.
You can check out the GitHub repository for the Helm chart; it has all the values documentation you might need.
Do you have any taints set on your nodes? You might need to adjust the affinity rules or add tolerations for the node exporter daemonset.
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