To monitor chaos cluster node disk stats
kubectl create -f prometheus-config.yml
- Define a role (ClusterRole) and give the corresponding access permissions
- Create the account (ServiceAccount) used by Prometheus
- Bind the account to the role (ClusterRoleBinding)
kubectl create -f prometheus-rbac-setup.yml
kubectl create -f prometheus-deployment.yml
kubectl create -f node-exporter-daemonset.yml
sudo docker run -d -p 3000:3000 grafana/grafana
Reference:
[2] https://grafana.com/docs/grafana/latest/installation/kubernetes/
[3] https://www.prometheus.wang/quickstart/use-grafana-create-dashboard.html