Hey Andy, I'm going to assume that you are deploying Prometheus via the prometheus-operator? If so, you shouldn't need to modify the configuration file directly, as this will be managed via the Prometheus operator CRDs themselves (i.e. Prometheus, ServiceMonitor etc.)
For Prometheus-operator questions, please reach out to that community directly. Best, Ian On Tue, Jul 13, 2021 at 12:08 PM Andy Andy <[email protected]> wrote: > Hi everyone. Well, i deploy Prometheus on my Openshift cluster, but now I > don't know how can i modify config file. Prometheus.yaml and > prometheus.env.yaml is read-only and mounted as volume. And i try to look > events at config reloaded and i got this: > > > > > > > > > * command: - /bin/prometheus-config-reloader args: - > '--listen-address=localhost:8080' - > '--reload-url=http://localhost:9090/-/reload > <http://localhost:9090/-/reload>' - > '--config-file=/etc/prometheus/config/prometheus.yaml.gz' - >- > --config-envsubst-file=/etc/prometheus/config_out/prometheus.env.yaml - > '--watched-dir=/etc/prometheus/rules/prometheus-k8s-rulefiles-0'* > And i dont know what i should do. Can someone help? Thank a lot. > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/4f56e2b4-bb77-4fe1-a162-cd77915f9d30n%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/4f56e2b4-bb77-4fe1-a162-cd77915f9d30n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CADoMBNWa03S%3D_m9aqqWzqUtFuGQ4OKi3h4M%2B0NL4ps4y%3D-0dDw%40mail.gmail.com.

