Overview

Full name
docker.io/openebs/mayastor-io-engine
Registry
docker.io
Namespace
openebs
Repository
mayastor-io-engine
Cached tags
557
Last synced
07/06/2026, 03:55 PM

Introduction

OpenEBS Mayastor 存储 IO 引擎镜像,在节点上提供 NVMe-oF 与复制卷数据面,属于 Mayastor 分布式块存储核心组件,需配合 etcd 与 control plane。

Details

openebs/mayastor-io-engine 是 Mayastor 2.x 的数据面守护进程,负责本地 NVMe 池管理、副本同步与 iSCSI/NVMf 导出。通常以 DaemonSet 部署在每个提供存储的 Worker 节点,向 mayastor-agent-core 注册并暴露 gRPC 接口。与 cStor/Jiva 相比 Mayastor 面向低延迟 NVMe 场景;生产应固定 tag、预留 HugePages 与专用磁盘,并与 control plane 版本严格对齐。

快速启动

docker run -d --name mayastor-io-engine \
  --network host --privileged \
  -e MY_POD_IP=192.168.1.10 \
  -e ETCD_ENDPOINTS=http://etcd:2379 \
  docker.io/openebs/mayastor-io-engine:latest

推荐实践

docker run -d --name mayastor-io-engine \
  --restart unless-stopped \
  --network host --privileged \
  -e MY_POD_IP=192.168.1.10 \
  -e ETCD_ENDPOINTS=http://etcd.internal:2379 \
  -e RUST_LOG=info \
  -v /dev:/dev \
  -v /var/local/mayastor:/var/local/mayastor \
  docker.io/openebs/mayastor-io-engine:v2.6.0

核心参数说明

  • --network host — 数据面需直接访问节点网络
  • --privileged — 访问 NVMe 设备与内核模块
  • -e MY_POD_IP — 本节点在集群内的 IP
  • -e ETCD_ENDPOINTS — Mayastor 元数据 etcd 地址
  • -v /var/local/mayastor:... — 本地池与缓存目录
  • 固定 tag — 与 mayastor-agent-core 大版本一致

Kubernetes

apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: mayastor-io-engine
  namespace: mayastor
spec:
  selector:
    matchLabels:
      app: io-engine
  template:
    metadata:
      labels:
        app: io-engine
    spec:
      hostNetwork: true
      nodeSelector:
        openebs.io/engine: mayastor
      containers:
        - name: io-engine
          image: docker.io/openebs/mayastor-io-engine:v2.6.0
          securityContext:
            privileged: true
          env:
            - name: MY_POD_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
            - name: ETCD_ENDPOINTS
              value: http://mayastor-etcd:2379
          volumeMounts:
            - name: device
              mountPath: /dev
            - name: mayastor-data
              mountPath: /var/local/mayastor
      volumes:
        - name: device
          hostPath:
            path: /dev
        - name: mayastor-data
          hostPath:
            path: /var/local/mayastor

DaemonSet 需 privileged 与 hostNetwork;节点打 label 并配置 HugePages,StorageClass 由 Mayastor Helm 一并安装。

Latest tags (20)

View all 557 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/openebs/mayastor-io-engine
:release-2.7
linux/amd64
2026/07/01 09:0779.7 MBsha256:fefd0acdfdec
docker.io/openebs/mayastor-io-engine
:develop
linux/amd64
2026/06/29 20:19112.3 MBsha256:17acc0b76364
docker.io/openebs/mayastor-io-engine
:3e752a48cad7
linux/amd64
2026/06/29 20:18112.3 MBsha256:17acc0b76364
docker.io/openebs/mayastor-io-engine
:cccc2b567fdc
linux/amd64
2026/06/29 19:39112.3 MBsha256:6f01d3678019
docker.io/openebs/mayastor-io-engine
:4834c38ade10
linux/amd64
2026/06/29 19:00112.3 MBsha256:fe2a1e99df56
docker.io/openebs/mayastor-io-engine
:0643060ad4c5
linux/amd64
2026/06/24 07:59112.3 MBsha256:e548440a154e
docker.io/openebs/mayastor-io-engine
:010722b7830c
linux/amd64
2026/06/23 22:01112.3 MBsha256:8438fb49e857
docker.io/openebs/mayastor-io-engine
:230a297d4dca
linux/amd64
2026/06/23 00:52112.3 MBsha256:11253523bffa
docker.io/openebs/mayastor-io-engine
:2a4a672c5380
linux/amd64
2026/06/23 00:17112.3 MBsha256:1d1249cac2a2
docker.io/openebs/mayastor-io-engine
:v2.11.1
linux/amd64
2026/06/17 12:22112.3 MBsha256:b88de7167440
docker.io/openebs/mayastor-io-engine
:10070266eb52
linux/amd64
2026/06/16 05:27112.3 MBsha256:0c5e82812779
docker.io/openebs/mayastor-io-engine
:release-2.11
linux/amd64
2026/06/14 05:48112.3 MBsha256:989d21efe61c
docker.io/openebs/mayastor-io-engine
:cc398d30aa10
linux/amd64
2026/06/14 05:48112.3 MBsha256:989d21efe61c
docker.io/openebs/mayastor-io-engine
:6d837f2d0230
linux/amd64
2026/06/14 03:53112.3 MBsha256:9be6e9b77545
docker.io/openebs/mayastor-io-engine
:161b09bd4d84
linux/amd64
2026/06/12 04:11112.3 MBsha256:387ba77fc0b1
docker.io/openebs/mayastor-io-engine
:941108c094fa
linux/amd64
2026/06/12 01:55112.3 MBsha256:6d19da6be1e2
docker.io/openebs/mayastor-io-engine
:bdc1b8bde7e8
linux/amd64
2026/06/11 08:47112.3 MBsha256:0c13e95b77c2
docker.io/openebs/mayastor-io-engine
:bb762f49b2bd
linux/amd64
2026/06/10 22:13112.3 MBsha256:07739cb7246e
docker.io/openebs/mayastor-io-engine
:e8b8a024f1de
linux/amd64
2026/06/05 19:50112.3 MBsha256:b1df9356e9bd
docker.io/openebs/mayastor-io-engine
:0f5ecf4baf9a
linux/amd64
2026/06/05 19:18112.3 MBsha256:692a41fcd57c