首先很可惜的是在我做这个手顺的时候, prometheus operator 就已经过期了
*******************
*** DEPRECATED ****
*******************
* stable/prometheus-operator chart is deprecated.
* Further development has moved to https://github.com/prometheus-community/helm-charts
* The chart has been renamed kube-prometheus-stack to more clearly reflect
* that it installs the `kube-prometheus` project stack, within which Prometheus
* Operator is only one component.
The Prometheus Operator has been installed. Check its status by running:
kubectl --namespace monitoring get pods -l "release=prometheus-operator"
Visit https://github.com/coreos/prometheus-operator for instructions on how
to create & configure Alertmanager and Prometheus instances using the Operator.
云环境中大多数的项目,每天都经历着变化,日新月异,想起来那句老话
“球球你别更了,我学不动了” (手动狗头)
废话不多说了,先看安装步骤
helm repo add stable https://charts.helm.sh/stable
helm repo update
helm install prometheus-operator --set rbacEnable=true --namespace=monitoring stable/prometheus-operator
全部结束之后可以得到登录画面?什么?找不到?直接去创建一个 nodeport就好了
用户名和密码 登录之后就可以看到预设好的dashboard了
admin
prom-operator