cluster-api icon indicating copy to clipboard operation
cluster-api copied to clipboard

Allow diskSetup to include partition layout

Open Xartos opened this issue 1 year ago • 8 comments

What would you like to be added (User Story)?

As a cluster administrator I would like to be able to setup nodes that has a single disk with multiple partitions

Detailed Description

Currently there's no way to have a single node VM and split its disk into multiple partitions since this field is only a boolean. However, the cloud-init documentation says that this can either be a bool (to set up the disk as a single partition) or a list that describes the partition layout, reference.

So my proposal would be to allow this field to be either a boolean or a list. Alternatively add another field that describes the layout that can be merged with the existing field when generating the cloud-init user-data file.

Anything else you would like to add?

No response

Label(s) to be applied

/kind feature One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

Xartos avatar Apr 13 '23 13:04 Xartos