vinfra service compute k8saas workergroup create
Create a new Kubernetes worker group:
usage: vinfra service compute k8saas workergroup create --flavor <flavor> [--node-count <count>] <cluster> <name>
<cluster>
- Cluster ID or name
<name>
- Kubernetes worker group name
--flavor <flavor>
- The flavor to be used for Kubernetes worker group
--node-count <count>
- The amount of worker nodes in the Kubernetes worker group
Example:
# vinfra service compute k8saas workergroup create k8s1 mygroup \ --flavor small --node-count 3 --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 | | status | CREATING | +------------+--------------------------------------+
This command starts creating the worker group mygroup
with 3 nodes for the Kubernetes cluster k8s1
.