Skip to main content

Resource Pool Manager Chart 0.0.9

Chart: 0.0.9 · appVersion: 0.0.5 · RPM release: rpm-0.0.5 · Released: 2026-11-27 (UTC)

Software changes​

Workload owner admission denial events​

When RPM denies a live Pod CREATE request submitted by a workload controller (system:kube-controller-manager or a system:serviceaccount:* caller), RPM 0.0.5 asynchronously records a ResourcePoolAdmissionDenied Warning Event on the direct controller owner and walks up its namespaced controller ancestors after verifying each owner's UID. Traversal stops at the first read failure or UID mismatch. Events already written to earlier owners in the chain remain. Operators can view denial reasons with kubectl describe deployment or kubectl describe isvc in the workload namespace.

RPM allows built-in direct Pod controllers (ReplicaSet, DaemonSet, StatefulSet, Job, and ReplicationController) without custom RBAC, and ancestor controllers such as Deployment and CronJob receive events when Pods are created by a ReplicaSet or Job. KServe InferenceService, Knative Revision, Configuration, and Service, and LeaderWorkerSet are not automatically exempted as direct Pod creators: the Chart grants get on those resources only to read the owner chain. For any operator that creates Pods directly under those objects or another custom workload type, grant its ServiceAccount the custom RBAC verb reportresourcepooldenials on the direct owner's resource in the workload namespace, and grant the RPM ServiceAccount get on any additional owner resource types in the chain.

Event delivery is best effort. Busy or restarting replicas may drop warnings. Identical denials (same caller, owner, and message) within about 1 minute are suppressed. Denials with a changed reason or after that window refresh the existing Warning Event. Kubernetes dry-run requests and RPM dryRun simulations do not emit workload events.

Runtime Pod admission switch​

The runtime policy ConfigMap (data.config.yaml) adds the enabled boolean field, which defaults to true when omitted. Setting enabled: false short-circuits Pod mutation, validation, and quota webhooks so Pods are admitted without resource-pool policy, mutation, denial, or warnings while webhooks remain registered. Reloading parses the full data.config.yaml file: dryRun and allowFallback values present in the file remain in effect, while omitted boolean keys reset to false (except enabled, which defaults to true).

Chart changes​

  • appVersion changes from 0.0.4 to 0.0.5. The default image changes from ghcr.io/dynamia-ai/resource-pool-manager:v0.0.4 to ghcr.io/dynamia-ai/resource-pool-manager:v0.0.5.
  • Manager ClusterRole adds get on events (alongside existing create and patch) and get on workload owner resources for owner-chain traversal:
    • apps: replicasets, deployments, statefulsets, daemonsets
    • core (""): replicationcontrollers
    • batch: jobs, cronjobs
    • serving.kserve.io: inferenceservices
    • serving.knative.dev: revisions, configurations, services
    • leaderworkerset.x-k8s.io: leaderworkersets
  • Pod mutating and validating webhooks change sideEffects from None to NoneOnDryRun to reflect Warning Event creation on live Pod CREATE denials.
  • All other Values defaults remain unchanged from Chart 0.0.8.
  • The separately published resource-pool CRD Chart remains hami-enterprise-crds 0.4.3, with appVersion: 0.4.1. No CRD schema migration is required.

Upgrade notes​

Upgrade the Manager Chart and RPM image together. If your values override image.tag, set it explicitly to v0.0.5. The Chart upgrade applies the updated ClusterRole rules and webhook sideEffects setting for workload owner Warning Events.

If an operator creates Pods directly under a KServe, Knative, LeaderWorkerSet, or other custom workload object and should trigger owner warnings, grant its ServiceAccount the custom RBAC verb reportresourcepooldenials on the direct owner's API group and plural resource in the workload namespace (narrowed with resourceNames where possible), and grant the RPM ServiceAccount get on any additional owner resource types not listed in the default ClusterRole. Restrict network access to the admission webhook endpoint to trusted API server clients.

Existing runtime policy ConfigMaps that omit enabled continue to enforce Pod admission with no configuration change.

The Chart continues to require Kubernetes 1.30 or newer, hami-enterprise-crds 0.4.3, HAMi extender scheduling, hami.existingConfigMap pointing to the existing scheduler device ConfigMap, and an activated HAMi Enterprise license (see the License Application and Activation Guide). See RPM installation in the HAMi Enterprise guide.

Values reference​

The parameter descriptions below come from the README shipped with Chart 0.0.9. 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.5"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.