镜像概览

完整引用
docker.io/openebs/cstor-webhook
Registry
docker.io
命名空间
openebs
仓库
cstor-webhook
已缓存 Tag 数
110
最近同步
07/06/2026, 01:05 PM

简介

OpenEBS cStor 存储引擎 Kubernetes 准入 Webhook 镜像,校验 PVC 与 VolumeClaim 请求,需与 cspc-operator 同集群部署。

详细介绍

openebs/cstor-webhook 实现 Mutating/Validating Webhook,拦截 cStor 相关 CR 与 PVC 创建请求并注入默认策略。镜像专为 K8s 控制面设计,不能 docker run 独立提供存储服务,需 kube-apiserver 可达并配置 WebhookConfiguration。与通用 sidecar 相比绑定 OpenEBS cStor 生态;生产固定 tag、TLS 证书经 cert-manager 签发并限制 webhook 失败策略。

快速启动

# cstor-webhook 为 K8s 准入组件,无独立 docker run 场景
docker pull docker.io/openebs/cstor-webhook:latest

推荐实践

# 通过 OpenEBS Helm/Operator 部署,手动拉取固定版本示例:
docker pull docker.io/openebs/cstor-webhook:3.6.0
# 实际运行由 Deployment + Service 注册至 apiserver

核心参数说明

  • 角色 — cStor 准入 Webhook 服务
  • 前提 — 需 cspc-operator 与 ValidatingWebhookConfiguration
  • 禁止 — 勿 docker run 期望块存储功能
  • TLS — webhook 服务需有效 serving 证书
  • 版本 — tag 与 cspc-operator 大版本对齐
  • 部署 — 使用官方 OpenEBS chart 一键安装

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: cstor-webhook
  namespace: openebs
spec:
  replicas: 1
  selector:
    matchLabels:
      app: cstor-webhook
  template:
    metadata:
      labels:
        app: cstor-webhook
    spec:
      containers:
        - name: webhook
          image: docker.io/openebs/cstor-webhook:3.6.0
          ports:
            - containerPort: 443
          volumeMounts:
            - name: certs
              mountPath: /etc/webhook/certs
      volumes:
        - name: certs
          secret:
            secretName: cstor-webhook-certs
---
apiVersion: v1
kind: Service
metadata:
  name: cstor-webhook
  namespace: openebs
spec:
  selector:
    app: cstor-webhook
  ports:
    - port: 443
      targetPort: 443

Webhook 证书 Secret 与 ValidatingWebhookConfiguration 由 Operator 管理;与 cspc-operator 同 namespace,升级时同步 pin 版本。

最新 Tag(20 条)

查看全部 110 个 Tag →
Tag架构推送时间大小Digest同步期望操作
docker.io/openebs/cstor-webhook
:latest
linux/amd64linux/arm64
2023/12/12 01:4276.7 MBsha256:42288c6c3930
docker.io/openebs/cstor-webhook
:3.6.0
linux/amd64linux/arm64
2023/12/12 01:4276.7 MBsha256:42288c6c3930
docker.io/openebs/cstor-webhook
:3.6.x-ci
linux/amd64linux/arm64
2023/12/12 01:1176.7 MBsha256:d7d7491edcb4
docker.io/openebs/cstor-webhook
:ci
linux/amd64linux/arm64
2023/11/24 00:2576.7 MBsha256:ba3bb0a31ac9
docker.io/openebs/cstor-webhook
:fix-migration-task-crd-ci
linux/amd64linux/arm64
2023/11/23 20:1976.7 MBsha256:13eeae503525
docker.io/openebs/cstor-webhook
:3.5.0
linux/arm64linux/amd64
2023/07/26 09:1263.6 MBsha256:33b83fb4d08a
docker.io/openebs/cstor-webhook
:3.5.x-ci
linux/amd64linux/arm64
2023/07/24 23:5175.3 MBsha256:9695064449b8
docker.io/openebs/cstor-webhook
:3.4.x-ci
linux/amd64linux/arm64
2022/10/02 17:1974.3 MBsha256:0786593c53ba
docker.io/openebs/cstor-webhook
:3.4.0
linux/amd64linux/arm64
2022/10/01 01:2874.3 MBsha256:f1c93070b974
docker.io/openebs/cstor-webhook
:3.3.0
linux/amd64linux/arm64
2022/07/13 19:3271.0 MBsha256:d506371d90cc
docker.io/openebs/cstor-webhook
:3.3.0-RC2
linux/amd64linux/arm64
2022/07/11 14:2870.9 MBsha256:da8445b7b9c1
docker.io/openebs/cstor-webhook
:3.3.0-RC1
linux/amd64linux/arm64
2022/07/04 20:3070.9 MBsha256:72364e910682
docker.io/openebs/cstor-webhook
:3.3.x-ci
linux/amd64linux/arm64
2022/07/01 21:0170.9 MBsha256:5b35ba8769ce
docker.io/openebs/cstor-webhook
:3.2.0
linux/amd64linux/arm64
2022/04/18 16:2670.2 MBsha256:193afaa12dc1
docker.io/openebs/cstor-webhook
:3.2.0-RC1
linux/amd64linux/arm64
2022/04/08 18:2370.2 MBsha256:bba3c85e8bd0
docker.io/openebs/cstor-webhook
:3.2.x-ci
linux/amd64linux/arm64
2022/04/08 00:3470.2 MBsha256:cc36fa9fc3be
docker.io/openebs/cstor-webhook
:3.1.0
linux/amd64linux/arm64
2022/01/03 21:5969.3 MBsha256:f1b5c3e83f7f
docker.io/openebs/cstor-webhook
:3.1.0-RC2
linux/amd64linux/arm64
2021/12/29 17:1969.3 MBsha256:6cb4e4e32dfd
docker.io/openebs/cstor-webhook
:3.1.0-RC1
linux/amd64linux/arm64
2021/12/20 15:2269.3 MBsha256:b28e9749d27a
docker.io/openebs/cstor-webhook
:3.1.x-ci
linux/arm64linux/amd64
2021/12/17 12:1560.5 MBsha256:ede26470d95f