y71.第四章 Prometheus大厂监控体系及实战 -- prometheus server安装(二)

2.2 prometheus server安装

prometheus可以通过多种方式安装
在这里插入图片描述

2.2.1 通过容器启动

https://prometheus.io/docs/prometheus/latest/installation/

https://hub.docker.com/r/prom/prometheus

root@k8s-master1:~# docker pull prom/prometheus:latest

root@k8s-master1:~# docker run \
    -p 9090:9090 \
    prom/prometheus

http://172.31.7.101:9090/
在这里插入图片描述

2.2.2 在线安装

# apt search prometheus

猜你喜欢

转载自blog.csdn.net/qq_25599925/article/details/124976747