How to troubleshoot Prometheus YAML parsing errors
Issue
- Prometheus is stuck in
CrashLoopBackOff - error seen in the logs is
`msg="Error loading config (--config.file=/etc/prometheus/config_out/prometheus.env.yaml)" err="parsing YAML file /etc/prometheus/config_out/prometheus.env.yaml`
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Prometheus
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.