Skip to main content

Resource Pool Manager Chart 0.0.8

Chart: 0.0.8 · appVersion: 0.0.4 · RPM release: rpm-0.0.4 · Released: 2026-11-26 (UTC)

Software changes​

Namespace regex bindings​

RPM 0.0.4 adds cluster-scoped ResourcePoolRegexBinding resources to grant a pool to namespaces whose full names match a Go RE2 regular expression (1 to 256 bytes). RPM evaluates these rules directly during Pod admission alongside exact ResourcePoolBinding objects and does not generate namespaced bindings.

Exact ResourcePoolBinding grants take precedence over regex rules for the same pool. When multiple regex rules match a namespace for the same pool, the lexicographically first rule name applies. Creating or updating a ResourcePoolRegexBinding requires cluster-scoped CRD write permission and the bind verb on the target ResourcePool. RPM blocks deleting a ResourcePool while any ResourcePoolRegexBinding references it. Deleting a regex rule affects subsequent admissions and does not evict running Pods.

Runtime admission options and quota accounting​

The runtime policy ConfigMap (data.config.yaml) adds two boolean options, both defaulting to false when omitted:

  • dryRun: leaves Pod creation unchanged, simulates validation and quota checks without modifying the pool quota ledger, and returns ResourcePoolWouldDeny warnings when admission would reject the Pod.
  • allowFallback: admits managed GPU Pod creation unchanged with a ResourcePoolFallback warning when the Pod has no explicit pool annotations, pool label, or hami.io/resource-pool-exempt annotation and its namespace has no pool grants. Normal scheduling handles those Pods.

Quota accounting and pool validation charge only Pods with resource-pool membership metadata (pool label, authorization snapshot, or quota reservation). The quota webhook no longer blocks updates to Pods that were not admitted to a resource pool, such as Pods created under dryRun.

MetaX sGPU support​

RPM 0.0.4 adds MetaX sGPU device inventory, pool selection, and allocation admission when devices.metax.enabled is true. RPM reads metax.resourceVCountName, metax.resourceVMemoryName, and metax.resourceVCoreName from the scheduler device ConfigMap, decodes the metax-tech.com/node-gpu-devices node inventory, and validates allocation annotations (hami.io/metax-sgpu-devices-to-allocate, hami.io/metax-sgpu-devices-allocated, metax-tech.com/gpu-devices-allocated, and metax-tech.com/predicate-time). GPUDevice status reports the physical GPU model from the node's metax-tech.com/gpu.product label.

License verification​

Resource Pool Manager (RPM) is a closed-source commercial component and uses the same licensing mechanism as HAMi Enterprise. Before using RPM 0.0.4 or later to create new resource pools, bindings, pooled GPUDevice assignments, or managed Pods, activate HAMi Enterprise with a valid license.

Running Pods are not evicted and cleanup or deletion operations remain available when a license is missing or being renewed. For license application, activation, and verification steps, see the License Application and Activation Guide.

Inventory stability and 64-bit device fields​

RPM hashes parsed NVIDIA device registrations in GPU UUID order. Card reordering between mutation and validation no longer invalidates an admitted Pod, while changes to GPU health or capacity still invalidate stale authorizations.

Node inventory reconciliation skips decoding and index rebuilds when device registration annotations, Node UID, and Ascend node capabilities have not changed, reducing unnecessary work during Node heartbeats and unrelated metadata updates. GPUDevice status and allocation integer fields (corePercent, memoryMiB, and vgpuCount) widen from 32-bit to 64-bit integers.

Chart changes​

  • appVersion changes from 0.0.3 to 0.0.4. The default image changes from ghcr.io/dynamia-ai/resource-pool-manager:v0.0.3 to ghcr.io/dynamia-ai/resource-pool-manager:v0.0.4.
  • Adds hami.existingConfigMapNamespace (default ""). When set, Helm reads the scheduler device ConfigMap from that namespace and installs all namespaced manager resources (Deployment, Service, certificate resources, RBAC, and runtime policy ConfigMap) there. When empty, Helm uses the release namespace.
  • Adds devices.metax.enabled (default false) to pass --metax-enabled=true and --metax-resource-names to the manager and include MetaX resources and annotations in Pod webhook matching rules.
  • Adds template-level Kubernetes version validation (>= 1.30.0-0) so the lower bound is enforced even when rendered inside a parent chart.
  • Adds the vresourcepoolregexbinding.resource.hami.io validating webhook (/validate-resource-hami-io-v1alpha1-resourcepoolregexbinding, failurePolicy: Fail).
  • Updates RBAC:
    • Manager ClusterRole adds get, list, and watch on resourcepoolregexbindings.
    • Admin ClusterRole adds resourcepoolregexbindings management permissions.
    • Namespace-scoped configuration Role adds list and watch on secrets in the manager's configuration namespace for license verification.
  • Resource-pool CRD Chart updates from hami-enterprise-crds 0.4.2 (appVersion: 0.4.0) to 0.4.3 (appVersion: 0.4.1), adding resourcepoolregexbindings.resource.hami.io and widening corePercent, memoryMiB, and vgpuCount in gpudevices.resource.hami.io from int32 to int64.

