: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io" in version "apiextensions.k8s.io/v1"
$ kubectl apply -f https://raw.githubusercontent.com/prometheus-opera
我使用mongodb-exporter来存储/通过prometheus查询度量。我已经设置了一个自定义度量服务器,并为此存储了值。这就是prometheus-exporter和custom-metric-server兼容的证据。查询:
kubectl get --raw "/apis/custom.metrics.k8s.io/v1beta1/namespaces/monitoring/pods/*/mongodb_mong
giving:
Error executing query: found duplicate series for the match group {namespace="monitoring", pod="prometheus-k8s", location="haha", namespace="monitoring", node="228d5f45-27cc-4a59-b99d-3bab9ebe3b52", pod="prometheus<
AGAINST('>prometheus' IN BOOLEAN MODE)* MATCH(a.titel_u8) AGAINST('prometheus')+1 as w_tit, MATCH(a.keywords_titel_u8) AGAINST('>prometheus' IN BOOLEAN MODE)* MATCH(a.titel_u8) AGAINST('prometheus
COMMAND CREATED STATUS PORTS NAMES
e4258d657c8dquay.io/prometheus/prometheus:latest "/bin/prometheus --c…" 4 minutes ago Up 4 minutes(base) ➜ ~ docker stop e4258d657c<