一、 安装
kubectl apply
--filename https://raw.githubusercontent.com/giantswarm/prometheus/master/manifests-all.yaml
[root@master ~]# kubectl get svc -n monitoring
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
alertmanager NodePort 10.96.219.68 <none> 9093:30378/TCP 63m
grafana NodePort 10.98.30.89 <none> 3000:31033/TCP 63m
kube-state-metrics ClusterIP 10.101.69.82 <none> 8080/TCP 63m
prometheus NodePort 10.106.116.242 <none> 9090:30030/TCP 63m
prometheus-node-exporter ClusterIP None <none> 9100/TCP 63m
[root@master ~]#
二、访问Prometheus
http://47.74.254.17:30030/
三、访问Grafana
http://47.74.254.17:31033/
网友评论