Host-based installation
This article describes how to install Kubernetes
(RKE2) cluster and Rainbond
cluster through graphical interface on Linux system.
This installation method supports Linux x86 and Arm64 operating systems.
Prerequisites
- Ensure your environment meets the RKE2 installation requirements. If NetworkManager is installed and enabled on your host, pleaseensure it is configured to ignore CNI managed interfaces.
- If the host kernel supports AppArmor, you must also have AppArmor tools (usually available through the
apparmor-parser
package) before installation. - The installation must be performed as the
root
user.
If you have already performedquick installation, you cannot perform host-based installation on the same host again, as this will cause conflicts.
Start installing Kubernetes cluster from host
- Deploy Rainbond according toquick installation.
- Go to
Platform Management -> Cluster -> Add Cluster -> Start Installation from Host
to enter the graphical installation page. - Click
Add Node
and fill in the node information.
illustrate | |
---|---|
Node role | Select the role of the node, ETCD Management Node Compute Node |
Node public IP | Fill in the node's public IP address. If there is no public IP, do not fill in |
Node internal IP | Fill in the node's internal IP address. If there are multiple network cards, please manually fill in the internal IP. If it is empty, it will be automatically selected |
Console access address | The default is the address accessed by the current browser. If your registered host cannot communicate with the console, please fill in the address that can communicate |
- Copy the registration command and execute it on the Linux host.
Install Rainbond cluster
After the Kubernetes cluster installation is completed, the next step will enter the Rainbond cluster installation page, which will guide you through the installation of the Rainbond cluster.
- Fill in the basic configuration and advanced configuration according to the page guide.
- 基础配置
- 高级配置
The following will provide a detailed explanation of the basic configuration of the Rainbond cluster.
Configuration item | illustrate | |
---|---|---|
Cluster entry IP | Cluster entry access IP, which can be VIP, load balancer IP or any gateway node IP | Required |
Gateway node | Specify on which node the Rainbond gateway service is deployed and runs | Required |
Build node | Specify on which node the Rainbond build service is deployed and runs | Required |
The following will provide a detailed explanation of the advanced configuration of the Rainbond cluster.
Configuration item | illustrate | |
---|---|---|
Image repository | Specify the underlying image repository of Rainbond. All component images on the platform will be pulled and pushed from this repository.The built-in image repository is provided by default | Optional |
Database | Specify the MySQL8.0+ database for the Rainbond cluster.The built-in MySQL8.0+ database is provided by default | Optional |
Component image source | Specify which image source Rainbond's own components use to obtain images. By default, images are pulled from Alibaba Cloud's image repository | Optional |
- After filling in the configuration information, enter the Rainbond cluster installation page. On this page, you can see the installation progress information, and each component can be clicked to view the status and event information.
- Wait for all components to start, then complete the docking in the next step.
If you are familiar with Kubectl commands, you can use the
kubectl get pods -n rbd-system
command to view the cluster status.export KUBECONFIG=/etc/rancher/rke2/rke2.yaml
/var/lib/rancher/rke2/bin/kubectl get nodes
Next step
- Complete thequick start tutorial.
- Migrate theconsole to the Kubernetes cluster.