Dynamia ascend-device-plugin Chart 0.2.0
发布时间:2026-08-18
本页以上一版 2026-08-17 发布的 GitHub Release Chart 0.1.1 包为对照。
| 版本 | 上一版 | 本版 |
|---|---|---|
| Chart | 0.1.1 | 0.2.0 |
| appVersion | v1.4.0 | v1.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 为准。
展开参数表
| Key | Type | Default | Description |
|---|---|---|---|
| config.create | bool | false | Create the bundled device configuration ConfigMap for an installation without HAMi. Leave disabled when HAMi owns the device configuration. |
| config.deviceConfigMapName | string | "hami-scheduler-device" | Name of the device configuration ConfigMap created when config.create=true. |
| config.existingDeviceConfigMapName | string | "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.name | string | "hami-ascend-device-plugin" | Device plugin DaemonSet name. |
| fullnameOverride | string | "" | Override the fully qualified resource name. |
| hamiVnpuCore.enabled | bool | false | Enable hami-vnpu-core in the bundled device configuration when config.create=true. This mode requires the HAMi scheduler. |
| image.digest | string | "" | Optional immutable OCI manifest digest. When set, it takes precedence over image.tag. |
| image.pullPolicy | string | "IfNotPresent" | Kubernetes image pull policy. |
| image.repository | string | "ghcr.io/dynamia-ai/ascend-device-plugin" | Container image repository. |
| image.tag | string | "v1.4.0" | Container image tag. |
| nameOverride | string | "" | Override the chart name used in resource names. |
| nodeConfig | string | "nodes: []" | Per-node hami-vnpu-core configuration written to the node ConfigMap. |
| nodeConfigMap.create | bool | true | Create the per-node configuration ConfigMap. |
| nodeConfigMap.name | string | "hami-device-node-config" | Per-node configuration ConfigMap name. |
| nodeSelector.ascend | string | "on" | Node label value used to schedule the device plugin. |
| rbac.name | string | "hami-ascend" | Name shared by the chart-managed RBAC resources. |
| resources.limits.cpu | string | "500m" | |
| resources.limits.memory | string | "500Mi" | |
| resources.requests.cpu | string | "500m" | |
| resources.requests.memory | string | "500Mi" | |
| runtimeClass.create | bool | true | Create the Ascend RuntimeClass. |
| runtimeClass.handler | string | "ascend" | Container runtime handler used by the RuntimeClass. |
| runtimeClass.name | string | "ascend" | RuntimeClass resource name. |
| serviceAccount.create | bool | true | Create a ServiceAccount for the device plugin. |
| serviceAccount.name | string | "hami-ascend" | ServiceAccount name. |
| vnpuMonitor.enabled | bool | false | Expose device plugin metrics and create optional Prometheus Operator resources. |
| vnpuMonitor.prometheusRule.create | bool | true | Create a PrometheusRule when vnpuMonitor.enabled=true. |
| vnpuMonitor.prometheusRule.groupLabels.vendor | string | "ascend" | |
| vnpuMonitor.prometheusRule.groupName | string | "ascend-vnpu" | Recording-rule group name. |
| vnpuMonitor.prometheusRule.interval | string | "15s" | Recording-rule evaluation interval. |
| vnpuMonitor.prometheusRule.labels.release | string | "prometheus" | |
| vnpuMonitor.prometheusRule.labels.role | string | "recording-rules" | |
| vnpuMonitor.prometheusRule.labels.vendor | string | "ascend" | |
| vnpuMonitor.prometheusRule.name | string | "hami-ascend-vnpu-monitor" | PrometheusRule resource name. |
| vnpuMonitor.prometheusRule.namespace | string | "monitoring" | Namespace for the PrometheusRule. |
| vnpuMonitor.service.name | string | "hami-ascend-device-plugin-metrics" | Headless Service that exposes the device plugin metrics port. |
| vnpuMonitor.serviceMonitor.create | bool | true | Create a ServiceMonitor when vnpuMonitor.enabled=true. |
| vnpuMonitor.serviceMonitor.interval | string | "15s" | Prometheus scrape interval. |
| vnpuMonitor.serviceMonitor.labels.release | string | "prometheus" | |
| vnpuMonitor.serviceMonitor.name | string | "hami-ascend-vnpu-monitor" | ServiceMonitor resource name. |
| vnpuMonitor.serviceMonitor.namespace | string | "monitoring" | Namespace for the ServiceMonitor. |
| vnpuMonitor.serviceMonitor.path | string | "/metrics" | Metrics HTTP path. |