You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/content/v1.1/learn-more/networking-resources.md
+29-21Lines changed: 29 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,14 @@ weight: 70
4
4
description: "Delve deeper into networking of Talos Linux."
5
5
---
6
6
7
-
Starting with version 0.11, a new implementation of the network configuration subsystem is powered by [COSI]({{< relref "controllers-resources" >}}).
8
-
The new implementation is still using the same machine configuration file format and external sources to configure a node's network, so there should be no difference
9
-
in the way Talos works in 0.11.
7
+
Talos network configuration subsystem is powered by [COSI]({{< relref "controllers-resources" >}}).
8
+
Talos translates network configuration from multiple sources: machine configuration, cloud metadata, network automatic configuration (e.g. DHCP) into COSI resources.
10
9
11
-
The most notable change in Talos 0.11 is that all changes to machine configuration `.machine.network` can be applied now in immediate mode (without a reboot) via
12
-
`talosctl edit mc --mode=no-reboot` or `talosctl apply-config --mode=no-reboot`.
10
+
Network configuration and network state can be inspected using `talosctl get` command.
11
+
12
+
Network machine configuration can be modified using `talosctl edit mc` command (also variants `talosctl patch mc`, `talosctl apply-config`) without a reboot.
13
+
As API access requires network connection, [`--mode=try`]({{< relref "../talos-guides/configuration/editing-machine-configuration" >}})
14
+
can be used to test the configuration with automatic rollback to avoid losing network access to the node.
13
15
14
16
## Resources
15
17
@@ -65,8 +67,8 @@ accordingly.
65
67
66
68
Additional details about the address can be accessed via the YAML output:
67
69
68
-
```sh
69
-
$ talosctl get address eth0/172.20.0.2/24 -o yaml
70
+
```yaml
71
+
# talosctl get address eth0/172.20.0.2/24 -o yaml
70
72
node: 172.20.0.2
71
73
metadata:
72
74
namespace: network
@@ -99,8 +101,8 @@ NODE NAMESPACE TYPE ID VERSION RESOLVERS
0 commit comments