Managing Kubernetes worker groups – LS Cloud

To meet system requirements of applications running in Kubernetes clusters, you can have worker nodes with different number of CPUs and amount of RAM. Creating workers with different flavors is possible by using worker groups.

When creating a Kubernetes cluster, you can specify the configuration of only one worker group, the default worker group. After the cluster is created, add as many worker groups as you need. If required, you can also edit the number of workers in a group later.

Limitations

  • Worker groups are not available for Kubernetes version 1.15.x.
  • Only the user who created a Kubernetes cluster can edit its worker groups.
  • The default worker group cannot be deleted.

Prerequisites

To add a worker group

  1. On the Kubernetes clusters screen, click a Kubernetes cluster.
  2. On the cluster right pane, navigate to the Groups tab.
  3. In the Workers section, click Add.
  4. In the Add worker group window, set a number of workers to create, select a flavor for each worker, and then specify a name for the group. Then, click Add.

When the worker group is created, you can assign pods to these worker nodes, as explained in Assigning Kubernetes pods to specific nodes.

To edit the number of workers in a group

  1. On the Kubernetes cluster right pane, navigate to the Groups tab.
  2. In the Workers section, click the pencil icon for the default worker group or the ellipsis icon for all other groups, and then select Edit.
  3. In the Edit worker group window, change the number of workers, and then click Save.

To delete a worker group

Click the ellipsis icon next to the required worker group, and then select Delete. The worker group will be deleted along with all of its workers. After the deletion, the worker group data will be lost.

Share this:
FacebookTwitterWhatsAppViberCopy LinkTelegramLinkedIn
Updated on June 21, 2022
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support