Skip to content

talosctl cluster create qemu not respecting disk options #12781

@tracyde

Description

@tracyde

Bug Report

When creating a new cluster using talosctl cluster create qemu --presets iso-secureboot --disks "virtio:50GiB" disks are not created as expected. Expect controlplane to have a single 10G disk and workers to have a single 50G disk.

What actually happens is controlplane gets single 10G disk but workers each get 3 disks 10G, 6G, and 50G.

Description

I am trying to create a local development environment for kubernetes for software testing. When trying to add multiple pieces of software I am running into issues where I run out of disk space when installing helm charts trying to download images.

I would like to increase the size of the installation disk. I have also tried patching the machineconfig and changing the install disk to "/dev/vdc" but that causes the installation to fail. I have also tried creating a patch for the machineconfig that adds provisioning to the EPHEMERAL VolumeConfig, but that did not work either.

apiVersion: v1alpha1
kind: VolumeConfig
name: EPHEMERAL # Name of the volume.
provisioning:
  diskSelector:
    match: disk.dev_path == '/dev/vdc' && !system_disk

Logs

Environment

  • Talos version: 1.12.3
  • Kubernetes version: any
  • Platform: Linux x86_64

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions