bjethwan opened a new issue, #3428:
URL: https://github.com/apache/camel-k/issues/3428

   Doc: https://camel.apache.org/camel-k/1.9.x/observability/monitoring.html
   
   As per the doc, I installed prometheus-operator.
   `$ kubectl apply -f 
https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/main/bundle.yaml`
   
   Next statement doesn't work
   ```
   cat <<EOF | kubectl apply -f -
   apiVersion: monitoring.coreos.com/v1
   kind: Prometheus
   metadata:
     name: prometheus
   spec:
     podMonitorSelector:
       matchExpressions:
         - key: camel.apache.org/integration
           operator: Exists
   EOF
   ```
   
   Error:
   **`error: unable to recognize "STDIN": no matches for kind "Prometheus" in 
version "monitoring.coreos.com/v1"`**
   
   Extra:
   ```
   k get crds | grep monitoring
   alertmanagerconfigs.monitoring.coreos.com   2022-07-10T08:48:12Z
   alertmanagers.monitoring.coreos.com         2022-07-10T08:48:12Z
   podmonitors.monitoring.coreos.com           2022-07-10T08:48:12Z
   probes.monitoring.coreos.com                2022-07-10T08:48:12Z
   prometheusrules.monitoring.coreos.com       2022-07-10T08:48:12Z
   servicemonitors.monitoring.coreos.com       2022-07-10T08:48:12Z
   thanosrulers.monitoring.coreos.com          2022-07-10T08:48:13Z
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to