编辑
2024-02-27
Kubernetes
00
请注意,本文编写于 80 天前,最后修改于 66 天前,其中某些信息可能已经过时。

目录

安装
卸载
链接

安装

bash
git clone https://github.com/prometheus-operator/kube-prometheus.git cd kube-prometheus # Create the namespace and CRDs, and then wait for them to be availble before creating the remaining resources kubectl create -f manifests/setup # Wait until the "servicemonitors" CRD is created. The message "No resources found" means success in this context. until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done kubectl create -f manifests/

卸载

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

链接

如果对你有用的话,可以打赏哦
打赏
ali pay
wechat pay

本文作者:liulei

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!