
openebs/mayastor-csi-controllerMayastor CSI Driver Controller Service是Mayastor存储系统的核心控制平面组件,实现了Container Storage Interface (CSI)规范。该服务负责与Kubernetes API服务器交互,协调和管理集群存储资源,处理存储卷的创建、删除、扩容、快照等全生命周期操作,是Mayastor在Kubernetes环境中提供分布式存储服务的关键控制节点。
通常通过Kubernetes Deployment资源部署,示例配置如下:
yamlapiVersion: apps/v1 kind: Deployment metadata: name: mayastor-csi-controller namespace: mayastor spec: replicas: 1 # 生产环境建议多副本部署以提高可用性 selector: matchLabels: app: mayastor-csi-controller template: metadata: labels: app: mayastor-csi-controller spec: serviceAccountName: mayastor-csi-controller-sa containers: - name: csi-controller image: mayadata/mayastor-csi-controller:latest # 替换为实际版本 args: - --csi-endpoint=unix:///csi/csi.sock - --node-id=$(NODE_NAME) - --log-level=info env: - name: NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName volumeMounts: - name: csi-socket-dir mountPath: /csi volumes: - name: csi-socket-dir emptyDir: {}
| 参数名 | 描述 | 默认值 |
|---|---|---|
--csi-endpoint | CSI控制器服务监听端点(通常为Unix socket) | unix:///csi/csi.sock |
--node-id | 节点标识符(用于拓扑感知) | 从环境变量NODE_NAME获取 |
--log-level | 日志级别(debug/info/warn/error) | info |
--kubeconfig | Kubernetes API配置文件路径(外部集群使用) | 空(内部集群使用in-cluster配置) |
--metrics-addr | 指标暴露地址 | :8080 |
MayastorPool CRD)csi-provisioner、csi-attacher等CSI辅助容器协同工作,处理CSI规范中的特定阶段操作kubectl logs查看)--metrics-addr指定的地址暴露Prometheus指标,包含卷操作成功率、存储池使用率、API请求延迟等关键指标MayastorPool CRD操作,控制器服务将自动感知并更新存储资源信息探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务