Add nodes

Perform this task to add worker nodes or controller nodes to a cluster.

Prerequisites

Install the system ISO image on the nodes to be added.

Procedure

To add worker nodes or controller nodes to a container cluster:

  1. Open the container cluster page, as described in "View detailed information about a container cluster."

  1. Click the Nodes tab.

  1. Click Add Nodes.

  1. Add one or multiple nodes.

Parameter

Description

Worker Node IP

IP address of the node on which you deploy application or services. To add a worker node, click Add Node.

  • Node IP—Enter the IP address of the node on the cluster.

  • Username—Enter the username of the root user account. The default username is root.

  • Password—Enter the password of the root user account.

  • Check—Click Check to test the connectivity to the node.

  • Delete—Click Delete to delete the node from the cluster.

Node Labels

Use a node label to describe a node attribute for the ease of node categorization or selection. You can assign one or multiple labels to a node. To assign an existing label to the node, select that label. To assign a new label to the node, enter the label name, and then click Add.

  • Label Key Prefix—A DNS subdomain name, represented as a series of dot-separated DNS labels. A label key prefix can contain a maximum of 253 characters.

  • Label Key Name—A string of up to 63 characters. A label key name must start and end with a letter or digit. It can contain hyphens (-), underscores (_), and dots (.).

  • Label Value—A value for the label.

The label key prefix and name combinations cannot be the following default keys:

  • beta.kubernetes.io/arch

  • beta.kubernetes.io/os

  • kubernetes.io/hostname

  • node-role.kubernetes.io/infra

  • node-role.kubernetes.io/compute

  • node-role.kubernetes.io/master

  • clusterIP

  • node

  • nodeType

Controller Nodes

A controller node deploys components that manage and control the operation of the cluster. To add a controller node, click Add Node. You can repeat this operation to add multiple controller nodes.

  • Node IP—Enter the IP address of the node on the cluster.

  • Username—Enter the username of the root user account. The default username is root.

  • Password—Enter the password of the root user account.

  • Check—Click Check to test the connectivity of the node on the cluster.

  • Delete—Click Delete to delete the controller node from the cluster.

 

  1. In the dialog box that opens, click OK.