How do I change the port of Prometheus in Kubernetes

202 Views Asked by At

Can I change default port of Prometheus or Strimzi Kafka controlplane (both use 9090 by default) to something different, because I need to run both on the same worker node in Kubernetes? I run Prometheus via the Prometheus operator.

I can't find a solution how to change the Prometheus port inside the Prometheus.yaml file.

0

There are 0 best solutions below