Repository navigation
中文
kube-accelerator-sim v0.7.1
v0.7.1 把「厂商加速卡特性写入 Node 标签」从 NVIDIA 扩展到 AMD、Intel、华为
昇腾与阿里云 PPU,全部取值逐字取自第一方文档,不从模型 ID 或资源名反推。
本次调研确认:除 NVIDIA 外的厂商同样需要把加速卡特性写成 Node 标签,但实现
分两条路线——NVIDIA、AMD、Intel 经由 Node Feature Discovery(NFD)注入,昇腾、
寒武纪、阿里 PPU、海光、沐曦、摩尔线程等由设备插件直接 patch Node。因此 NFD
不是这些标签的前提,只是一种实现路线。Kasim 投射的是最终标签,不建模由谁写入,
本版也不新增 NFD 或 feature.node.kubernetes.io/* 命名空间的投射能力。
主要变化
amdprofile 新增labeller证据(grade A,锚定2af2fdb,即
cmd/k8s-node-labeller/README.md),并在device-plugin契约上声明 6 个
identity signal:amd.com/gpu.cu-count、amd.com/gpu.device-id、
amd.com/gpu.family、amd.com/gpu.product-name、amd.com/gpu.simd-count、
amd.com/gpu.vram。amd-mi300x取得 4 个取证取值(cu-count=304、
device-id=74a1、product-name=AMD_Instinct_MI300X_OAM、simd-count=1216)。
family与vram保留已声明键但无取值:文档给出的 family 缩写表未覆盖 CDNA
系列,vram 只公布了 legacy16G形式示例。intel-gpuprofile 新增labels证据(grade A,锚定6460392,即
cmd/gpu_plugin/labels.md),声明gpu.intel.com/family与
gpu.intel.com/product两个 identity signal,并派生
gpu.intel.com/device.count(pool-total-capacity)。intel-max-1550
(Max_Series/Max_1550)与intel-flex-170(Flex_Series/
Flex_170)取得取证取值。文档列出四个已覆盖平台,但只为这两个型号公布了
样值,Flex 140 与 Max 1100 保留空值。huawei-ascendprofile 在device-plugin契约上新增accelerator
identity signal,取值huawei-Ascend310/huawei-Ascend310P/
huawei-Ascend910,锚定 MindCluster v26.1.0。官方「集群调度对 Node label
使用说明」表逐条标注该键的写入组件为 Ascend Device Plugin,与设备插件直写
路线一致。huawei-atlas-a2不重复填值(官方表为其列出的huawei-Ascend910
与其芯片家族已携带的值相同),huawei-atlas-a3仍不输出 vendor 标签。alibaba-ppuprofile 补齐节点级与型号级分层:device-plugin契约声明
aliyun.accelerator/ppu_name与aliyun.accelerator/ppu_mem两个身份键,
并派生aliyun.accelerator/xpu_type(static,值ppu)与
aliyun.accelerator/ppu_count(pool-total-capacity)。alibaba-ppu-zw810e
取得PPU-ZW810E与98304MiB;alibaba-ppu-m890p无样值,不填。- 新增
internal/projection/vendor_discovery_labels_test.go:逐厂商断言
discoveryLabels: true时的取证取值、省略开关时全部取值消失,以及「已声明但
无取证取值」的键仍保留为空值的行为。 - 未取证的键保持原样并在文档中记录:
cambricon(Model)、hygon
(hygon.com/dcu*4 个键)、metax(metax-tech.com/gpu.topology.*2 个键)、
moore-threads(mthreads.com/gpu)没有第一方节点标签证据,目录不为其编造
取值。这些键仍投射为空值,从而保留冲突占位且不会错误满足正向nodeSelector。 - Profile Catalog revision 升级为
2026-09-16.2,摘要更新为
sha256:9d62e9fb8f50eca1030eb91b29a6dc3d141d56e79c205d5e9fc81e3288833ae2;
Telemetry Catalog revision 与摘要不变
(2026-09-16.1/sha256:80157a7e1720cb5e064a6dbd5e444845d540e8cf43854156a838dec43737786e)。
Chart 注解、release/inputs.json、示例与 golden 基线同步。 - 中英文运维文档
node-discovery-labels(新增「各厂商如何发布这些标签」路线表、
AMD / Intel / 阿里 PPU 章节、华为昇腾补充accelerator、「无取证取值的键」
章节、边界中明确不投射 NFD 自有命名空间)、profile-evidence(新增两条
evidence anchor 与「节点发现标签覆盖范围」表)、scenario-examples与
examples/README.md同步更新。 - Bump product and chart version to 0.7.1。
升级说明
该版本不更改 Scenario CRD、调度资源或 Kubernetes 支持范围;仍支持 Kubernetes
1.30–1.36。
目录 revision 变化意味着既有场景实例不可原地升级。 实例钉住提交时的 profile
revision 与 digest,升级 runtime 前必须先删除所有既有场景实例,在空集群上完成
helm upgrade,再用新 CLI 重新提交。
discoveryLabels 仍是按 Node Group 的显式开关。既有未开启该开关的场景,规范
场景字节与摘要完全不变。
发布产物
- GitHub Release:Linux amd64/arm64、macOS amd64/arm64、Windows amd64 原生
kasimCLI 归档,以及校验和、SBOM、发布证据和 Sigstore 签名。 - Docker:
ghcr.io/linkmaq/kube-accelerator-sim-controller:0.7.1,同一最小
运行时镜像包含/kasim-controller与/kasim-telemetry。 - Helm OCI:
oci://ghcr.io/linkmaq/charts/kasim-runtime,版本0.7.1。
English
kube-accelerator-sim v0.7.1
v0.7.1 extends accelerator Node label projection from NVIDIA to AMD, Intel,
Huawei Ascend, and Alibaba Cloud PPU, with every value taken verbatim from
first-party documentation and nothing reverse-engineered from a model ID or a
resource name.
The research behind this release confirms that vendors other than NVIDIA also
need card properties published as Node labels, but they split across two
routes: NVIDIA, AMD, and Intel inject them through Node Feature Discovery
(NFD), while Huawei Ascend, Cambricon, Alibaba Cloud PPU, Hygon, MetaX, Moore
Threads, and others patch Nodes directly from the device plugin. NFD is
therefore not a prerequisite for the labels — it is one implementation route.
Kasim projects the resulting labels rather than modeling the writer, and this
release adds no NFD capability and no projection of the
feature.node.kubernetes.io/* namespace that NFD itself owns.
Highlights
- The
amdprofile gains alabellerevidence record (grade A, pinned to
2af2fdb,cmd/k8s-node-labeller/README.md) and declares six identity
signals on itsdevice-plugincontract:amd.com/gpu.cu-count,
amd.com/gpu.device-id,amd.com/gpu.family,amd.com/gpu.product-name,
amd.com/gpu.simd-count, andamd.com/gpu.vram.amd-mi300xcarries four
evidenced values (cu-count=304,device-id=74a1,
product-name=AMD_Instinct_MI300X_OAM,simd-count=1216).familyand
vramkeep their declared keys with no value: the documented family acronym
table does not cover CDNA parts, andvrampublishes only a legacy16G
sample. - The
intel-gpuprofile gains alabelsevidence record (grade A, pinned to
6460392,cmd/gpu_plugin/labels.md), declaresgpu.intel.com/familyand
gpu.intel.com/product, and derivesgpu.intel.com/device.countfrom
pool-total-capacity.intel-max-1550(Max_Series/Max_1550) and
intel-flex-170(Flex_Series/Flex_170) carry evidenced values. Intel
documents four covered platforms but publishes sample values for these two
only, so Flex 140 and Max 1100 keep empty values. - The
huawei-ascendprofile declares a newacceleratoridentity signal on
itsdevice-plugincontract, with valueshuawei-Ascend310,
huawei-Ascend310P, andhuawei-Ascend910, anchored to MindCluster v26.1.0.
The official Node label usage table names Ascend Device Plugin as the writing
component for that key, matching the device-plugin route.
huawei-atlas-a2does not duplicate a value — the official table lists
huawei-Ascend910for it, which its chip family already carries — and
huawei-atlas-a3still emits no vendor label. - The
alibaba-ppuprofile now separates node-level from model-level data: the
device-plugincontract declaresaliyun.accelerator/ppu_nameand
aliyun.accelerator/ppu_memas identity signals and derives
aliyun.accelerator/xpu_type(static, valueppu) and
aliyun.accelerator/ppu_count(pool-total-capacity).
alibaba-ppu-zw810ecarriesPPU-ZW810Eand98304MiB;alibaba-ppu-m890p
publishes no sample values and stays empty. - New
internal/projection/vendor_discovery_labels_test.goasserts, per
vendor, the evidenced values underdiscoveryLabels: true, the absence of
every value when the switch is omitted, and the retained-but-empty behavior
of declared keys without evidenced values. - Keys without evidence remain unchanged and are documented as such:
cambricon(Model),hygon(fourhygon.com/dcu*keys),metax(two
metax-tech.com/gpu.topology.*keys), andmoore-threads
(mthreads.com/gpu) have no first-party node label evidence, and the catalog
never fabricates values for them. They still project as empty values, which
keeps their collision reservation and never satisfies a positive
nodeSelectormatch. - The Profile Catalog revision advances to
2026-09-16.2with digest
sha256:9d62e9fb8f50eca1030eb91b29a6dc3d141d56e79c205d5e9fc81e3288833ae2;
the Telemetry Catalog revision and digest are unchanged
(2026-09-16.1/
sha256:80157a7e1720cb5e064a6dbd5e444845d540e8cf43854156a838dec43737786e).
Chart annotations,release/inputs.json, the examples, and the golden
baselines are synchronized. - English and Chinese operator documentation is updated:
node-discovery-labels
gains the vendor route table, AMD / Intel / Alibaba Cloud PPU sections, the
Ascendacceleratorkey, a "keys without an evidenced value" section, and a
boundary stating that Kasim does not project the NFD-owned namespace;
profile-evidencegains two evidence anchors and a node discovery label
coverage table;scenario-examplesandexamples/README.mdfollow. - Bump product and chart version to 0.7.1.
Upgrade notes
This release does not change the Scenario CRD, scheduling resources, or the
Kubernetes support range. Kubernetes 1.30–1.36 remains supported.
A changed catalog revision means existing Scenario Instances cannot be
upgraded in place. Instances pin the profile revision and digest they were
submitted with, so every existing instance must be deleted before upgrading the
runtime, the helm upgrade must run against an empty cluster, and the Scenarios
must then be resubmitted with the new CLI.
discoveryLabels remains an explicit per-Node-Group opt-in. For existing
Scenarios that leave it off, the canonical Scenario bytes and digests are
unchanged.
Artifacts
- GitHub Release: native
kasimCLI archives for Linux amd64/arm64, macOS
amd64/arm64, and Windows amd64, plus checksums, SBOM, release evidence, and a
Sigstore signature. - Docker:
ghcr.io/linkmaq/kube-accelerator-sim-controller:0.7.1; the same
minimal runtime image contains/kasim-controllerand/kasim-telemetry. - Helm OCI:
oci://ghcr.io/linkmaq/charts/kasim-runtime, version0.7.1.