Use the vkube nodegroup command to create and delete node groups for a cluster.

The vkube nodegroup command uses the following syntax.

vkube nodegroup ACTION <CLUSTER_ID> <NODEGROUP_ID>\
   [–-name NAME] \
   [–-node-count NODE_COUNT] \
   [–-node-profile-id NODE_PROFILE_ID] \
   [–-type TYPE]
   [--skip-refresh SKIP]

Parameter

Mandatory or Optional

Description

ACTION

Use one of the following positional arguments:

  • create

  • delete

  • list

  • scale

Mandatory

create

Create a node group on cluster.

delete

Delete a node group from cluster.

list

List available node groups per cluster.

scale

Scale a node group from cluster.

CLUSTER_ID

Mandatory for create, delete, list and scale actions

ID of the cluster for the node group.

NODEGROUP_ID

Mandatory for delete and scale actions

ID of the node group.

-name NAME

Mandatory for create action

Name of node group.

--node-count NODE_COUNT

Mandatory for create and scale action

Number of nodes.

--node-profile-id NODE_PROFILE_ID

Mandatory for create action

Node profile ID of the node group.

--type TYPE

Mandatory for create action

Type of node. Worker is the supported node type.

--skip-refresh SKIP

Optional for scale action

Boolean value to refresh or skip refresh of back end resources.