-
I have rented 4 VMs and am trying Talos in a live environment. I have applied the new machine config by editing the controlplane.yaml and worker.yaml files and applying them. Now I wanted to add the IPv6 addresses to the instances.
when I
it returns a yaml type response.
So...
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
So I guess you used the console dashboard to configure the network manually, that's what you see in You can leave that as it is, or convert it to machine config (up to you). Talos machine configuration is a YAML document which you can modify by editing it (it gets downloaded to your editor, and re-applied back with your edits), you can patch it. I would pick rather patch it, as it's the easiest way (also, if you're considering production, see these notes, or you can use Omni which automates config management for you). So if you look at the config reference, you can come up with a patch like: machine:
network:
interfaces:
- interface: enp7s0
addresses:
- 2010:b7b::1/64 # your IPv6 address goes here And patch the machine config with (the easiest way): For IPv6 you would probably also need to set up routes, but you can simply adjust the patch to include routes as well. |
Beta Was this translation helpful? Give feedback.
So I guess you used the console dashboard to configure the network manually, that's what you see in
talosctl get meta
.You can leave that as it is, or convert it to machine config (up to you).
Talos machine configuration is a YAML document which you can modify by editing it (it gets downloaded to your editor, and re-applied back with your edits), you can patch it.
I would pick rather patch it, as it's the easiest way (also, if you're considering production, see these notes, or you can use Omni which automates config management for you).
So if you look at the config reference, you can come up with a patch like: