Container Service for Kubernetes (ACK) allows you to use a node pool to manage multiple nodes in a cluster as a group. For example, you can centrally manage the labels and taints of the nodes in a node pool. This topic describes how to add an existing Windows node to an edge Kubernetes cluster.

Prerequisites

An edge Kubernetes cluster is created. For more information, see Create a managed edge Kubernetes cluster.

Limits

  • An edge Kubernetes cluster can contain at most 40 nodes. To add more nodes, Submit a ticket to request a quota increase.
  • Only Windows Server 2019 is supported.
  • An edge Kubernetes cluster can contain both Windows nodes and Linux nodes. For more information about how to add a Linux node to an edge Kubernetes cluster, see Add an edge node.

Enable Containers

Launch Windows PowerShell on the Windows node that you want to add to the cluster and run the following command to enable Containers. For more information about how to launch Windows PowerShell, see Installing Windows PowerShell.

Install-WindowsFeature Containers

Expected output:

Success   Restart Needed   Exit Code        Feature Result
True      Yes              SuccessRest...   {Containers}
WARNING: You must restart this server to finish the installation process.

The output shows that you must restart the Window server to finish the installation process.

Add the Windows node

  1. Log on to the ACK console.
  2. In the left-side navigation pane of the ACK console, click Clusters.
  3. On the Clusters page, find the cluster that you want to manage and click the name of the cluster or click Details in the Actions column. The details page of the cluster appears.
  4. In the left-side navigation pane of the details page, choose Nodes > Nodes.
  5. On the Nodes page, click Add Existing Node in the upper-right corner.
  6. On the Select Existing ECS Instance wizard page, set Mode to Manual and select the ECS instance that you want to add to the cluster from the ECS instances list.
  7. Click Next Step to go to the Specify Instance Information wizard page.
    Parameter Description Example
    Cluster ID/Name Information about the cluster to which the node is to be added. This parameter is automatically set. c593a437a5e754c65876c3f47a8bd**** / testcluster
    Script Validity Period The default value of Script Validity Period is 1 hour. If you want to use the script for more than 1 hour, you can set the validity period to a proper value. If you set Script Validity Period to 0, it indicates that the script is permanently valid. 1
    Architecture The CPU architecture of the node that you want to add. Select AMD64 if you want to add a Windows node. AMD64
    Specifications The configurations of the node that you want to add. Refer to the sample configurations when you add a Windows node. For more information about the configuration parameters, see Parameters.
    {
      "quiet": true,
      "manageRuntime": true,
      "platform": "Windows"
    }
  8. Click Next Step. On the Complete wizard page, click Copy to copy the script. Log on to the Window node that you want to add and launch Windows PowerShell to run the script.
    Node added
    The message in the following figure appears after the node is added to the cluster. Node added
  9. On the Complete wizard page, click Done.