Changing Kubernetes node flavors

You can modify the default flavors that will be used for Kubernetes master and worker nodes. If required, self-service users are able to select other flavors, instead of the default ones, when creating Kubernetes clusters.

To change the flavor for Kubernetes master nodes

Use the following command:

vinfra service compute k8saas defaults set --master-flavor <flavor> <version>
--master-flavor <flavor>
The flavor to be used for Kubernetes master nodes.
<version>
Kubernetes version to apply new defaults for.

For example, to set the master node flavor to xlarge and apply this change for all of the supported Kubernetes versions, run:

# vinfra service compute k8saas defaults set --master-flavor xlarge

To set this flavor only for version 1.24.3, append the version number to the command:

# vinfra service compute k8saas defaults set --master-flavor xlarge v1.24.3

To change the flavor for Kubernetes worker nodes

Use the following command:

vinfra service compute k8saas defaults set --flavor <flavor> <version>
--flavor <flavor>
The flavor to be used for Kubernetes worker nodes.
<version>
Kubernetes version to apply new defaults for.

For example, to set the worker node flavor to medium and apply this change for all of the supported Kubernetes versions, run:

# vinfra service compute k8saas defaults set --flavor medium

To set this flavor only for version 1.24.3, append the version number to the command:

# vinfra service compute k8saas defaults set --flavor medium v1.24.3