如何重建 CSM/CSI 驱动程序映像以更新 kubernetes sidecar
摘要: 戴尔 CSM/CSI 驱动程序使用 Kubernetes 和 Sidecars 开源解决方案,并且相互依赖。 除非 Kubernetes 发布的任何新 sidecar 版本经过 Dell CSM/CSI 团队的 cert-csi 工具测试/认证 https://dell.github.io/csm-docs/docs/csidriver/installation/test/certcsi/ 否则不受工程部门支持。 CSM/CSI-Drivers 的季度版本始终包含在公开发布之前 CSM/CSI-Drivers 代码冻结之前可用的 K8S sidecar 的最新版本。 如果您想要使用最近发布且尚未纳入 CSM/CSI 驱动程序的最新 sidecar 版本,则他们可以更新以下文件中的 sidecar 版本,并使用以下命令构建自己的本地映像: ...
本文适用于
本文不适用于
本文并非针对某种特定的产品。
本文并非包含所有产品版本。
说明
请阅读以下说明以修改和重建 CSM/CSI 驱动程序映像。
我们以 csi-powerstore 驱动程序为例。您应按照下面的说明编辑该文件。
提醒:以下文件路径中所示的平台名称将相应地更改为您用于存储平台的 CSI 驱动程序。
https://github.com/dell/csi-powerstore/blob/v2.6.0/helm/csi-powerstore/templates/_helpers.tpl#L7 https://github.com/dell/csi-powerscale/blob/v2.6.0/helm/csi-isilon/templates/_helpers.tpl#L7
https://github.com/dell/csi-powermax/blob/v2.6.0/helm/csi-powermax/templates/_helpers.tpl#L7
https://github.com/dell/csi-unity/blob/v2.6.0/helm/csi-unity/templates/_helpers.tpl#L7
更改之前的 https://github.com/dell/csi-powerflex/blob/main/helm/csi-vxflexos/templates/_helpers.tpl#L7
以上只是一个例子。您可以根据需要随时调整版本。
用于构建驱动程序映像的命令:
make clean
make build
make docker-no-cache
在安装驱动程序时使用构建的映像 https://dell.github.io/csm-docs/docs/csidriver/installation/
支持的矩阵 doc 链接: https://dell.github.io/csm-docs/docs/csidriver/#features-and-capabilities
注意: 上述步骤适用于所有 sidecar
注意:戴尔不支持未经测试的 sidecar
我们以 csi-powerstore 驱动程序为例。您应按照下面的说明编辑该文件。
提醒:以下文件路径中所示的平台名称将相应地更改为您用于存储平台的 CSI 驱动程序。
https://github.com/dell/csi-powerstore/blob/v2.6.0/helm/csi-powerstore/templates/_helpers.tpl#L7 https://github.com/dell/csi-powerscale/blob/v2.6.0/helm/csi-isilon/templates/_helpers.tpl#L7
https://github.com/dell/csi-powermax/blob/v2.6.0/helm/csi-powermax/templates/_helpers.tpl#L7
https://github.com/dell/csi-unity/blob/v2.6.0/helm/csi-unity/templates/_helpers.tpl#L7
更改之前的 https://github.com/dell/csi-powerflex/blob/main/helm/csi-vxflexos/templates/_helpers.tpl#L7
{{- print "k8s.gcr.io/sig-storage/csi-attacher:v4.2.0" -}}
After the change
{{- print "k8s.gcr.io/sig-storage/csi-attacher:v4.3.0" -}}
以上只是一个例子。您可以根据需要随时调整版本。
用于构建驱动程序映像的命令:
make clean
make build
make docker-no-cache
在安装驱动程序时使用构建的映像 https://dell.github.io/csm-docs/docs/csidriver/installation/
支持的矩阵 doc 链接: https://dell.github.io/csm-docs/docs/csidriver/#features-and-capabilities
注意: 上述步骤适用于所有 sidecar
注意:戴尔不支持未经测试的 sidecar
受影响的产品
Container Storage Modules Family, Container Storage Modules文章属性
文章编号: 000214410
文章类型: How To
上次修改时间: 18 5月 2026
版本: 5
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。