vinfra service compute k8saas set

Modify Kubernetes cluster parameters (must be run as the user who created the Kubernetes cluster):

usage: vinfra service compute k8saas set [--node-count <count>]
                                         <cluster>
<cluster>
Cluster ID or name
--node-count <count>
The amount of worker nodes in the Kubernetes cluster

Example:

# vinfra service compute k8saas set --node-count 5 k8s1 \
--vinfra-domain domain1 --vinfra-project project1 \
--vinfra-username user1 --vinfra-password password
+----------------------------------+--------------------------------------------+
| Field                            | Value                                      |
+----------------------------------+--------------------------------------------+
| action_status                    | UPDATE_COMPLETE                            |
| boot_volume_size                 | 10                                         |
| boot_volume_storage_policy       | default                                    |
| containers_volume_size           | 10                                         |
| containers_volume_storage_policy | default                                    |
| create_timeout                   | 60                                         |
| external_network_id              | 10cc4d59-adac-4ec1-8e0a-df5015b82c64       |
| id                               | 749737ae-2452-4a98-a057-b59b1c579a85       |
| key_name                         | key1                                       |
| master_flavor                    | medium                                     |
| master_node_count                | 1                                          |
| name                             | k8s1                                       |
| network_id                       | d037623b-0db7-40c2-b38a-9ac34fbd1cc5       |
| nodegroups                       | - action_status: UPDATE_COMPLETE           |
|                                  |   flavor: medium                           |
|                                  |   id: c3b4ec41-b8c1-4dae-9e1c-aa586b99a62c |
|                                  |   is_default: true                         |
|                                  |   name: default-master                     |
|                                  |   node_count: 1                            |
|                                  |   role: master                             |
|                                  |   status: ACTIVE                           |
|                                  |   version: v1.20.7                         |
|                                  | - action_status: UPDATE_COMPLETE           |
|                                  |   flavor: small                            |
|                                  |   id: 65b80f19-0920-48b7-84e0-d0c63c46e99f |
|                                  |   is_default: true                         |
|                                  |   name: default-worker                     |
|                                  |   node_count: 5                            |
|                                  |   role: worker                             |
|                                  |   status: ACTIVE                           |
|                                  |   version: v1.20.7                         |
| project_id                       | d8a72d59539c431381989af6cb48b05d           |
| status                           | ACTIVE                                     |
| user_id                          | 5846f988280f42199ed030a22970d48e           |
| worker_pools                     | - flavor: small                            |
|                                  |   node_count: 5                            |
+----------------------------------+--------------------------------------------+

This command starts configuring the Kubernetes cluster k8s1 to bring the number of worker nodes to 5.