Edge node pools are classified into basic edge node pools and dedicated edge node pools based on the collaborative cloud-edge networking mode. You can create an edge node pool to centrally manage a group of nodes, including node labels and taints. This topic describes how to create an edge node pool.
Table of contents
Prerequisites
A Container Service for Kubernetes (ACK) Edge cluster is created. For more information, see Create an ACK Edge cluster.
The yurt-app-manager component is installed. For more information, see yurt-app-manager.
When you create a dedicated edge node pool, you need to select a solution for cloud-edge communication, such as Express Connect or VPN.
Introduction to edge node pools
Types of edge node pools
Edge node pools support two collaborative cloud-edge networking modes: basic and dedicated.
Basic: The nodes in a basic edge node pool communicate with nodes in the cloud over the Internet. Applications deployed on the edge nodes cannot directly access virtual private clouds (VPCs) over the Internet. If your applications at the edge do not strongly rely on the cloud and you do not have requirements on cloud-edge communication and security, you can use basic edge node pools.
Dedicated: You can connect the nodes in a dedicated node pool to the cloud by using Express Connect, VPN, or CEN. This greatly improves the quality and security of cloud-edge communication. If your applications at the edge rely on cloud-edge communication, a large number of edge devices are deployed, and you have high requirements on the quality and security of cloud-edge communication, we recommend that you use dedicated node pools.
Category | Basic | Dedicated |
Cloud-edge networking | Internet | Express Connect, VPN, or CEN |
Whether edge nodes can access VPCs | No | Yes |
Network quality | Low | Extremely high |
Security | Low | Extremely high. Dedicated networks are used to ensure security. |
Costs | Low | High (depends on the networking solution) |
Scenarios | Applications do not strongly rely on cloud-edge collaboration. |
|
Annotations for edge node pools
Annotation | Description |
nodepool.openyurt.io/max-nodes | Specify the maximum number of nodes supported by an edge node pool. Only non-default edge node pools support this annotation. |
nodepool.openyurt.io/is-default | Specify whether the node pool is a default edge node pool. |
Usage notes
The
openyurt.io/desired-nodepool
label specifies the node pool to which a node belongs.The
alibabacloud.com/interconnection-mode
label specifies the collaborative cloud-edge networking mode used by a node. Do not modify this label.
Create a basic or dedicated edge node pool
Log on to the ACK console and click Clusters in the left-side navigation pane.
On the Clusters page, click the name of the cluster that you want to manage and choose
in the left-side navigation pane.On the Node Pools page, click Create Edge Node Pool in the upper-right part.
In the Create Edge Node Pool dialog box, configure the parameters. Then, click Submit.
Parameter
Description
Node Pool Name
The name of the node pool.
Container Runtime
containerd and Docker are supported. Select a container runtime based on the Kubernetes version of the cluster. You can choose a proper container runtime in the following ways:
containerd: containerd is recommended for all Kubernetes versions.
Docker: Use Docker in clusters that run Kubernetes 1.22 or earlier.
For more information, see Comparison of Docker, containerd, and Sandboxed-Container.
Coordination Network between Cloud and Edge
Valid values: Basic and Dedicated. Select Basic or Dedicated based on your business requirements.
Maximum Nodes
The maximum number of nodes that can be added to the edge node pool.
Node Label
Add labels to the nodes in the edge node pool.
Taints
Add taints to the nodes in the edge node pool.