Configuring Additional Ephemeral Storage for Talos Linux Worker Nodes #9843
-
Hello, Background: Current Setup: Issue: Attempted Configurations:
version: v1alpha1
debug: false
persist: true
machine:
type: worker
kubelet:
image: ghcr.io/siderolabs/kubelet:v1.31.2
defaultRuntimeSeccompProfileEnabled: true
disableManifestsDirectory: true
# disks:
# - device: /dev/vdb
# partitions:
# - mountpoint: /var/ephemeral
install:
diskSelector:
size: '>= 30GB'
image: ghcr.io/siderolabs/installer:v1.8.3
wipe: true Result: diskSelector doesn't seem to work for the install disk.
version: v1alpha1
debug: false
persist: true
machine:
type: worker
kubelet:
image: ghcr.io/siderolabs/kubelet:v1.31.2
defaultRuntimeSeccompProfileEnabled: true
disableManifestsDirectory: true
disks:
- device: /dev/vdb
partitions:
- mountpoint: /var/ephemeral
install:
diskSelector:
size: '>= 30GB'
image: ghcr.io/siderolabs/installer:v1.8.3
wipe: true Result: A partition is created but not assigned to anything.
version: v1alpha1
debug: false
persist: true
machine:
type: worker
kubelet:
image: ghcr.io/siderolabs/kubelet:v1.31.2
defaultRuntimeSeccompProfileEnabled: true
disableManifestsDirectory: true
# disks:
# - device: /dev/vdb
# partitions:
# - mountpoint: /var/ephemeral
install:
disk: /dev/vdb
diskSelector:
size: '>= 30GB'
image: ghcr.io/siderolabs/installer:v1.8.3
wipe: true Result: The install disk doesn't change.
Questions:
Additional Information:
Any guidance or solutions would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It's not clear whether you wiped the VM between the attempts, but
Not sure what you mean, it is mounted to the path you specified.
See https://www.talos.dev/v1.8/talos-guides/configuration/disk-management/#machine-configuration You can simply add the document by splitting it with Keep in mind, it should be present in the initial configuration, otherwise Talos will create default |
Beta Was this translation helpful? Give feedback.
-
Hello @smira, Thanks four your reply. Yes I did recreate completely new instances and volumes for each of the scenarios. I added the document at the end of the config and it works now! I've tried this a while ago but then it did not work (probably because of some other configuration issue) and I've not retried this. But thank you so much for your assistance. |
Beta Was this translation helpful? Give feedback.
It's not clear whether you wiped the VM between the attempts, but
machine.install
section is only used at the initial install time. Moreover, on OpenStack you're using a disk image, so there's no install process at all, and Talos system disk is the one OpenStack puts the disk image to.Not sure what you mean, it is mounted to the path you specified.
See https://www.talos.dev/v1.8/talos-guides/configuration/disk-management/#machine-configuration
You can simply add the document by splitting it with
---
(YAML…