Closed aleksandra-galara closed 4 years ago
It seems Prometheus service is not correctly installed or the configured address of the host is invalid.
Please, check the valid address for Prometheus service:
$ kubectl -n monitoring get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
alertmanager-operated ClusterIP None <none> 9093/TCP,9094/TCP,9094/UDP 33d
prometheus-grafana ClusterIP 10.233.63.92 <none> 80/TCP 33d
prometheus-kube-state-metrics ClusterIP 10.233.16.9 <none> 8080/TCP 33d
prometheus-operated ClusterIP None <none> 9090/TCP 33d
prometheus-prometheus-node-exporter ClusterIP 10.233.32.79 <none> 9100/TCP 33d
prometheus-prometheus-oper-alertmanager ClusterIP 10.233.0.134 <none> 9093/TCP 33d
prometheus-prometheus-oper-operator ClusterIP 10.233.57.250 <none> 8080/TCP,443/TCP 33d
prometheus-prometheus-oper-prometheus ClusterIP 10.233.2.151 <none> 9090/TCP 33d
Then, set it in orca
config map:
$ kubectl -n rca edit cm orca
orca.yaml: |
...
prometheus:
url: http://prometheus-prometheus-oper-prometheus.monitoring:9090
resync_period: 60
Then, restart orca
pod.
The following error occurs in the logs of orca pod: