Skip to main content
Version: v25.03

AIO Deployment

This section describes how to install openFuyao on a single node in AIO mode based on Kubernetes. The following uses openEuler 22.03 on the Arm64 architecture as an example. The installation procedure is the same for the supported operating systems and architectures described in Before You Start.

Configuration Requirements

Node Resource Requirements

Table 1 Recommended resource configuration for installation in AIO mode

vCPUsMemory (GB)
416

Input image descriptionNOTE
When simultaneous multithreading (SMT) or hyper-threading is disabled, a vCPU is equivalent to a physical core. After SMT or hyper-threading is enabled, the following formula is used for calculating the number of vCPUs: Number of vCPUs = (Number of threads per core x Number of cores) x Number of sockets.

Node Configuration Requirements

  • Internet access is available.
  • Root user login is available.

Environment Preparation

Prepare a Linux computer running openEuler 22.03.

Table 2 Environment information

Host IP AddressHost NameOperating SystemRole
192.168.0.2node1openEulerFunctions as both the master and worker nodes.

Procedure

  1. Log in to the node where openFuyao will be installed as the root user.

  2. Configure and test passwordless login.

    Input image descriptionNOTE
    If passwordless login has already been configured, test it directly. Ensure that passwordless login is supported. Otherwise, the subsequent installation will fail.

    • Configure passwordless login.
     if [ ! -f "$HOME/.ssh/id_rsa" ] || [ ! -f "$HOME/.ssh/id_rsa.pub" ]; then
    ssh-keygen -t rsa-sha2-512 -P "" -f $HOME/.ssh/id_rsa && ls $HOME/.ssh;
    fi

    echo "" >> $HOME/.ssh/authorized_keys && \
    echo "$(cat $HOME/.ssh/id_rsa.pub)" >> $HOME/.ssh/authorized_keys && \
    awk ' !x[$0]++{print > "'$HOME'/.ssh/authorized_keys"}' $HOME/.ssh/authorized_keys
    • Test passwordless login. If you have already logged in, run the exit command to log out.
    ssh root@192.168.0.2
  3. Download the installation tool and installation script.

    curl -sfL https://openfuyao.obs.cn-north-4.myhuaweicloud.com/openFuyao/installer/releases/download/v25.03/download.sh | bash -

    By default, the installation package of the latest version is downloaded by running the preceding command. To download the installation package of another version, run the following command with VERSION set to the desired version:

    Input image descriptionNOTE
    For details about how to verify the integrity of the installation package, see Installation Package Integrity Verification.

    export VERSION=x.y.z

    curl -sfL https://openfuyao.obs.cn-north-4.myhuaweicloud.com/openFuyao/installer/releases/download/v25.03/download.sh | bash -
  4. Perform the installation in the installation package directory.

    • Go to the installation package directory.

    Input image descriptionNOTE
    Here uses openEuler 22.03 on the Arm64 architecture as an example. Adjust the path according to the actual situation.

    export INSTALLER_PACKAGE_PATH=fuyao-v25.03-openEuler-22.03-arm64

    cd $INSTALLER_PACKAGE_PATH
    • Install a single-node cluster. By default, the Ascend Deployer component is not installed.
    ./fuyao create cluster -A
    • Install a cluster with the Ascend Deployer component.

    Input image descriptionNOTE
    This operation is supported only on A800T A2 servers running openEuler 22.03. The installation will fail if these requirements are not met.

    ./fuyao create cluster -A --ascend-ai
  5. Verify the installation.

    • After the automatic installation is complete, record the username and password for logging in to the openFuyao management plane.
    • Check the information about all pods on the host. If all pods are in running state, the environment is ready.
    kubectl get pod -A

    Input image descriptionNOTE

    • It takes about 20 minutes to install openFuyao on a single node. The installation is complete when all pods are in running state. The actual time may vary depending on actual network conditions.
    • The openFuyao authentication and authorization mechanism uses self-signed keys. All authentication and authorization keys and configuration files are stored under /etc/kubernetes/webhook on all master nodes. After the installation is complete, you may choose to remove the files in this path. However, if the files are removed and the API server is restarted, authentication will fail.
    • The components deployed using the installation and deployment tool are configured with default settings and are intended only for testing the openFuyao platform's functions. For a production environment, adjust the security configurations of Kubernetes, container runtime, and network plug-in components.
  6. Log in to the openFuyao management plane.

    Enter "https://login IP address of the management plane:web service port of openFuyao" in the address box of a browser, and enter the username and password to log in to the openFuyao management plane.

    Input image descriptionNOTE Changing the password is required upon the first login.
    The default web service port of openFuyao is 31616.

    For details about the functions and usage of the openFuyao management plane, see User Guide.

Uninstallation

  1. Log in to the installation host as the root user.

  2. Run the following command to enter the installation package directory:

    cd $INSTALLER_PACKAGE_PATH
  3. Perform the uninstallation in the installation package directory.

    Input image descriptionNOTE
    If multiple applications or extensions are installed in the environment through the application market, you are advised to uninstall them through the application management or extension management function. Otherwise, the uninstallation may be slow or fail.

    ./fuyao destroy cluster -A
  4. When Successfully completed cluster destroy is displayed, the cluster is uninstalled.

    During the uninstallation, the logs generated during the installation and uninstallation are not removed. The logs are stored under /var/log/fuyao-installer/. To remove these logs, run the following command:

    rm -rf /var/log/fuyao-installer/