Install HAMi-WebUI
Alauda Build of HAMi-WebUI is an optional HAMi product-line cluster plugin. Install it when users need a HAMi-specific resource overview in addition to ACP monitoring.
TOC
Before you beginPrepare the Prometheus settingsInstall the cluster pluginAccess HAMi-WebUIVerify the Prometheus query pathNext stepsBefore you begin
- Install Alauda Build of HAMi.
- Confirm the supported HAMi-WebUI version in Versions and Components.
- For HAMi v2.9.x, obtain the
Alauda Build of HAMi-WebUIv1.10.3 cluster-plugin package for the target architecture from Customer Portal or AC CN/IO. - Confirm that ACP monitoring is available in the target cluster and that HAMi-WebUI can reach its Prometheus query address.
- Obtain cluster administrator access. The generated Prometheus authentication value is a credential and must be handled as a secret.
Prepare the Prometheus settings
The plugin form requires a Prometheus address and accepts the complete value for the HTTP Authorization header. For Basic authentication, the value must include the scheme prefix:
Use the following script to read the monitoring Feature and generate the two form values. It does not print the username or password separately.
Do not omit the Basic prefix. HAMi-WebUI sends the configured authentication string unchanged as the Prometheus Authorization header. A base64 value without the scheme prefix can be redirected to an authorization page instead of receiving Prometheus JSON.
From a network location that can reach the returned address, verify the credentials before installing the plugin:
A successful response has "status":"success" and a Prometheus JSON data object. An HTML page, login page, or authorization redirect is not a valid response.
Install the cluster plugin
-
Retrieve
Alauda Build of HAMi-WebUIfrom Customer Portal and upload the cluster plugin to ACP. -
In ACP, go to
Administrator->Marketplace->Cluster Plugins, switch to the target cluster, and deployAlauda Build of HAMi-WebUI. -
Fill in the plugin form:
-
Wait for the WebUI pod to become Ready:
Access HAMi-WebUI
Use the ACP route when platform access is available:
When NodePort is enabled, find the service port and a reachable node address:
Open the direct task page with the selected NodePort:
Verify the Prometheus query path
For a NodePort deployment, query the same WebUI backend endpoint used by the page:
The expected response is a JSON object with a data array, for example {"data":[...]}. HTTP 523, VGPU_DOMAIN_ERROR, or an error containing an HTML document means the WebUI backend did not receive a valid Prometheus API response. See Troubleshooting.