概要

フル名
docker.io/enix/x509-certificate-exporter
Registry
docker.io
名前空間
enix
リポジトリ
x509-certificate-exporter
キャッシュ Tag 数
223
最終同期
07/13/2026, 02:17 PM

概要

x509 Certificate Exporter 镜像,TLS 证书过期 Prometheus 指标导出,K8s Secret/文件证书监控与告警。

詳細

enix/x509-certificate-exporter 运行 x509 Certificate Exporter,扫描 TLS 证书(文件、K8s Secret、kubeconfig)并暴露 Prometheus Metrics。定位为证书过期监控 Exporter,适合 DaemonSet 部署;TLS 证书到期告警、K8s Ingress 证书监控或 Cert-Manager 配套过期检测。

快速启动

docker run -d --name x509-exporter \
  -p 9793:9793 \
  -v /etc/ssl/certs:/ssl:ro \
  docker.io/enix/x509-certificate-exporter:latest

推荐实践

docker run -d --name x509-exporter \
  --restart unless-stopped \
  -p 9793:9793 \
  -v /etc/ssl/certs:/ssl:ro \
  docker.io/enix/x509-certificate-exporter:3.14.0

核心参数说明

  • -p 9793:9793 — Prometheus scrape 端口
  • -v /ssl:ro — 证书目录只读挂载
  • 指标 — x509_cert_not_after 等
  • 告警 — Prometheus 规则监控过期

Kubernetes

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: x509-exporter
spec:
  selector:
    matchLabels:
      app: x509-exporter
  template:
    metadata:
      labels:
        app: x509-exporter
    spec:
      containers:
        - name: exporter
          image: docker.io/enix/x509-certificate-exporter:3.14.0
          ports:
            - containerPort: 9793
          args:
            - --watch-kube-secrets
          volumeMounts:
            - name: certs
              mountPath: /ssl
              readOnly: true
      volumes:
        - name: certs
          hostPath:
            path: /etc/ssl/certs
---
apiVersion: v1
kind: Service
metadata:
  name: x509-exporter
  annotations:
    prometheus.io/scrape: "true"
    prometheus.io/port: "9793"
spec:
  selector:
    app: x509-exporter
  ports:
    - port: 9793
      targetPort: 9793

DaemonSet 扫描节点证书;Prometheus 配置告警规则。

Tagアーキテクチャプッシュ日時サイズDigest同期期望操作
docker.io/enix/x509-certificate-exporter
:4.2.0-rc.1-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/26 01:4316.6 MBsha256:a5a0f482e7b0
docker.io/enix/x509-certificate-exporter
:4.2.0-rc.1
linux/amd64linux/arm64linux/riscv64
2026/05/26 01:4314.5 MBsha256:d9889e920bfd
docker.io/enix/x509-certificate-exporter
:4.2.0-beta.3-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/15 23:4316.6 MBsha256:af43fa88c241
docker.io/enix/x509-certificate-exporter
:4.2.0-beta.3
linux/amd64linux/arm64linux/riscv64
2026/05/15 23:4314.5 MBsha256:e7105f8408d9
docker.io/enix/x509-certificate-exporter
:4.2.0-beta.2-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/14 04:1616.6 MBsha256:272812f97311
docker.io/enix/x509-certificate-exporter
:4.2.0-beta.2
linux/amd64linux/arm64linux/riscv64
2026/05/14 04:1614.5 MBsha256:0f42b305e2b6
docker.io/enix/x509-certificate-exporter
:4.2.0-beta.1-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/14 00:3016.6 MBsha256:3d916e05092a
docker.io/enix/x509-certificate-exporter
:4.2.0-beta.1
linux/amd64linux/arm64linux/riscv64
2026/05/14 00:3014.5 MBsha256:65cd7e47d0c6
docker.io/enix/x509-certificate-exporter
:busybox
linux/amd64linux/arm64linux/riscv64
2026/05/07 19:3316.1 MBsha256:aadecd123287
docker.io/enix/x509-certificate-exporter
:latest
linux/amd64linux/arm64linux/riscv64
2026/05/07 19:3314.0 MBsha256:5f27164db2a2
docker.io/enix/x509-certificate-exporter
:4.1.0-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/07 19:3316.1 MBsha256:aadecd123287
docker.io/enix/x509-certificate-exporter
:4.1.0
linux/amd64linux/arm64linux/riscv64
2026/05/07 19:3314.0 MBsha256:5f27164db2a2
docker.io/enix/x509-certificate-exporter
:4.0.0-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/06 21:1216.1 MBsha256:37887daa974a
docker.io/enix/x509-certificate-exporter
:4.0.0
linux/amd64linux/arm64linux/riscv64
2026/05/06 21:1214.0 MBsha256:3210f578ba6a
docker.io/enix/x509-certificate-exporter
:4.0.0-rc.4-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/06 14:5716.1 MBsha256:4b7ef83898e5
docker.io/enix/x509-certificate-exporter
:4.0.0-rc.4
linux/amd64linux/arm64linux/riscv64
2026/05/06 14:5714.0 MBsha256:8ec139ebd9ef
docker.io/enix/x509-certificate-exporter
:4.0.0-rc.3-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/06 03:0915.9 MBsha256:8f90be945243
docker.io/enix/x509-certificate-exporter
:4.0.0-rc.3
linux/amd64linux/arm64linux/riscv64
2026/05/06 03:0913.8 MBsha256:2753730522f1
docker.io/enix/x509-certificate-exporter
:4.0.0-rc.2-busybox
linux/amd64linux/arm64linux/riscv64
2026/05/06 01:3715.8 MBsha256:27ab55a7b91f
docker.io/enix/x509-certificate-exporter
:4.0.0-rc.2
linux/amd64linux/arm64linux/riscv64
2026/05/06 01:3713.7 MBsha256:d909d8cadc80