website/content/v1.14/reference/configuration/storage/raidarrayconfig.md
{{< highlight yaml >}} apiVersion: v1alpha1 kind: RAIDArrayConfig name: talos # Array name, stamped into the md metadata. level: raid1 # RAID level.
provisioning: # The volume selector describes how the members of RAID arrays are selected. volumeSelector: match: disk.transport == "nvme" && disk.size > 100u * GiB # CEL expression matching the member volumes of the array. {{< /highlight >}}
| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Array name, stamped into the md metadata. |
Must be 1-32 chars: ASCII letters, digits, hyphens, underscores.
Exposed as /dev/disk/by-id/md-name-<name>. | |
|level |MDLevel |RAID level. |raid1
|
|metadata |MDMetadata |MD on-disk metadata format.
Defaults to 1.0, which stores the superblock at the end of the member
device so the array can back a bootable partition. Use 1.2 for data
arrays that do not need to be bootable. |1.0
1.2
|
|provisioning |<a href="#RAIDArrayConfig.provisioning">RAIDProvisioningSpec</a> |The provisioning describes how the RAID arrays are provisioned. | |
RAIDProvisioningSpec describes how the RAID arrays are provisioned.
| Field | Type | Description | Value(s) |
|---|---|---|---|
volumeSelector | <a href="#RAIDArrayConfig.provisioning.volumeSelector">RAIDVolumeSelector</a> | The volume selector describes how the members of RAID arrays are selected. |
RAIDVolumeSelector matches member disks with CEL.
| Field | Type | Description | Value(s) |
|---|---|---|---|
match | Expression | CEL expression matching the member volumes of the array. |
Evaluated against each discovered volume with the volume variable;
the disk variable is bound for whole disks (empty for partitions), so
both whole disks and partitions can be selected. The system disk and
its partitions are never eligible. <details><summary>Show example(s)</summary>match NVMe disks larger than 100 GiB:{{< highlight yaml >}}
match: disk.transport == "nvme" && disk.size > 100u * GiB
{{< /highlight >}}</details> | |