Configuring the Kubernetes system volume

You can modify the size and storage policy of the system volume on Kubernetes master nodes. The system volume is used by the Kubernetes management services and etcd.

After updating the parameters, they will be applied only in new Kubernetes clusters. Existing Kubernetes clusters will retain their previous parameters.

To improve the stability of Kubernetes clusters, it is highly recommended to select a storage policy with an SSD-based tier.

To change the system volume parameters

Admin panel

  1. Click Settings on the Kubernetes clusters screen.
  2. Set the desired storage policy and size for the system volume, and then click Done.

Command-line interface

Use the following command:

vinfra service compute k8saas defaults set --labels boot_volume_size=<size>,boot_volume_type=<storage-policy> <version>
--labels <key1=value1,key2=value2,key3=value3...>

Arbitrary labels in the form of key=value pairs to associate with a cluster:

  • boot_volume_size=<size>: set the size for the Kubernetes system volume
  • boot_volume_type=<storage-policy>: set the storage policy for the Kubernetes system volume
<version>
Kubernetes version to apply new defaults for.

For example, to change the size of the Kubernetes system volume to 30 GiB and use the mypolicy storage policy for it, for all Kubernetes versions, run:

# vinfra service compute k8saas defaults set --labels boot_volume_size=30,boot_volume_type=mypolicy

To set these parameters only for version 1.24.3, append the version number to the command:

# vinfra service compute k8saas defaults set --labels boot_volume_size=30,boot_volume_type=mypolicy v1.24.3