Resource Pool Manager Chart 0.0.4
Chart: 0.0.4 · appVersion: 0.0.1 · 发布时间: 2026-09-18 (UTC)
软件变更
RPM 为已有 HAMi 安装提供设备清单、资源池、命名空间访问绑定和工作负载准入管理。设备调度与分配仍由 HAMi 完成。
该 Chart 声明 appVersion: 0.0.1,默认运行 ghcr.io/dynamia-ai/hami-enterprise:v2.10.0-r1。独立软件 Release rpm-0.0.1 是另一份制品,该 Chart 不会自动选择其镜像。
Chart 变更
Manager Chart 安装 manager、Webhook、RBAC、运行时配置和 TLS 资源。HAMi 和资源池 CRD 分别安装。
Chart 从 hami.existingConfigMap 指定的已有 scheduler 设备 ConfigMap 读取 data.device-config.yaml,manager 须与该 ConfigMap 位于同一命名空间。hami.schedulerName 默认为 hami-scheduler,hami.ascendEnabled 默认为 false。
升级说明
- 要求 Kubernetes 1.30 或更新版本、资源池 CRD schema 0.4.0 或更新版本,以及采用 extender 调度模式的已有 HAMi 安装。本版本不支持 DRA。
- 将
hami.existingConfigMap设为实际的 scheduler 设备 ConfigMap 名称。安装时 Helmlookup需要访问目标集群,离线渲染无法验证该配置。 - 新建受管 GPU 工作负载需要通过 ResourcePoolBinding 获得资源池访问权限。提交工作负载前先准备资源池及命名空间绑定。
- 从内嵌 manager 迁移时,保留 CRD、自定义资源和运行时策略;暂停新建工作负载,移除旧 manager 及其 Webhook 后再安装独立版本,并将原有管理权限绑定迁移到独立 manager 的管理角色。切换期间存在准入空窗,需要安排维护窗口。
- 该历史 Chart 使用
certManager.enabled和patch.*配置 TLS。升级这些配置前先查看 Chart 0.0.5。
Values 说明
以下参数说明取自 Chart 0.0.4 发布包随附的 README,保留原文。默认配置以该版本的 values.yaml 为准。
展开参数表
| Key | Type | Default | Description |
|---|---|---|---|
| certManager.enabled | bool | false | Use cert-manager for serving certificates and CA injection. Otherwise the chart's own certgen Jobs create the Secret and patch both webhook configurations. |
| config.create | bool | true | Initialize the runtime ConfigMap if absent. It is retained outside Helm ownership for external policy updates. For render-and-apply GitOps, precreate the ConfigMap and set this to false. |
| config.name | string | "" | Runtime ConfigMap name; defaults to <workload name>-config. With config.create=false it must already exist in the manager namespace. |
| config.poolSchedulerPolicy | string | "binpack" | Initial pool selection policy. Later changes belong in the runtime ConfigMap, not Helm values. |
| fullnameOverride | string | "" | Override the workload name. Names are limited to 43 characters to leave room for resource suffixes. |
| hami.ascendEnabled | bool | false | Include Ascend profiles from the scheduler device ConfigMap in resource-pool admission. |
| hami.existingConfigMap | string | "" | Required name of the scheduler device ConfigMap in this release namespace. Helm reads data.device-config.yaml from the cluster and the manager mounts the same ConfigMap. Inline configuration and overrides are not supported. Upgrade the manager after scheduler device configuration changes. |
| hami.schedulerName | string | "hami-scheduler" | Scheduler name used by the existing HAMi installation. The scheduler must use HAMi extender admission and scheduling, not DRA. |
| healthProbeBindAddress | string | ":8081" | Health server listen address. |
| image.pullPolicy | string | "IfNotPresent" | Resource-pool-manager image pull policy. |
| image.repository | string | "ghcr.io/dynamia-ai/hami-enterprise" | Resource-pool-manager image repository, including registry. |
| image.tag | string | "v2.10.0-r1" | Required published image tag. Independent of this chart's appVersion; update explicitly when releasing a new manager image. |
| imagePullSecrets | list | [] | Registry Secret names used by the manager and certificate Jobs. |
| leaderElect | bool | true | Elect a leader for inventory and status reconcilers. |
| metricsBindAddress | string | ":8080" | Metrics server listen address. |
| nameOverride | string | "" | Override the chart name used in names and labels. |
| nodeSelector | object | {} | Node selector for the manager. |
| patch.enabled | bool | true | Enable certificate hook Jobs when certManager.enabled=false. One certificate mechanism must be enabled. |
| patch.image.pullPolicy | string | "IfNotPresent" | Certificate generator image pull policy. |
| patch.image.repository | string | "registry.k8s.io/ingress-nginx/kube-webhook-certgen" | Certificate generator image repository, including registry. |
| patch.image.tag | string | "v1.6.9" | Certificate generator image tag. |
| patch.nodeSelector | object | {} | Node selector for certificate Jobs. |
| patch.podAnnotations | object | {} | Additional annotations for certificate Job Pods. |
| patch.priorityClassName | string | "" | Priority class for certificate Jobs. |
| patch.runAsUser | int | 65532 | Non-root UID for certificate Jobs. |
| patch.tolerations | list | [] | Tolerations for certificate Jobs. |
| podAnnotations | object | {} | Additional annotations for manager Pods. |
| replicas | int | 1 | Number of manager replicas. Use leader election when running multiple replicas. |
| resources | object | {} | Resource requests and limits for the manager. |
| timeoutSeconds | int | 10 | Admission webhook timeout in seconds. |
| tolerations | list | [] | Tolerations for the manager. |
| webhookPort | int | 9443 | HTTPS port in the manager container. |