Prometheus pod is in CrashLoopBackOff state due to the prometheus-config-reloader container
Issue
- Prometheus pod is in CrashLoopBackOff state.
- After deleting the pod, new pod runs fine for some time and again crashes.
- prometheus-config-reloader container gives the error.
ts=2019-12-04T06:40:10.444676406Z caller=main.go:70 msg="Starting prometheus-config-reloader version '0.23.2'."
level=info ts=2019-12-04T06:40:10.643982253Z caller=reloader.go:77 msg="started watching config file for changes" in=/etc/prometheus/config/prometheus.yaml out=/etc/prometheus/config_out/prometheus.env.yaml
write file: open /etc/prometheus/config_out/prometheus.env.yaml: permission denied
Environment
- Red Hat OpenShift Container Platform (OCP)
- 3.11.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.