Edge Node Onboarding¶
According to the node access configuration, obtain the installation files and access commands, and install the EdgeCore edge core software on the node, so that the edge node can establish a connection with DCE Cloud Edge Collaboration and be included in platform management.
When the edge node is first onboarded, the latest version of the EdgeCore edge core software is automatically installed.
Note
- The relationship between the access configuration and the actual edge node machine is one-to-one. The installation files and access commands from one access configuration can only be used on a single actual edge node.
- This onboarding guide only applies to Cloud Edge Collaboration module v0.20 and later versions. If your version is earlier than v0.20, refer to the archived Edge Node Onboarding Guide.
This document mainly describes the single-node onboarding procedure. If you want to onboard nodes in batches quickly, refer to Batch Onboard Edge Nodes.
Prerequisites¶
- The node has been prepared as required and the node environment has been configured, please refer to Requirements to Join Edge Node for details.
- The edge node access configuration has been created, please refer to Create an Access Configuration for details.
Note
If you are onboarding heterogeneous nodes in an offline environment, first perform the multi-architecture merge of Helm applications. For the procedure, refer to Multi-Architecture Merge and Upgrade Import Steps for Helm Applications.
Steps¶
-
On the Edge Node List page, click the Onboard Node button to enter the node onboarding page.

-
Based on the node environment configuration, select the corresponding access configuration, enter the node name, and then click Get Onboarding Steps.

-
Onboard the node by executing the operations for the online or offline onboarding method.
If your environment can access the Internet, the online onboarding method is recommended.
-
In the onboarding steps drawer, click the Online Onboarding tab to display the online onboarding steps.

-
Use the script to prepare the keadm tool, and execute the command displayed in the interface.
Note
It is recommended to create an empty working directory first and run the script in that directory.
-
Execute the onboarding command displayed in the interface to onboard the node.
Note
Pay attention to the validity period of the token in the onboarding command. If the token expires, refresh the page to obtain a new one.
Command example:
keadm join \ --cgroupdriver=cgroupfs \ --cloudcore-ipport=10.64.24.29:30000 \ --hub-protocol=websocket \ --certport=30002 \ --image-repository=docker.m.daocloud.io/kubeedge \ --labels=batch-node.kant.io/protocol-type=websocket,kant.io/batch=test \ --kubeedge-version=v1.20.0 \ --remote-runtime-endpoint=unix:///run/containerd/containerd.sock \ --set \ modules.edgeStream.server=10.64.24.29:30004,\ modules.edgeStream.enable=true,\ modules.metaManager.enable=true,\ modules.metaManager.metaServer.enable=true,\ modules.serviceBus.enable=true,\ modules.edgeHub.websocket.server=10.64.24.29:30000 \ --token=f06150c1f9469047fd459187f6c1eb539b2778373ff874e55786c1c721ff8a29.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTEwNzY3ODd9.ATFgzWCHJhGGTYDwCk7E6SrbXh0STv40JuZwCUgX2H0
If your environment cannot access the Internet, choose the offline onboarding method.
-
In the onboarding steps drawer, click the Offline Onboarding tab to display the offline onboarding steps.

-
Click the Download File button, which will redirect you to the download center. In the download list, select the edge installation package and initialization script for the corresponding architecture.
-
Copy the installation package file and the script file to the same directory on the edge node to be onboarded, and run the initialization script in that directory.
Note
It is recommended to create an empty working directory to store the related files.
-
Onboard the node by executing the following command.
keadm join \ --cgroupdriver=cgroupfs \ --cloudcore-ipport=10.64.24.29:30000 \ --hub-protocol=websocket \ --certport=30002 \ --image-repository=docker.m.daocloud.io/kubeedge \ --labels=batch-node.kant.io/protocol-type=websocket,kant.io/batch=test \ --kubeedge-version=v1.20.0 \ --remote-runtime-endpoint=unix:///run/containerd/containerd.sock \ --set \ modules.edgeStream.server=10.64.24.29:30004,\ modules.edgeStream.enable=true,\ modules.metaManager.enable=true,\ modules.metaManager.metaServer.enable=true,\ modules.serviceBus.enable=true,\ modules.edgeHub.websocket.server=10.64.24.29:30000 \ --token=f06150c1f9469047fd459187f6c1eb539b2778373ff874e55786c1c721ff8a29.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTEwNzY3ODd9.ATFgzWCHJhGGTYDwCk7E6SrbXh0STv40JuZwCUgX2H0
-
-
Verify if the edge node has been successfully onboarded.
-
Select Edge Computing -> Cloud-Edge Collaboration from the left navigation bar to enter the edge unit list page.
-
Click the edge unit name to enter the edge unit details page.
-
Select Edge Resources -> Edge Nodes from the left navigation bar to enter the edge node list page.
-
Check the status of the edge node. If the current status is Healthy, it means the onboarding was successful.

-