Onboard Compute
Onboard GPU / NPU nodes as a Kubernetes compute cluster, then activate the device plugin, monitoring, and image service. Complete Before You Start first.
ClusterD is the Web program used when onboarding compute. It runs on the control host and uses SSH to add the cluster, initialize nodes, and activate components on the compute nodes. See What ClusterD Does.
Quick Install ClusterD
Use Ubuntu 22.04 on x86_64 or ARM64 for the control host. Install ClusterD on the control host.
- Open the release download page and copy the full-package URL that matches the control host's
uname -m, plus that package's own SHA-256. - On the control host, run:
sudo -i
bash
set -e
mkdir -p /opt/clusterd-packages
cd /opt/clusterd-packages
CLUSTERD_PACKAGE_URL="<CLUSTERD_PACKAGE_URL>"
CLUSTERD_PACKAGE_NAME="agione-clusterd-full-release-XXX-linux-x86_64.tar.gz"
CLUSTERD_PACKAGE_SHA256="<TRUSTED_OUTER_ARCHIVE_SHA256>"
curl --fail --location --output "$CLUSTERD_PACKAGE_NAME" "$CLUSTERD_PACKAGE_URL"
printf '%s %s\n' "$CLUSTERD_PACKAGE_SHA256" "$CLUSTERD_PACKAGE_NAME" | sha256sum -c -
tar -xzf "$CLUSTERD_PACKAGE_NAME"
cd "${CLUSTERD_PACKAGE_NAME%.tar.gz}"
bash verify.sh
CLUSTERD_INSTALL_LOG=/var/log/agione-clusterd-install.log
if bash install.sh install > "$CLUSTERD_INSTALL_LOG" 2>&1; then
tail -n 20 "$CLUSTERD_INSTALL_LOG"
else
tail -n 100 "$CLUSTERD_INSTALL_LOG"
false
fi
systemctl is-active agione-clusterdOn an ARM64 control host, change x86_64 in the filename to arm64 and use that package's own URL and SHA-256. After agione-clusterd-install-ok and an active service, open http://<control-host-IP>:18093/ and create an account as described in the installation guide.
Host checks, offline transfer, the light package, upgrade, and removal are in Install, Upgrade, and Uninstall. The same commands are also in that page's Quick Install.
Onboard a Compute Cluster
Onboard compute nodes
Add a cluster
Sign in with the account created when ClusterD was installed. The first-visit account steps are in Install and Open ClusterD.
The first time you open ClusterD, initialize the user and set a password for the operator account.

After the password is set, ClusterD opens directly. Open Compute Management and add a cluster.

Configure the Maintenance node
Note: The Maintenance node is used to manage the agent nodes in the cluster. It can be one of the compute cluster nodes. The Maintenance node primarily receives commands from the user interface and executes them locally.
Enter the cluster name and SSH connection credentials as required, and configure Network mode. Select Offline maintenance only when the nodes being onboarded cannot access the Internet.

After the configuration is complete, save it. In online mode, ClusterD automatically downloads and extracts the cluster configuration and installation package.
Initialize the cluster
Configure the cluster network information as shown below. In most cases, you can submit and save the default configuration directly, unless Service CIDR or Cluster CIDR conflicts with the actual environment.

Add and initialize nodes
In the Add nodes step, click Add node.

Enter the node IP address. This is usually the node's internal network IP. The Maintenance node must be able to access this IP address over SSH. The SSH credentials entered later are the credentials that the Maintenance node uses to access the corresponding node.
When fewer than three nodes are onboarded, at least one node must be selected to run the Master/Etcd services. When three or more nodes are onboarded, three nodes must be selected to run the Master/Etcd services.
After adding the node, click Check to verify that it meets the deployment requirements, including the chip, operating system, storage, and software.


If the report shows a problem, repair it.

Run Check again after the repair.

When the checks pass, click Init to install and deploy the node, then wait for the task to complete.

Activate components
After the nodes are initialized, open Active components.

Select the accelerator type that matches the hardware, then click Activate all.
Install the Image Service
Configure image service deployment
The cluster must be configured with an image service. One image service can be shared by multiple clusters, or each cluster can have its own image service. The choice usually depends on network connectivity. In an all-in-one deployment, the image service is typically installed on the Maintenance node.

Click Get Disk to retrieve the available disks on the node. Select a disk with sufficient capacity—typically at least 500 GB—to store image data.

Click Install Harbor. After installation is complete, click View Images to view the image repository. The repository is empty at this point.

Configure the insecure image registry. Open Image activation wizard and follow it to activate the new local registry.

Copy images
After the image repository is created, you can copy images to the Harbor repository from the OneProHuaweiMP Huawei Cloud account's Hong Kong or Guizhou region, as shown below.

The remote repository contains commonly used inference frameworks. You can copy the temporary username, password, and repository information into the form.

Submit the form and wait for the image copy operation to complete.
Notes
In the OneProHuaweiMP Huawei Cloud account, images under the
agione-poweroneorganization are intended for production use. Thevllm-ascendimage is for Huawei NPU cards;vllm-openaiandsglangare for NVIDIA GPU cards.
The following image shows how to obtain the relevant authentication information for the OneProHuaweiMP Huawei Cloud account.

In the following image, remove
docker pullfrom the text highlighted in red to obtain the source image address.
Scale out nodes
Open Expansion wizard and select the cluster to expand.

Add the new node, then enter its SSH credentials and role.

After the node is added, check and repair it the same way as during the initial deployment. When the checks pass, initialize the new nodes together.