跳到主要内容

Dynamia ascend-device-plugin Chart 0.2.0

发布时间:2026-08-18

本页以上一版 2026-08-17 发布的 GitHub Release Chart 0.1.1 包为对照。

版本上一版本版
Chart0.1.10.2.0
appVersionv1.4.0v1.4.0

HAMi Enterprise 兼容性​

功能或模式最低可用 HAMi Enterprise 版本本版配套要求与升级结论
模板化虚拟 NPU(vNPU)硬切分:直接复用 Enterprise 共享设备配置v2.9.0-rc0此版本下可沿用既有调度器及共享设备配置,本次 Chart 更新不要求升级 Enterprise。旧调度器配独立的新格式插件配置是另一条可行路径,不适用这里的版本下限;需按实际部署配置核验。
hami-core 静态软切分v2.9.0-rc0需启用相应设备配置,并为工作负载指定 huawei.com/vnpu-mode: hami-core。该配套版本会为没有自定义 PostStart 的容器注入 bash 启动钩子,容器须能执行该钩子;本次 Chart 更新不改变这一条件。

版本变化​

本版仅将 Chart 版本号从 0.1.1 更新为 0.2.0。两版的 values、资源模板、appVersion 和默认插件镜像引用相同,均默认使用 ghcr.io/dynamia-ai/ascend-device-plugin:v1.4.0;没有新增的应用功能或配置项。

升级说明​

  • 按现有 Helm 流程升级 Chart,无需因本次更新调整 values 或 HAMi Enterprise 版本。Chart 版本变化会更新资源的 helm.sh/chart 标签,并使 DaemonSet 的 checksum/config 注解发生变化;即使配置内容和默认镜像未变,设备插件 Pod 也会滚动更新。升级后确认 DaemonSet 滚动完成。
  • 本次更新没有应用版本变化,不要求为获得新功能而重建业务 Pod。如果安装时固定了 image.tag 或 image.digest,这些覆盖值仍按原配置生效;本版不会自动替换自定义镜像。
  • 另有同号的 Chart 0.1.1 GHCR OCI 历史包,其默认插件镜像为 v1.3.0。如果现有安装来自该包,先核对实际使用的镜像,再评估升级至本版默认 v1.4.0 的应用变化;不能将本页基于 GitHub Release 包的「应用版本不变」结论直接套用到该安装。

查看Chart 与 appVersion 对应关系或软件中心。

Values 说明​

以下参数说明取自 Chart 0.2.0 发布包随附的 README,保留原文。默认配置以该版本的 values.yaml 为准。

展开参数表
KeyTypeDefaultDescription
config.createboolfalseCreate the bundled device configuration ConfigMap for an installation without HAMi. Leave disabled when HAMi owns the device configuration.
config.deviceConfigMapNamestring"hami-scheduler-device"Name of the device configuration ConfigMap created when config.create=true.
config.existingDeviceConfigMapNamestring"hami-scheduler-device"HAMi-managed device configuration ConfigMap to reuse when config.create=false. The ConfigMap must be in the release namespace.
daemonSet.args[0]string"--config_file"
daemonSet.args[1]string"/device-config.yaml"
daemonSet.args[2]string"--v=4"
daemonSet.args[3]string"--node_config_file"
daemonSet.args[4]string"/node-config.yaml"
daemonSet.namestring"hami-ascend-device-plugin"Device plugin DaemonSet name.
fullnameOverridestring""Override the fully qualified resource name.
hamiVnpuCore.enabledboolfalseEnable hami-vnpu-core in the bundled device configuration when config.create=true. This mode requires the HAMi scheduler.
image.digeststring""Optional immutable OCI manifest digest. When set, it takes precedence over image.tag.
image.pullPolicystring"IfNotPresent"Kubernetes image pull policy.
image.repositorystring"ghcr.io/dynamia-ai/ascend-device-plugin"Container image repository.
image.tagstring"v1.4.0"Container image tag.
nameOverridestring""Override the chart name used in resource names.
nodeConfigstring"nodes: []"Per-node hami-vnpu-core configuration written to the node ConfigMap.
nodeConfigMap.createbooltrueCreate the per-node configuration ConfigMap.
nodeConfigMap.namestring"hami-device-node-config"Per-node configuration ConfigMap name.
nodeSelector.ascendstring"on"Node label value used to schedule the device plugin.
rbac.namestring"hami-ascend"Name shared by the chart-managed RBAC resources.
resources.limits.cpustring"500m"
resources.limits.memorystring"500Mi"
resources.requests.cpustring"500m"
resources.requests.memorystring"500Mi"
runtimeClass.createbooltrueCreate the Ascend RuntimeClass.
runtimeClass.handlerstring"ascend"Container runtime handler used by the RuntimeClass.
runtimeClass.namestring"ascend"RuntimeClass resource name.
serviceAccount.createbooltrueCreate a ServiceAccount for the device plugin.
serviceAccount.namestring"hami-ascend"ServiceAccount name.
vnpuMonitor.enabledboolfalseExpose device plugin metrics and create optional Prometheus Operator resources.
vnpuMonitor.prometheusRule.createbooltrueCreate a PrometheusRule when vnpuMonitor.enabled=true.
vnpuMonitor.prometheusRule.groupLabels.vendorstring"ascend"
vnpuMonitor.prometheusRule.groupNamestring"ascend-vnpu"Recording-rule group name.
vnpuMonitor.prometheusRule.intervalstring"15s"Recording-rule evaluation interval.
vnpuMonitor.prometheusRule.labels.releasestring"prometheus"
vnpuMonitor.prometheusRule.labels.rolestring"recording-rules"
vnpuMonitor.prometheusRule.labels.vendorstring"ascend"
vnpuMonitor.prometheusRule.namestring"hami-ascend-vnpu-monitor"PrometheusRule resource name.
vnpuMonitor.prometheusRule.namespacestring"monitoring"Namespace for the PrometheusRule.
vnpuMonitor.service.namestring"hami-ascend-device-plugin-metrics"Headless Service that exposes the device plugin metrics port.
vnpuMonitor.serviceMonitor.createbooltrueCreate a ServiceMonitor when vnpuMonitor.enabled=true.
vnpuMonitor.serviceMonitor.intervalstring"15s"Prometheus scrape interval.
vnpuMonitor.serviceMonitor.labels.releasestring"prometheus"
vnpuMonitor.serviceMonitor.namestring"hami-ascend-vnpu-monitor"ServiceMonitor resource name.
vnpuMonitor.serviceMonitor.namespacestring"monitoring"Namespace for the ServiceMonitor.
vnpuMonitor.serviceMonitor.pathstring"/metrics"Metrics HTTP path.