Hi all,
I am going to run the istio prometheus under a different externalUrl than /.
Therefore I wanted to deploy the following object:
---
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: main
spec:
replicas: 1
version: {{ .Release.appVersion }}
externalUrl: https://istio.domain/prometheus
resources:
requests:
memory: 400Mi
But I get an error message when deploying it that the CRD monitoring.coreos.com
is not found on my istio installation.
I found on the web, that the following CRD needs to be deployed: https://github.com/coreos/prometheus-operator/blob/60300f2baf8b02bc86d71672a76420476924af75/example/prometheus-operator-crd/prometheus.crd.yaml
Do I have to deploy that one or how do I get the CRD monitoring.coreos.com
on the istio installation?
I installed istio 1.4.0 via the official helm charts.
Thanks in advance.
Best regards,
rforberger