kubernetes 安裝監控 prometheus & grafana
先取得Repo
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
安裝
helm install prometheus prometheus-community/kube-prometheus-stack -n monitoring
等他跑完 這樣就裝好了
我自己是用docker 的nginx反向代理出來
取得 key
kubectl get secret prometheus-grafana -oyaml -n monitoring
解密
echo "cHJvbS1vcGVyYXRvcg==" | base64 --decode
帳/密: admin / prom-operator