Diplay界面Prometheus

时间:2019-02-22 09:45:30

标签: istio

我有问题。 当我执行命令时
kubectl port-forward -n monitoring prometheus-prometheus-operator-prometheus-0 9090
 在我的集群Kubernetes(AKS)上,它给了我这个结果

Forwarding from 127.0.0.1.19090 -> 9090
Forwarding from [:: 1]: 9090 -> 9090

并且当我在浏览器中放置URL http://127.0.0.1:9090/targets时,我没有结果。

 $ kubectl get pods -n monitoring
NAME READY STATUS RESTARTS AGE
alertmanager-prometheus-operator-alertmanager-0 2/2 Running 0 11h
prometheus-operator-grafana-8549568bc7-zntgz 2/2 Running 0 11h
prometheus-operator-kube-state-metrics-5fc876d8f6-v5zh7 1/1 Running 0 11h
prometheus-operator-operator-75d88ccc6-t4lt5 1/1 Running 0 11h
prometheus-operator-prometheus-node-export-zqk7t 1/1 Running 0 11h
prometheus-prometheus-operator-prometheus-0 3/3 Running 1 11h

应该怎么做?或如何将Prometheus从我的公共云转发到我的本地计算机。 谢谢

0 个答案:

没有答案