|NO.Z.00298|——————————|CloudNative|——|KuberNetes&运维.V19|——|监控.v05|操作Grafana_UI|
一、Prometheus.UI操作:通过Chrome访问Grafana
### --- 添加本地hosts文件
#C:\Windows\System32\drivers\etc
192.168.1.11 alert.test.com,grafana.test.com,prom.test.com
二、通过Chrome访问:http://grafana.test.com/login
### --- 通过Chrome访问:http://grafana.test.com/login
~~~ 默认账号:admin 密码:admin
~~~ 进入会建议修改密码:账号:admin 密码:passwd
~~~ 进入登录初始界面——>Login——>修改密码

三、修改密码界面:若是没有做持久化存储,pod重启之后密码会失效——>Save

四、进入初始状态页面
五、Home——>Default:下面会有一些默认的监控模板可以直接拿来使用。如可以查看node节点的一些状态
六、查看pod的监控
七、查看每个宿主机上跑了多少个容器,查看每个pod的创建
八、查看kubelet的监控状态
九、Prometheus自己的监控状态
Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
——W.S.Landor
浙公网安备 33010602011771号