跳到主要内容

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 名称。安装时 Helm lookup 需要访问目标集群,离线渲染无法验证该配置。
  • 新建受管 GPU 工作负载需要通过 ResourcePoolBinding 获得资源池访问权限。提交工作负载前先准备资源池及命名空间绑定。
  • 从内嵌 manager 迁移时,保留 CRD、自定义资源和运行时策略;暂停新建工作负载,移除旧 manager 及其 Webhook 后再安装独立版本,并将原有管理权限绑定迁移到独立 manager 的管理角色。切换期间存在准入空窗,需要安排维护窗口。
  • 该历史 Chart 使用 certManager.enabled 和 patch.* 配置 TLS。升级这些配置前先查看 Chart 0.0.5。

Values 说明​

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

展开参数表
KeyTypeDefaultDescription
certManager.enabledboolfalseUse cert-manager for serving certificates and CA injection. Otherwise the chart's own certgen Jobs create the Secret and patch both webhook configurations.
config.createbooltrueInitialize 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.namestring""Runtime ConfigMap name; defaults to <workload name>-config. With config.create=false it must already exist in the manager namespace.
config.poolSchedulerPolicystring"binpack"Initial pool selection policy. Later changes belong in the runtime ConfigMap, not Helm values.
fullnameOverridestring""Override the workload name. Names are limited to 43 characters to leave room for resource suffixes.
hami.ascendEnabledboolfalseInclude Ascend profiles from the scheduler device ConfigMap in resource-pool admission.
hami.existingConfigMapstring""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.schedulerNamestring"hami-scheduler"Scheduler name used by the existing HAMi installation. The scheduler must use HAMi extender admission and scheduling, not DRA.
healthProbeBindAddressstring":8081"Health server listen address.
image.pullPolicystring"IfNotPresent"Resource-pool-manager image pull policy.
image.repositorystring"ghcr.io/dynamia-ai/hami-enterprise"Resource-pool-manager image repository, including registry.
image.tagstring"v2.10.0-r1"Required published image tag. Independent of this chart's appVersion; update explicitly when releasing a new manager image.
imagePullSecretslist[]Registry Secret names used by the manager and certificate Jobs.
leaderElectbooltrueElect a leader for inventory and status reconcilers.
metricsBindAddressstring":8080"Metrics server listen address.
nameOverridestring""Override the chart name used in names and labels.
nodeSelectorobject{}Node selector for the manager.
patch.enabledbooltrueEnable certificate hook Jobs when certManager.enabled=false. One certificate mechanism must be enabled.
patch.image.pullPolicystring"IfNotPresent"Certificate generator image pull policy.
patch.image.repositorystring"registry.k8s.io/ingress-nginx/kube-webhook-certgen"Certificate generator image repository, including registry.
patch.image.tagstring"v1.6.9"Certificate generator image tag.
patch.nodeSelectorobject{}Node selector for certificate Jobs.
patch.podAnnotationsobject{}Additional annotations for certificate Job Pods.
patch.priorityClassNamestring""Priority class for certificate Jobs.
patch.runAsUserint65532Non-root UID for certificate Jobs.
patch.tolerationslist[]Tolerations for certificate Jobs.
podAnnotationsobject{}Additional annotations for manager Pods.
replicasint1Number of manager replicas. Use leader election when running multiple replicas.
resourcesobject{}Resource requests and limits for the manager.
timeoutSecondsint10Admission webhook timeout in seconds.
tolerationslist[]Tolerations for the manager.
webhookPortint9443HTTPS port in the manager container.