希曼日记

安装

  1. 拉取
git clone --depth 1 https://github.com/prometheus-operator/kube-prometheus.git

kubectl apply --server-side -f manifests/setup

kubectl wait \
	--for condition=Established \
	--all CustomResourceDefinition \
	--namespace=monitoring

kubectl apply -f manifests/

删除:

kubectl delete --ignore-not-found=true -f manifests/ -f manifests/setup

资料

https://github.com/prometheus-operator/kube-prometheus