该镜像为Mayastor存储系统控制平面的核心组件之一,专注于监控存储I/O路径的高可用性(HA)。通过实时跟踪I/O路径状态、检测异常并触发响应机制,保障Mayastor存储集群中数据读写路径的持续稳定,是构建可靠存储基础设施的关键服务。
bashdocker run -d \ --name mayastor-io-monitor \ --network mayastor-control-plane \ # 连接至Mayastor控制平面网络 -v /path/to/config:/etc/mayastor/monitor \ # 挂载配置文件目录 -e LOG_LEVEL=info \ -e CONTROL_PLANE_ADDR=mayastor-control-plane:50051 \ -e MONITOR_INTERVAL=5s \ mayastor/io-path-ha-monitor:latest
yamlversion: '3.8' services: io-monitor: image: mayastor/io-path-ha-monitor:latest container_name: mayastor-io-monitor networks: - mayastor-control-plane volumes: - ./config:/etc/mayastor/monitor environment: - LOG_LEVEL=info - CONTROL_PLANE_ADDR=mayastor-control-plane:50051 - MONITOR_INTERVAL=5s - ALERT_ENDPOINT=[***] networks: mayastor-control-plane: external: true # 需提前创建Mayastor控制平面网络
| 参数名 | 描述 | 默认值 | 是否必填 |
|---|---|---|---|
LOG_LEVEL | 日志级别(debug/info/warn/error) | info | 否 |
CONTROL_PLANE_ADDR | Mayastor控制平面服务地址 | localhost:50051 | 是 |
MONITOR_INTERVAL | I/O路径状态检查间隔 | 5s | 否 |
ALERT_ENDPOINT | 告警推送端点(Prometheus Alertmanager地址) | 无 | 否 |
MAX_RETRY_COUNT | 路径故障重试次数 | 3 | 否 |
配置文件(默认路径/etc/mayastor/monitor/config.yaml)支持自定义监控规则(如路径健康阈值、告警触发条件),示例:
yamlmonitor: paths: - name: path-0 endpoints: ["node1:3000", "node2:3000"] # 监控的I/O路径端点 thresholds: latency_warn: 100ms # 延迟警告阈值 latency_crit: 500ms # 延迟 critical 阈值 throughput_min: 10MB/s # 最小吞吐量阈值
来自真实用户的反馈,见证轩辕镜像的优质服务
免费版仅支持 Docker Hub 加速,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
免费版仅支持 docker.io;专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像加速服务
在 Docker Desktop 配置镜像加速
Docker Compose 项目配置加速
Kubernetes 集群配置 Containerd
在宝塔面板一键配置镜像加速
Synology 群晖 NAS 配置加速
飞牛 fnOS 系统配置镜像加速
极空间 NAS 系统配置加速服务
爱快 iKuai 路由系统配置加速
绿联 NAS 系统配置镜像加速
QNAP 威联通 NAS 配置加速
Podman 容器引擎配置加速
HPC 科学计算容器配置加速
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名加速
需要其他帮助?请查看我们的 常见问题 或 官方QQ群: 13763429