How to change web.listen-address of statefulset.apps/prometheus-user-workload

Latest response

In order to use costom metrics in HPA, I found the document:

Obviously, the configuration of prometheus-url is wrong in the document:

Because from statefulset.apps/prometheus-user-workload in Namespace openshift-user-workload-monitoring, we can see, prometheus just listen port, as below:

I tried to change it to, but it will automatically restore. so who can help me?



It's hardcode in the statefullset go program.