十一、在k8s集群中安装prometheus
1.在master机器上创建sa账号,并对sa做rbac授权#创建一个sa账号monitorkubectl create serviceaccount monitor -n monitor-sa#把sa账号monitor通过clusterrolebing 绑定到clusterrole 上kubectl create clusterrolebinding monitor-clusterrolebinding -n monitor-s…
2026/7/4 3:47:23