Online Bootstrap Cluster Installation
Configuration Requirements
Table 1 Hardware configuration for minimum deployment
| Node Type | Number of Nodes | Number of vCPUs | Memory (GB) | Disk Space |
|---|---|---|---|---|
| Bootstrap node | 1 | 2 | 4 | System drive ≥ 100 GB |
| Service cluster node | 1 | 8 | 16 | System drive ≥ 100 GB |
Table 2 Recommended hardware configuration
| Node Type | Number of Nodes | Number of vCPUs | Memory (GB) | Disk Space |
|---|---|---|---|---|
| Bootstrap node | 1 | 2 | 4 | System drive ≥ 100 GB |
| Service cluster | Depending on the actual situation | Depending on the actual situation | Depending on the actual situation | Depending on the actual situation |
Environment Preparation
Prepare two bare-metal servers (BMSs), one as the bootstrap node and the other for the deployment of the service cluster. The tar tool must be installed on the bootstrap node. For tar installation, see https://ftp.gnu.org/gnu/tar/.
NOTE
If you do not have enough hosts, you can deploy the bootstrap node and cluster management node on the same host.
Procedure
-
Run the following command to download and automatically install the BKE tool on the bootstrap node:
curl -sfL https://openfuyao.obs.cn-north-4.myhuaweicloud.com/openFuyao/bkeadm/releases/download/v25.06/download.sh | bash -
Run the following command to initialize the bootstrap cluster:
This step deploys a lightweight K3s cluster on the bootstrap node. Cluster API, provider-bke, and the pods required for openFuyao installation and deployment are deployed in the cluster.
bke init --otherRepo harbor.openfuyao.com/openfuyao/bke-online-installed:v0.0.4 -
Run the following command to view the pods deployed in the bootstrap cluster:
kubectl get pod -AThe bootstrap cluster installation is complete after all pods are in a normal state. You can log in to the openFuyao management plane to perform service cluster installation.
Uninstallation
-
Run the following command to reset the bootstrap cluster:
bke reset --all --mount -
Run the following command to fully remove all BKE-related content:
rm -rf /bke
rm -f /usr/bin/bke