Upgrade notes​

Upgrade hami-enterprise-crds to 0.4.3 first and wait until resourcepoolregexbindings.resource.hami.io is Established before upgrading the Manager Chart.

Ensure HAMi Enterprise is activated with a valid license before creating new resource pools, bindings, pooled GPUDevice objects, or managed Pods. See the License Application and Activation Guide.

Upgrade the Manager Chart and RPM image together. If your values override image.tag, set it to v0.0.4. The Chart upgrade applies the RBAC rules required for license verification and registers the ResourcePoolRegexBinding webhook and RBAC rules.

If you store the Helm release in a different namespace from the HAMi scheduler, set hami.existingConfigMapNamespace to the scheduler ConfigMap's namespace. That namespace must already exist and contain hami.existingConfigMap. Helm installs all namespaced manager resources (Deployment, Service, certificates, RBAC, and runtime policy ConfigMap) in that target namespace while the Helm release record remains in the release namespace.

For MetaX sGPU clusters, set devices.metax.enabled: true and verify that the scheduler device ConfigMap defines three distinct resource names under metax (resourceVCountName, resourceVMemoryName, and resourceVCoreName). Enabling a backend or changing resource names can temporarily reject Pod admission while webhook rules and serving replicas converge.

When using ResourcePoolRegexBinding, restrict who can create Namespaces as appropriate, because any Namespace whose name matches an active rule receives access to that pool.

The Chart continues to require Kubernetes 1.30 or newer, separately installed resource-pool CRDs, HAMi extender scheduling, and hami.existingConfigMap pointing to the existing scheduler device ConfigMap. See RPM installation in the HAMi Enterprise guide.

Values reference​

The parameter descriptions below come from the README shipped with Chart 0.0.8. For defaults, use this version's values.yaml.

Expand values table
KeyTypeDefaultDescription
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.
devices.ascend.enabledboolfalseInclude Ascend profiles from the scheduler device ConfigMap in resource-pool admission.
devices.hygon.enabledboolfalseInclude Hygon HCU resources from the scheduler device ConfigMap in resource-pool admission.
devices.metax.enabledboolfalse
devices.nvidia.enabledbooltrueInclude NVIDIA resources from the scheduler device ConfigMap in resource-pool admission.
fullnameOverridestring""Override the workload name. Names are limited to 43 characters to leave room for resource suffixes.
hami.existingConfigMapstring""Required name of the scheduler device ConfigMap. Helm reads data.device-config.yaml and the manager mounts the same ConfigMap. Upgrade the manager after scheduler device configuration changes.
hami.existingConfigMapNamespacestring""Namespace of the scheduler device ConfigMap and all namespaced manager resources. Defaults to the Helm release namespace when empty.
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/resource-pool-manager"Resource-pool-manager image repository, including registry.
image.tagstring"v0.0.4"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.
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.
webhook.tls.certManagerboolfalseUse an installed cert-manager controller for certificates and CA injection. When false, certgen hook Jobs manage webhook certificates.
webhook.tls.certgen.image.pullPolicystring"IfNotPresent"Certificate generator image pull policy.
webhook.tls.certgen.image.repositorystring"registry.k8s.io/ingress-nginx/kube-webhook-certgen"Certificate generator image repository, including registry.
webhook.tls.certgen.image.tagstring"v1.6.9"Certificate generator image tag.
webhook.tls.certgen.nodeSelectorobject{}Node selector for certificate Jobs.
webhook.tls.certgen.podAnnotationsobject{}Additional annotations for certificate Job Pods.
webhook.tls.certgen.priorityClassNamestring""Priority class for certificate Jobs.
webhook.tls.certgen.runAsUserint65532Non-root UID for certificate Jobs.
webhook.tls.certgen.tolerationslist[]Tolerations for certificate Jobs.
webhookPortint9443HTTPS port in the manager container.