The Kubernetes cluster might run out of resources when handling large workloads. In these cases, adding an extra node to the cluster can help manage the increased workloads.
Add a Worker Node
Do not add a worker node during the cluster upgrade. However, you can add the worker node after the upgrade is successful.
Run the following command on the cluster:
appdctl cluster add-node
CODE
This command generates a command to add the worker node to the cluster. The following is a sample output:
Sample Output
Enter the following command on the node as master to join the cluster:
appdctl cluster join 10.X.X.X:25000/11c4d3d1234288c8d7135ce470aeb9e8/b3f373551c9b
Enter the following command on the node as worker to join the cluster:
appdctl cluster join 10.X.X.X:25000/11c4d3d1234288c8d7135ce470aeb9e8/b3f373551c9b --worker
CODE
Run the command that has the --worker flag in the node that you want to join to the cluster. For example: