prometheus容器化
普罗米修斯容器化就是在kubernetes中安装。
普罗米修斯容器化就是在kubernetes中安装。
[root@k8s-master-01 ~]# kubectl get nodes NAME STATUS ROLES AGE VERSION k8s-master-01 Ready control-plane,master 16d v1.20.5 k8s-node-01 Ready <none> 16d v1.20.5 k8s-node-02 Ready <none> 16d v1.20.5
[root@k8s-master-01 ~]# git clone -b release-0.7 --single-branch https://github.com/prometheus-operator/kube-prometheus.git # 或者 [root@k8s-master-01 ~]# wget https://github.com/prometheus-operator/kube-prometheus/archive/refs/tags/v0.7.0.tar.gz
[root@k8s-master-01 ~]# tar xf kube-prometheus-0.7.0.tar.gz