Re: Why my prometheus operator not discovering new camel-k pods

2021-11-30 Thread Roberto Camelk
Ok Antonin... this is what I'm trying: https://github.com/prometheus-operator/prometheus-operator/issues/4428 But they are telling me to change the PodMonitor "selector", but this definition is created by camel-k ... the only thing I can change is the label of the PodMonitor resource according to

Re: Why my prometheus operator not discovering new camel-k pods

2021-11-30 Thread Antonin Stefanutti
As you've pointed it, the problem is that the Prometheus operator does not update the prometheus configuration. That is consistent with why restarting fixes the issue, as it forces an update. There may be some configuration parameters to update in the Prometheus resource. It's strictly related

Why my prometheus operator not discovering new camel-k pods

2021-11-30 Thread Roberto Camelk
I created a simples integration and enabled the prometheus integration, as explained here: https://camel.apache.org/camel-k/1.4.x/observability/integration.html#_discovery Before that, I also configured my Prometheus operator resource, as explained here: https://camel.apache.org/camel-k/1.7.x/obse