镜像概览

完整引用
docker.io/goharbor/harbor-exporter
Registry
docker.io
命名空间
goharbor
仓库
harbor-exporter
已缓存 Tag 数
258
最近同步
07/05/2026, 05:55 AM
相关主题

简介

Harbor Exporter Prometheus 指标镜像,采集 Harbor 仓库健康/项目/复制状态,容器镜像仓库可观测性组件。

详细介绍

goharbor/harbor-exporter 为 Harbor 容器镜像仓库提供 Prometheus 格式指标导出,覆盖项目配额、复制任务、组件健康与存储用量。定位为 Harbor 配套 Prometheus Exporter,需连接 Harbor Core API;K8s Deployment 仓库监控层。

快速启动

docker run -d --name harbor-exporter \
  -p 9090:9090 \
  -e HARBOR_URI=https://harbor.example.com \
  -e HARBOR_USERNAME=admin \
  -e HARBOR_PASSWORD=changeme \
  docker.io/goharbor/harbor-exporter:latest

推荐实践

docker run -d --name harbor-exporter \
  --restart unless-stopped \
  -p 9090:9090 \
  -e HARBOR_URI=https://harbor.internal \
  -e HARBOR_USERNAME=exporter \
  -e HARBOR_PASSWORD=changeme \
  docker.io/goharbor/harbor-exporter:v2.10.0

核心参数说明

  • -p 9090:9090 — Prometheus metrics 端点
  • -e HARBOR_URI — Harbor Core API 地址
  • -e HARBOR_USERNAME/PASSWORD — 只读账号(高敏
  • 指标 — harbor_project_quota/health

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: harbor-exporter
spec:
  replicas: 1
  selector:
    matchLabels:
      app: harbor-exporter
  template:
    metadata:
      labels:
        app: harbor-exporter
    spec:
      containers:
        - name: exporter
          image: docker.io/goharbor/harbor-exporter:v2.10.0
          ports:
            - containerPort: 9090
          envFrom:
            - secretRef:
                name: harbor-exporter-env
---
apiVersion: v1
kind: Service
metadata:
  name: harbor-exporter
spec:
  selector:
    app: harbor-exporter
  ports:
    - port: 9090
      targetPort: 9090

Prometheus ServiceMonitor 抓取 harbor-exporter:9090。

最新 Tag(20 条)

查看全部 258 个 Tag →
Tag架构推送时间大小Digest同步期望操作
docker.io/goharbor/harbor-exporter
:v2.15.2-rc2
linux/amd64
2026/06/27 16:0558.3 MBsha256:4a0f03073ab1
docker.io/goharbor/harbor-exporter
:v2.15.2-dev
linux/amd64
2026/06/26 20:0358.3 MBsha256:4a0f03073ab1
docker.io/goharbor/harbor-exporter
:dev-amd64
linux/amd64
2026/06/26 18:4058.3 MBsha256:fd70b99b11e9
docker.io/goharbor/harbor-exporter
:dev
linux/amd64linux/arm64
2026/06/18 16:0258.3 MBsha256:223f82036ffc
docker.io/goharbor/harbor-exporter
:dev-arm64
linux/arm64
2026/06/18 16:0054.4 MBsha256:cffb1358b0cf
docker.io/goharbor/harbor-exporter
:v2.15.2-rc1
linux/amd64
2026/06/17 15:3758.3 MBsha256:c4d07f952a4f
docker.io/goharbor/harbor-exporter
:v2.15.1-dev
linux/amd64
2026/06/12 19:2257.9 MBsha256:e77cb213b7ee
docker.io/goharbor/harbor-exporter
:v2.14.4-dev
linux/amd64
2026/05/26 16:1678.6 MBsha256:071c0c6b2e18
docker.io/goharbor/harbor-exporter
:v2.14.4
linux/amd64
2026/05/11 12:0978.6 MBsha256:92ce01152322
docker.io/goharbor/harbor-exporter
:v2.14.4-rc1
linux/amd64
2026/05/10 11:4978.6 MBsha256:92ce01152322
docker.io/goharbor/harbor-exporter
:v2.14.3-dev
linux/amd64
2026/05/08 10:2957.6 MBsha256:f0cc13ab0447
docker.io/goharbor/harbor-exporter
:v2.15.1
linux/amd64
2026/05/06 16:5062.8 MBsha256:372275b6b6ab
docker.io/goharbor/harbor-exporter
:v2.15.1-rc2
linux/amd64
2026/05/06 16:2562.8 MBsha256:372275b6b6ab
docker.io/goharbor/harbor-exporter
:v2.15.1-rc1
linux/amd64
2026/04/29 16:2362.8 MBsha256:c678b66d0fa5
docker.io/goharbor/harbor-exporter
:v2.15.0-dev
linux/amd64
2026/04/14 15:4840.1 MBsha256:fcfd0f6d60ce
docker.io/goharbor/harbor-exporter
:v2.15.0
linux/amd64
2026/03/20 12:3740.1 MBsha256:ad065e4e1a0e
docker.io/goharbor/harbor-exporter
:v2.15.0-rc4
linux/amd64
2026/03/19 16:3940.1 MBsha256:ad065e4e1a0e
docker.io/goharbor/harbor-exporter
:v2.15.0-rc3
linux/amd64
2026/03/17 14:2940.0 MBsha256:72191733933e
docker.io/goharbor/harbor-exporter
:v2.13.5-dev
linux/amd64
2026/03/11 14:0357.4 MBsha256:66a50663f228
docker.io/goharbor/harbor-exporter
:v2.15.0-rc2
linux/amd64
2026/03/10 15:4040.0 MBsha256:4ff34cb87739