-
编辑
/etc/kubez/globals.yml
-
取消
enable_grafana: "no"
的注释,并设置为"yes"
################## # Grafana Options ################## enable_grafana: "yes" grafana_admin_user: admin grafana_admin_password: admin
-
执行安装命令(根据实际情况选择)
# 单节点集群场景 kubez-ansible apply # 高可用集群场景 kubez-ansible -i multinode apply
-
部署完验证
[root@VM-0-16-centos ~]# kubectl get pod -n pixiu-system NAME READY STATUS RESTARTS AGE grafana-b96497f76-fmrdf 1/1 Running 0 22m [root@VM-0-16-centos ~]# helm list -n pixiu-system NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION grafana pixiu-system 1 2023-03-05 17:07:34.860715012 +0800 CST deployed grafana-6.29.6 8.5.3