-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Related to this comment in #93.
Is it possible to toggle the volume backed root drive for certain node groups? I can see that being useful for smaller VM flavors which have 20GB of storage, but for m3.mediums and above not only are we getting fewer storage (30GB vs 60GB), we're also using openstack volumes. This is also a potential problem for users with smaller allocations.
I suspected that this was what the --docker-volume-size
argument was responsible for creating the root volumes, but create_cluster.sh
sets that as 10GB, not the 30GB referenced in the above issue. It seems like that argument might not be doing anything. Perhaps related to us not setting a docker_volume_type?
$ openstack volume type list
+--------------------------------------+----------------+-----------+
| ID | Name | Is Public |
+--------------------------------------+----------------+-----------+
| f538e873-cd5b-45c0-99ed-1b8f55dbb0ac | replicated_hdd | True |
| 895fb040-2aed-40a2-b2e6-a6daf2cdfa6d | __DEFAULT__ | True |
+--------------------------------------+----------------+-----------+
Considering we haven't yet ran into any problems (that I've noticed, anyway) with the node's drives filling up, maybe an additional docker-volume isn't necessary, although a good option to know how to correctly use. For clarity, from the Magnum User Guide on docker-volume-size
:
If specified, container images will be stored in a cinder volume of the specified size in GB. Each cluster node will have a volume attached of the above size. If not specified, images will be stored in the compute instance’s local disk.
The next candidate for where the root volumes are coming from is boot-volume-size, but neither create_cluster.sh
nor the kubernetes-1-30-jammy
cluster template set that, and the default boot-volume-size
is 0, i.e. no boot volume.
Maybe the 30GB root volume we're observing is related to the way the ubuntu-jammy-kube-v1.30.4-240828-1653
image was created? An openstack image show
on it does not present me with any information that immediately pops out to me.