HAMi AI Platform Chart 0.22.0
Release date: 2026-11-02 (UTC)
The NVIDIA accelerator list may omit node names when DCGM Exporter emits only the lowercase hostname label. Unmanaging an unreachable member cluster may also stall. See the known issues below for these fixes and the fix for non-NVIDIA GPU totals.
| Component | Baseline | This release |
|---|---|---|
| Chart | 0.21.3 | 0.22.0 |
appVersion | 0.15.1 | 0.16.0 |
| API server | v0.15.1 | v0.16.0 |
| Controller manager | v0.15.1 | v0.16.0 |
| Database migration image | v0.15.1 | v0.16.0 |
| UI | v0.13.0 | v0.13.0 |
The database migration container runs only when authentication is enabled with SQLite.
HAMi Enterprise compatibility
For device assignments, scheduling, and optional resource pools, see the Chart 0.21.3 compatibility matrix. A multi-replica deployment uses the platform's Kubernetes authentication resources and a shared JWT Secret. It requires no companion HAMi Enterprise upgrade.
Software changes
- The CRD authentication backend reads users and roles directly from the Kubernetes API. Authentication checks that begin after a password reset, account disablement, or permission revocation use the updated state. The API rejects tokens issued in the cutoff second or earlier. If a multi-object write returns
Aborted, read the current user and role state before retrying. Some writes may already have taken effect. - CloudShell sessions persist across API server replicas. Requests with the same name and parameters reuse the session. A parameter conflict returns HTTP 409. Deleting a session closes all terminals using that name.
- On graceful shutdown, the API server withdraws readiness, waits for routing updates, and drains requests and the audit queue. A crash or sudden node failure can lose audit records that are still in memory and cause client timeouts or HTTP 503 responses.
- License queries and replacement skip empty license Secrets left by earlier installations. First-time activation removes those empty placeholders before saving the uploaded certificate.
Chart changes
- The API server still defaults to one replica. The CRD authentication backend supports multiple replicas. The optional CPU HorizontalPodAutoscaler (HPA) and PodDisruptionBudget are disabled by default.
- Startup, liveness, and readiness probes are enabled by default for the API server. The default delay before draining is 15 seconds. The default Pod termination grace period is 60 seconds and must exceed the delay by at least 40 seconds.
- Controller manager replicas provide failover. The elected leader runs reconciliation tasks that require leader election, and a standby replica can take over. Set
controllerManager.concurrentWorkSyncsto control reconciliation concurrency for member-cluster controllers. The default is5.
Known issues
| Issue | Impact | Workaround | Fixed in |
|---|---|---|---|
| NVIDIA accelerator list omits node names | If DCGM Exporter emits only lowercase hostname, the old recording rules cannot populate node from Hostname. | Look up the device's node in Kubernetes or in the raw DCGM metrics. | Chart 0.22.1 |
| Unmanaging an offline member cluster stalls | Platform deletion may stall if ServiceMonitor cleanup fails in the member cluster. | Restore the member-cluster connection before unmanaging it. | Chart 0.22.1 |
| Non-NVIDIA GPU totals differ from Prometheus | In cluster lists and details, physical GPU counts or memory totals can reflect node inventory and differ from Prometheus. | Check the corresponding GPU count and memory metrics directly in Prometheus. | Chart 0.22.2 |
Upgrade notes
- Close old CloudShell sessions before upgrading, or let them expire and create sessions with new names. The new API server cannot adopt sessions that lack a request fingerprint. Use distinct session names for terminals that need to close independently.
- For multiple API server replicas, set
auth.storeBackend: crdandapiserver.leaderElection.enabled: true. Pointauth.existingAuthSecretto a shared Secret in the release namespace containingjwt-secretandbootstrap-admin-password. With SQLite authentication, keep one replica, use persistent storage, and leave HPA disabled. SQLite deployments use theRecreatestrategy, which briefly interrupts API service during updates. - Before enabling the CPU HPA, set CPU requests and confirm that metrics-server is available.
- If your values pin image tags, set
apiserver.image.tagandcontrollerManager.image.tagtov0.16.0. For SQLite deployments, updateauth.image.tagto the same version. Sync those images if you use a registry mirror.
With required Pod anti-affinity, provide one schedulable node per replica of each component. Use these rolling update settings if old replicas occupy all eligible nodes. The readiness probe checks the webhook on a multi-replica controller manager.
apiserver:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
controllerManager:
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
readinessProbe:
enabled: true
httpGet:
path: /readyz
port: 10357
Values reference
The parameter table comes from the README packaged with Chart 0.22.0. Use the release's values.yaml as the source of default configuration.
Expand values table
| Key | Type | Default | Description |
|---|---|---|---|
| apiserver.affinity | object | {} | apiserver affinity settings |
| apiserver.autoscaling.enabled | bool | false | Enable CPU HPA; requires CRD auth storage and CPU requests |
| apiserver.autoscaling.maxReplicas | int | 4 | Maximum APIServer replicas; size Kubernetes API capacity before increasing |
| apiserver.autoscaling.minReplicas | int | 2 | Minimum APIServer replicas when HPA is enabled |
| apiserver.autoscaling.targetCPUUtilizationPercentage | int | 70 | CPU target relative to container CPU requests |
| apiserver.clusterAPIBurst | int | 100 | Burst to use while talking with cluster kube-apiserver |
| apiserver.clusterAPIQPS | int | 50 | QPS to use while talking with cluster kube-apiserver |
| apiserver.image.pullPolicy | string | "IfNotPresent" | kantaloupe image pull policy |
| apiserver.image.pullSecrets | list | [] | Specify docker-registry secret names as an array |
| apiserver.image.registry | string | "ghcr.io" | kantaloupe image registry |
| apiserver.image.repository | string | "dynamia-ai/kantaloupe-apiserver" | kantaloupe image repository |
| apiserver.image.tag | string | "v0.16.0" | kantaloupe image tag (immutable tags are recommended) |
| apiserver.labels | object | {} | apiserver labels |
| apiserver.leaderElection.enabled | bool | true | Enable apiserver leader election for auth singleton bootstrap when auth.storeBackend=crd |
| apiserver.leaderElection.leaseDuration | string | "15s" | Lease duration for apiserver leader election |
| apiserver.leaderElection.renewDeadline | string | "10s" | Renew deadline for apiserver leader election |
| apiserver.leaderElection.resourceNamespace | string | "" | Namespace of the Lease object; empty means use the release namespace |
| apiserver.leaderElection.retryPeriod | string | "2s" | Retry period for apiserver leader election |
| apiserver.livenessProbe.enabled | bool | true | Enable livenessProbe on apiserver containers |
| apiserver.livenessProbe.failureThreshold | int | 6 | |
| apiserver.livenessProbe.httpGet.path | string | "/healthz" | |
| apiserver.livenessProbe.httpGet.port | int | 8000 | |
| apiserver.livenessProbe.initialDelaySeconds | int | 10 | |
| apiserver.livenessProbe.periodSeconds | int | 10 | |
| apiserver.livenessProbe.timeoutSeconds | int | 3 | |
| apiserver.logLevel | int | 4 | apiserver glog verbosity level (0=minimal, 4=info, 5=debug) |
| apiserver.meteringGRPCAddress | string | "" | Optional upstream metering gRPC service address. Leave empty to disable metering APIs |
| apiserver.nodeSelector | object | {} | apiserver node labels for pod assignment |
| apiserver.pdb.enabled | bool | false | Create a PodDisruptionBudget for voluntary disruptions |
| apiserver.pdb.minAvailable | int | 1 | Minimum available API replicas during voluntary disruptions |
| apiserver.podAnnotations | object | {} | apiserver pod annotations |
| apiserver.podLabels | object | {} | apiserver pod labels |
| apiserver.prometheusAddr | string | "" | Prometheus server address for apiserver metrics querying |
| apiserver.readinessProbe.enabled | bool | true | Enable business readiness and shutdown checks |
| apiserver.readinessProbe.failureThreshold | int | 2 | |
| apiserver.readinessProbe.httpGet.path | string | "/readyz" | |
| apiserver.readinessProbe.httpGet.port | int | 8000 | |
| apiserver.readinessProbe.periodSeconds | int | 5 | |
| apiserver.readinessProbe.timeoutSeconds | int | 3 | |
| apiserver.replicaCount | int | 1 | apiserver target replica count |
| apiserver.resources | object | {} | apiserver resource requests and limits |
| apiserver.rollingUpdate.maxSurge | int | 1 | Extra Pods allowed during CRD-backed updates; use 0 with required anti-affinity on fully occupied nodes |
| apiserver.rollingUpdate.maxUnavailable | int | 0 | Pods allowed to be unavailable during CRD-backed updates; use 1 with maxSurge=0 |
| apiserver.service.nodePort | int | 31800 | |
| apiserver.service.port | int | 8000 | |
| apiserver.service.type | string | "ClusterIP" | |
| apiserver.shutdownDelaySeconds | int | 15 | Keep serving after readiness fails to allow endpoint and gateway updates to propagate before draining connections |
| apiserver.startupProbe.enabled | bool | true | Allow slow cache synchronization before liveness checks begin |
| apiserver.startupProbe.failureThreshold | int | 60 | |
| apiserver.startupProbe.httpGet.path | string | "/healthz" | |
| apiserver.startupProbe.httpGet.port | int | 8000 | |
| apiserver.startupProbe.periodSeconds | int | 5 | |
| apiserver.startupProbe.timeoutSeconds | int | 3 | |
| apiserver.terminationGracePeriodSeconds | int | 60 | Pod shutdown budget; must be at least shutdownDelaySeconds + 40 for routing withdrawal, requests (30s), audit drain (5s), and cleanup |
| apiserver.tolerations | object | {} | apiserver tolerations for pod assignment |
| apiserver.topologySpreadConstraints | list | [] | Scheduling-time topology constraints; these do not rebalance Pods after scale-down |
| auth.apiserverServiceAccountName | string | "" | ServiceAccount name of the kantaloupe-apiserver, used by the auth assignment admission webhook to validate the requester identity. Defaults to the release fullname. |
| auth.bootstrapAdminEmail | string | "[email protected]" | Bootstrap PlatformAdmin email address |
| auth.bootstrapAdminFullName | string | "Platform Administrator" | Bootstrap PlatformAdmin full name (display name) |
| auth.bootstrapAdminPassword | string | "admin12345" | Bootstrap admin password (plain text, dev only) |
| auth.bootstrapAdminUsername | string | "bootstrap-platform-admin" | Bootstrap PlatformAdmin username |
| auth.crdAuditWindowSize | int | 1000 | Max number of audit CRDs retained by the apiserver write path |
| auth.dbPath | string | "/data/kantaloupe/auth.db" | SQLite database path for auth data when auth.storeBackend=sqlite |
| auth.dryRun | bool | false | Allow requests without enforcing auth; inject bootstrap admin when no valid token is provided |
| auth.enabled | bool | true | Enable kantaloupe auth (JWT login, RBAC, audit) |
| auth.existingAuthSecret | string | "" | Name of an existing K8s Secret with keys "jwt-secret" and "bootstrap-admin-password" (use instead of plain-text values for production) |
| auth.image.pullPolicy | string | "IfNotPresent" | db-migrate image pull policy for sqlite backend |
| auth.image.registry | string | "ghcr.io" | db-migrate image registry for sqlite backend |
| auth.image.repository | string | "dynamia-ai/kantaloupe-db-migrate" | db-migrate image repository for sqlite backend |
| auth.image.tag | string | "v0.16.0" | db-migrate image tag for sqlite backend |
| auth.jwtSecret | string | "your-own-jwt-secret" | JWT signing secret (plain text, dev only) |
| auth.persistence.enabled | bool | false | Enable persistence using PVC for sqlite backend (PV is dynamically provisioned via cluster default StorageClass) |
| auth.persistence.existingClaim | string | "" | Name of an existing PVC to use for sqlite backend (if set, a new PVC will not be created) |
| auth.persistence.size | string | "1Gi" | PVC storage size for sqlite backend |
| auth.persistence.storageClass | string | "" | PVC storage class for sqlite backend (empty = use cluster default StorageClass for dynamic PV provisioning) |
| auth.storeBackend | string | "crd" | Auth store backend. Supported values: crd, sqlite |
| cloudtty.enabled | bool | true | |
| controlPlaneName | string | "control-plane" | |
| controllerManager.affinity | object | {} | controllerManager affinity settings |
| controllerManager.concurrentWorkSyncs | int | 5 | Reconcile workers per member-cluster controller on the elected leader; standby replicas do not add throughput |
| controllerManager.enablePromoteKantaloupeflowController | bool | false | Automatically create KantaloupeFlow CRs for existing GPU deployments in member clusters. |
| controllerManager.image.pullPolicy | string | "IfNotPresent" | kantaloupe image pull policy |
| controllerManager.image.pullSecrets | list | [] | Specify docker-registry secret names as an array |
| controllerManager.image.registry | string | "ghcr.io" | kantaloupe image registry |
| controllerManager.image.repository | string | "dynamia-ai/kantaloupe-controller-manager" | kantaloupe image repository |
| controllerManager.image.tag | string | "v0.16.0" | kantaloupe image tag (immutable tags are recommended) |
| controllerManager.labels | object | {} | controllerManager labels |
| controllerManager.livenessProbe.enabled | bool | false | Enable livenessProbe on controllerManager containers |
| controllerManager.metricsPort | int | 31001 | |
| controllerManager.nodeSelector | object | {} | controllerManager node labels for pod assignment |
| controllerManager.podAnnotations | object | {} | controllerManager pod annotations |
| controllerManager.podLabels | object | {} | controllerManager pod labels |
| controllerManager.prometheusAddr | string | "" | The Prometheus-compatible query endpoint for controller-manager. If empty, uses the default value from Go code. |
| controllerManager.readinessProbe.enabled | bool | false | Enable readinessProbe on controllerManager containers |
| controllerManager.replicaCount | int | 1 | controllerManager target replica count |
| controllerManager.resources | object | {} | controllerManager resource requests and limits |
| controllerManager.rollingUpdate.maxSurge | int | 1 | Extra Pods allowed during updates; use 0 with required anti-affinity on fully occupied nodes |
| controllerManager.rollingUpdate.maxUnavailable | int | 0 | Pods allowed to be unavailable during updates; use 1 with maxSurge=0 |
| controllerManager.terminationGracePeriodSeconds | int | 45 | Time allowed for controller shutdown and leader failover |
| controllerManager.tolerations | object | {} | controllerManager tolerations for pod assignment |
| controllerManager.webhook.certDir | string | "/var/run/kantaloupe/webhook-certs" | |
| controllerManager.webhook.certName | string | "tls.crt" | |
| controllerManager.webhook.enabled | bool | true | |
| controllerManager.webhook.keyName | string | "tls.key" | |
| controllerManager.webhook.port | int | 9443 | |
| controllerManager.webhook.servicePort | int | 443 | |
| fullnameOverride | string | "kantaloupe" | String to fully override the fullname template |
| gateway.apiserverCors | object | {"allowCredentials":false,"allowHeaders":["authorization","content-type","accept","origin"],"allowMethods":["GET","POST","PUT","PATCH","DELETE","OPTIONS"],"allowOrigins":[],"enabled":false,"exposeHeaders":[],"maxAge":null} | Optional CORS policy attached only to the apiserver HTTPRoute (/apis) |
| gateway.apiserverCors.allowCredentials | bool | false | Whether credentialed cross-origin requests are allowed |
| gateway.apiserverCors.allowHeaders | list | ["authorization","content-type","accept","origin"] | Allowed request headers returned on CORS preflight responses |
| gateway.apiserverCors.allowMethods | list | ["GET","POST","PUT","PATCH","DELETE","OPTIONS"] | Allowed methods returned on CORS preflight responses |
| gateway.apiserverCors.allowOrigins | list | [] | Allowed browser origins for apiserver CORS; required when enabled |
| gateway.apiserverCors.enabled | bool | false | Enable Envoy Gateway SecurityPolicy-based CORS on the apiserver route |
| gateway.apiserverCors.exposeHeaders | list | [] | Response headers exposed to browser JavaScript |
| gateway.apiserverCors.maxAge | string | nil | Optional browser preflight cache max age in seconds |
| gateway.apiserverHostnames | list | [] | Dedicated external hostnames for direct apiserver access, separate from gateway.hostnames (the UI/site domain). When non-empty, a dedicated HTTPRoute routes these hosts to the apiserver; they must be covered by the HTTPS listener's TLS certificate. |
| gateway.className | string | "kantaloupe" | GatewayClass name |
| gateway.enabled | bool | true | Enable Gateway API resources |
| gateway.envoy | object | {"proxy":{"image":{"pullSecrets":[],"registry":"","repository":"","tag":""}},"service":{"ports":{"http":{"nodePort":30080},"https":{"nodePort":30443}},"type":"NodePort"}} | Envoy Gateway implementation details |
| gateway.envoy.proxy.image.pullSecrets | list | [] | Image pull secrets for Envoy proxy pods |
| gateway.envoy.proxy.image.registry | string | "" | Envoy proxy image registry |
| gateway.envoy.proxy.image.repository | string | "" | Envoy proxy image repository. When set without a tag, renders the EnvoyProxy imageRepository field. |
| gateway.envoy.proxy.image.tag | string | "" | Envoy proxy image tag. When set, renders a complete EnvoyProxy image reference. |
| gateway.envoy.service | object | {"ports":{"http":{"nodePort":30080},"https":{"nodePort":30443}},"type":"NodePort"} | Envoy service configuration |
| gateway.envoy.service.ports.http | object | {"nodePort":30080} | HTTP port configuration |
| gateway.envoy.service.ports.http.nodePort | int | 30080 | HTTP NodePort |
| gateway.envoy.service.ports.https | object | {"nodePort":30443} | HTTPS port configuration |
| gateway.envoy.service.ports.https.nodePort | int | 30443 | HTTPS NodePort |
| gateway.envoy.service.type | string | "NodePort" | Envoy service type (LoadBalancer or NodePort) |
| gateway.hostnames | list | [] | List of site hostnames (DNS names or wildcard names such as *.example.com, without scheme, port, or path). Applied to UI/API routes and passed to controller-manager and apiserver as GATEWAY_HOSTNAMES for control-plane workload, vLLM demo, and CloudShell HTTPRoutes. Member-cluster workload routes do not inherit the control-plane site hostnames. An empty list leaves site routes unrestricted by hostname. The first entry also supplies the control-plane cluster gateway address for generated access URLs; use a concrete hostname first. HTTPS certificates must cover these names. |
| gateway.ipAddress | string | "" | Gateway IP address |
| gateway.listeners | list | [{"name":"http","port":80,"protocol":"HTTP"}] | Gateway listeners configuration |
| global.imagePullSecrets | list | [] | Global Docker image pull secrets |
| global.imageRegistry | string | "" | Global Docker image registry |
| hamiNamespace | string | "hami-system" | |
| hook.image.pullPolicy | string | "IfNotPresent" | CRD hook image pull policy |
| hook.image.pullSecrets | list | [] | Specify docker-registry secret names as an array |
| hook.image.registry | string | "ghcr.io" | CRD hook image registry |
| hook.image.repository | string | "cloudtty/cloudshell" | CRD hook image repository |
| hook.image.tag | string | "v0.8.9" | CRD hook image tag (immutable tags are recommended) |
| installCRDs | bool | true | define flag whether to install CRD resources |
| monitoring.enabled | bool | true | |
| monitoring.hamiServiceMonitor.enabled | bool | true | |
| monitoring.serviceMonitorLabels | object | {} | Labels added to ServiceMonitor and PrometheusRule resources for discovery by Prometheus-compatible operators. When empty, defaults to release: prometheus; providing any labels replaces that fallback. The built-in app, role, and control-plane labels cannot be overridden. |
| monitoring.vendorServiceMonitor.enableAMDServiceMonitor | bool | false | Enable AMD GPU Operator exporter discovery and AMD recording rules in the control plane. Required for monitoring AMD devices in local or member clusters. |
| monitoring.vendorServiceMonitor.enableAlibabaPPUServicemonitor | bool | false | Enable Alibaba PPU exporter discovery and Alibaba PPU recording rules in the control plane. Required for monitoring Alibaba PPU devices in local or member clusters. |
| monitoring.vendorServiceMonitor.enableAscendServicemonitor | bool | false | Enable Ascend exporter discovery and Ascend recording rules in the control plane. Required for monitoring Ascend devices in local or member clusters. |
| monitoring.vendorServiceMonitor.enableEnflameServicemonitor | bool | false | Enable Enflame GCU exporter discovery and Enflame recording rules in the control plane. Required for monitoring Enflame devices in local or member clusters. |
| monitoring.vendorServiceMonitor.enableHygonServicemonitor | bool | false | Enable HCU exporter discovery and Hygon device recording rules in the control plane. Required for monitoring Hygon devices in local or member clusters. Discovers hcu-exporter in the monitoring namespace. |
| monitoring.vendorServiceMonitor.enableIluvatarServicemonitor | bool | false | Enable Iluvatar ix-exporter and vgpu-manager discovery and Iluvatar recording rules in the control plane. Required for monitoring Iluvatar devices in local or member clusters. |
| monitoring.vendorServiceMonitor.enableMetaxServicemonitor | bool | false | Enable MetaX exporter discovery and MetaX recording rules in the control plane. Required for monitoring MetaX devices in local or member clusters. |
| monitoring.vendorServiceMonitor.enableNvidiaServicemonitor | bool | true | Enable NVIDIA exporter discovery and NVIDIA recording rules in the control plane. Required for monitoring NVIDIA devices in local or member clusters. |
| monitoring.vendorServiceMonitor.enabled | bool | true | Create vendor ServiceMonitor templates and recording rules for enabled vendors. |
| mpu.enabled | bool | false | |
| mpu.image.pullPolicy | string | "IfNotPresent" | MPU image pull policy |
| mpu.image.pullSecrets | list | [] | |
| mpu.image.registry | string | "ghcr.io" | |
| mpu.image.repository | string | "dynamia-ai/mpu" | |
| mpu.image.tag | string | "dev-ubuntu24.04" | |
| nameOverride | string | "" | String to partially override the fullname template (will maintain the release name) |
| ui.affinity | object | {} | ui affinity settings |
| ui.apiBackendURL | string | "" | Optional backend address for UI API requests. Leave empty to use same-origin requests |
| ui.forceChinese | bool | false | Force UI to display Chinese language |
| ui.image.pullPolicy | string | "IfNotPresent" | kantaloupe image pull policy |
| ui.image.pullSecrets | list | [] | Specify docker-registry secret names as an array |
| ui.image.registry | string | "ghcr.io" | kantaloupe image registry |
| ui.image.repository | string | "dynamia-ai/kantaloupe-ui" | kantaloupe image repository |
| ui.image.tag | string | "v0.13.0" | kantaloupe image tag (immutable tags are recommended) |
| ui.labels | object | {} | ui labels |
| ui.livenessProbe.enabled | bool | false | Enable livenessProbe on ui containers |
| ui.nodeSelector | object | {} | ui node labels for pod assignment |
| ui.podAnnotations | object | {} | ui pod annotations |
| ui.podLabels | object | {} | ui pod labels |
| ui.readinessProbe.enabled | bool | false | Enable readinessProbe on ui containers |
| ui.replicaCount | int | 1 | ui target replica count |
| ui.resources | object | {} | ui resource requests and limits |
| ui.service.nodePort | int | 31300 | |
| ui.service.port | int | 80 | |
| ui.service.type | string | "ClusterIP" | |
| ui.tolerations | object | {} | ui tolerations for pod assignment |