talos/website
Andrey Smirnov f07b79f4a8
feat: provide disk detection based on new blockdevices
Uses go-siderolabs/go-blockdevice/v2 for all the hard parts,
provides new resource `Disk` which describes all disks in the system.

Additional resource `SystemDisk` always point to the system disk (based
on the location of `META` partition).

The `Disks` API (and `talosctl disks`) provides a view now into the
`talosctl get disks` to keep backwards compatibility.

QEMU provisioner can now create extra disks of various types: IDE, AHCI,
SCSI, NVME, this allows to test detection properly.

The new resource will be the foundation for volume provisioning (to pick
up the disk to provision the volume on).

Example:

```
talosctl -n 172.20.0.5 get disks
NODE         NAMESPACE   TYPE   ID        VERSION   SIZE          READ ONLY   TRANSPORT   ROTATIONAL   WWID                                                               MODEL            SERIAL
172.20.0.5   runtime     Disk   loop0     1         65568768      true
172.20.0.5   runtime     Disk   nvme0n1   1         10485760000   false       nvme                     nvme.1b36-6465616462656566-51454d55204e564d65204374726c-00000001   QEMU NVMe Ctrl   deadbeef
172.20.0.5   runtime     Disk   sda       1         10485760000   false       virtio      true                                                                            QEMU HARDDISK
172.20.0.5   runtime     Disk   sdb       1         10485760000   false       sata        true         t10.ATA     QEMU HARDDISK                           QM00013        QEMU HARDDISK
172.20.0.5   runtime     Disk   sdc       1         10485760000   false       sata        true         t10.ATA     QEMU HARDDISK                           QM00001        QEMU HARDDISK
172.20.0.5   runtime     Disk   vda       1         12884901888   false       virtio      true
```

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2024-06-07 20:18:32 +04:00
..
assets docs: improve latest-version banner 2022-04-19 22:37:14 +02:00
content feat: provide disk detection based on new blockdevices 2024-06-07 20:18:32 +04:00
layouts feat: implement Talos diagnostics 2024-06-05 22:28:15 +04:00
static docs: update to use talosctl install script 2023-01-20 12:07:00 +01:00
themes/docsy docs: show archived/pre-release banner based on version 2022-03-24 22:01:23 +03:00
.DS_Store docs: add docs for installing azure ccm and csi 2023-07-21 12:30:26 -04:00
.gitignore docs: show archived/pre-release banner based on version 2022-03-24 22:01:23 +03:00
.hugo_build.lock docs: overhaul all the docs 2022-03-22 13:05:21 -04:00
config.toml chore: remove docs prior to 1.0 from website navigation 2024-05-14 09:19:28 -04:00
LICENSE docs: overhaul all the docs 2022-03-22 13:05:21 -04:00