镜像概览

完整引用
docker.io/rancher/mirrored-prometheus-prometheus
Registry
docker.io
命名空间
rancher
仓库
mirrored-prometheus-prometheus
已缓存 Tag 数
51
最近同步
07/05/2026, 12:32 PM

简介

Rancher 镜像 Prometheus Server,时序 metrics 采集存储与 PromQL 查询,RKE/RKE2/K3s 集群监控栈核心组件。

详细介绍

rancher/mirrored-prometheus-prometheus 是 Prometheus 官方 Server 的 Rancher 镜像仓库构建,负责 metrics 抓取、本地 TSDB 存储与 PromQL 查询。定位为 Prometheus 监控 Server,配置 scrape_configs 与 retention;Rancher 集群监控、kube-prometheus-stack 或自建 metrics 存储查询引擎。

快速启动

docker run -d --name prometheus \
  -p 9090:9090 \
  -v /data/prometheus:/prometheus \
  docker.io/rancher/mirrored-prometheus-prometheus:v2.54.0

推荐实践

docker run -d --name prometheus \
  --restart unless-stopped \
  -p 9090:9090 \
  -v /etc/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml \
  -v /data/prometheus:/prometheus \
  docker.io/rancher/mirrored-prometheus-prometheus:v2.54.0

核心参数说明

  • -p 9090:9090 — Web UI 与 API
  • prometheus.yml — scrape 目标配置
  • -v .../prometheus:... — TSDB 数据持久化
  • retention--storage.tsdb.retention.time

Kubernetes

apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: prometheus
spec:
  serviceName: prometheus
  replicas: 1
  selector:
    matchLabels:
      app: prometheus
  template:
    metadata:
      labels:
        app: prometheus
    spec:
      containers:
        - name: prometheus
          image: docker.io/rancher/mirrored-prometheus-prometheus:v2.54.0
          ports:
            - containerPort: 9090
          volumeMounts:
            - name: data
              mountPath: /prometheus
            - name: config
              mountPath: /etc/prometheus
      volumes:
        - name: config
          configMap:
            name: prometheus-config
  volumeClaimTemplates:
    - metadata:
        name: data
      spec:
        accessModes: [ReadWriteOnce]
        resources:
          requests:
            storage: 50Gi

生产建议 kube-prometheus-stack;PVC 存 TSDB。

最新 Tag(20 条)

查看全部 51 个 Tag →
Tag架构推送时间大小Digest同步期望操作
docker.io/rancher/mirrored-prometheus-prometheus
:v3.11.0
linux/amd64linux/arm64linux/arm/v7linux/ppc64lelinux/s390x
2026/05/12 05:57145.8 MBsha256:1361e7e2b9d8
docker.io/rancher/mirrored-prometheus-prometheus
:v2.38.0-arm
linux/arm
2025/05/07 08:0678.0 MBsha256:1025cdf81800
docker.io/rancher/mirrored-prometheus-prometheus
:v2.24.0-arm64
linux/arm64
2025/05/01 05:5160.4 MBsha256:c9ab3a5a9128
docker.io/rancher/mirrored-prometheus-prometheus
:v2.48.1-s390x
linux/s390x
2025/04/23 02:2893.3 MBsha256:22485198ccd6
docker.io/rancher/mirrored-prometheus-prometheus
:v2.48.1-arm
linux/arm/v7
2024/11/07 03:3387.0 MBsha256:59ed7169c9a4
docker.io/rancher/mirrored-prometheus-prometheus
:v2.55.0
linux/amd64linux/arm64/v8linux/arm/v7linux/s390x
2024/11/05 07:43109.0 MBsha256:fe47ca5a4eb2
docker.io/rancher/mirrored-prometheus-prometheus
:v2.55.0-s390x
linux/s390x
2024/11/05 07:43107.5 MBsha256:3843b66d0d31
docker.io/rancher/mirrored-prometheus-prometheus
:v2.55.0-arm
linux/arm/v7
2024/11/05 07:43100.1 MBsha256:c7b4842459e9
docker.io/rancher/mirrored-prometheus-prometheus
:v2.55.0-arm64
linux/arm64/v8
2024/11/05 07:42103.4 MBsha256:04c6fc0a8fef
docker.io/rancher/mirrored-prometheus-prometheus
:v2.55.0-amd64
linux/amd64
2024/11/05 07:42109.0 MBsha256:fe47ca5a4eb2
docker.io/rancher/mirrored-prometheus-prometheus
:v2.53.1
linux/amd64linux/arm64/v8linux/arm/v7linux/s390x
2024/08/30 06:40101.8 MBsha256:e815f1c12acf
docker.io/rancher/mirrored-prometheus-prometheus
:v2.53.1-s390x
linux/s390x
2024/08/30 06:40100.5 MBsha256:bd9614b80eee
docker.io/rancher/mirrored-prometheus-prometheus
:v2.53.1-arm
linux/arm/v7
2024/08/30 06:3993.4 MBsha256:e898a953bdf4
docker.io/rancher/mirrored-prometheus-prometheus
:v2.53.1-arm64
linux/arm64/v8
2024/08/30 06:3996.2 MBsha256:eb9653beb04c
docker.io/rancher/mirrored-prometheus-prometheus
:v2.53.1-amd64
linux/amd64
2024/08/30 06:39101.8 MBsha256:e815f1c12acf
docker.io/rancher/mirrored-prometheus-prometheus
:v2.50.1
linux/arm64/v8linux/s390xlinux/amd64linux/arm/v7
2024/03/26 05:5691.3 MBsha256:811270fb4bab
docker.io/rancher/mirrored-prometheus-prometheus
:v2.50.1-s390x
linux/s390x
2024/03/26 05:5695.8 MBsha256:4e2ae3bf7215
docker.io/rancher/mirrored-prometheus-prometheus
:v2.50.1-arm
linux/arm/v7
2024/03/26 05:5689.4 MBsha256:5890460262c3
docker.io/rancher/mirrored-prometheus-prometheus
:v2.50.1-arm64
linux/arm64/v8
2024/03/26 05:5691.3 MBsha256:811270fb4bab
docker.io/rancher/mirrored-prometheus-prometheus
:v2.50.1-amd64
linux/amd64
2024/03/26 05:5696.8 MBsha256:e7f5a279d674