You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prometheus trait works fine on OpenShift, but on Minikube I cannot finish running the following on Minikube even with or without prometheus.service-monitor:
kamel run examples/simple.js -t prometheus.enabled=true -t prometheus.service-monitor=false
It keeps Deploying forever:
$ kamel get
NAME PHASE KIT
simple Deploying kit-bv7h9harqm6v2qmd9890
Note the pod still runs fine and the service simple-prometheus is also created behind the scenes, but the phase never changes to Running.
Versions info:
$ kamel version
Camel K Client 1.3.0-SNAPSHOT
$ minikube version
minikube version: v1.15.1
commit: 23f40a012abb52eff365ff99a709501a61ac5876
The text was updated successfully, but these errors were encountered:
As it turns out, it's an issue not only on Minikube but also on k8s in general and even on OCP 3.11 where ServiceMonitor CRD is not provided. The root cause is that some bool properties on traits are really not effective and thus prometheus.service-monitor=false is neglected. Pls see my pull req above.
tadayosi
added a commit
to tadayosi/camel-k
that referenced
this issue
Dec 10, 2020
Prometheus trait works fine on OpenShift, but on Minikube I cannot finish running the following on Minikube even with or without
prometheus.service-monitor
:It keeps
Deploying
forever:Note the pod still runs fine and the service
simple-prometheus
is also created behind the scenes, but the phase never changes toRunning
.Versions info:
The text was updated successfully, but these errors were encountered: