vinfra service compute k8saas workergroup set
Modify Kubernetes worker group parameters:
usage: vinfra service compute k8saas workergroup set [--node-count <count>] <cluster> <worker-group>
<cluster>
- Cluster ID or name
<worker-group>
- Worker group ID or name
--node-count <count>
- The amount of worker nodes in the Kubernetes worker group
Example:
# vinfra service compute k8saas workergroup set k8s1 mygroup \ --node-count 5 --vinfra-domain domain1 --vinfra-project project1 \ --vinfra-username user1 --vinfra-password password +-----------------+--------------------------------------+ | Field | Value | +-----------------+--------------------------------------+ | flavor | small | | id | 70d071eb-7a81-471f-ae50-99758ae27678 | | is_default | False | | name | mygroup | | node_count | 3 | | role | worker | | server_group_id | 50f4ae08-4e44-4132-a40b-7043a2c3e739 | | status | ACTIVE | +-----------------+--------------------------------------+
This command starts configuring the worker group mygroup
for the Kubernetes cluster k8s1
to bring the number of worker nodes to 5.