siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.81k stars 544 forks source link

Ability to pull configuration from metadata service / URL on VMWare platform (OVA/OVF) #9294

Open Genfilf opened 1 month ago

Genfilf commented 1 month ago

Feature request

It would be great if we could obtain the machine configuration from the URL on VMware platform, not just the metal one.

Description

In the documentation for version 1.7, we can see that there is an option to include a URL in the talos.config kernel parameter. Talos then fetches the machine configuration from that URL.

Unfortunately, this functionality only works on the metal platform. For example, if I want to deploy Talos nodes on VMWare, I have to encode my entire machine configuration in base64 and then include it in the talos.config VApp property. This leads to very large Terraform state files.

I think it would be much better if we could just specify the URL in the talos.config VApp property and let Talos automatically fetch the configuration at boot time.

smira commented 1 month ago

You can use the apply-config flow with VMWare by supplying no machine config at all, this should work better with Terraform.