Skip to content

feat(clustertool): use LinkAliasConfig - #577

Merged
alfi0812 merged 9 commits into
mainfrom
networkinterface
Oct 14, 2026
Merged

alfi0812 merged 9 commits into
mainfrom
networkinterface

Conversation

@Boemeltrein

@Boemeltrein Boemeltrein commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Description

This PR updates the default Talos network configuration to use LinkAliasConfig instead of relying on the legacy eth0 interface name.

Previously, the configuration depended on predictable interface naming being disabled through the net.ifnames=0 kernel argument. By introducing a logical mgmt interface alias, network configuration and Layer 2 VIP assignment no longer depend on a specific Linux interface name.

Changes:

  • Introduce LinkAliasConfig with a logical mgmt alias for the management interface.
  • Update LinkConfig to reference mgmt instead of eth0.
  • Move Layer2VIPConfig into a shared control-plane patch and configure it to use the mgmt alias.
  • Update the Talos Image Factory schematic to remove the net.ifnames=0 kernel argument.

⚒️ Fixes #
#573 -> 4 and 5

⚙️ Type of change

  • 🆕 New feature (e.g., bootstrap, cluster config, or automation)
  • 🐛 Bugfix (e.g., node setup, config generation)
  • 🔃 Chart Updates/Changes included with clustertool
  • 🔃 Refactor (internal changes, no functional impact)
  • ⚠️ Breaking change (changes Talos cluster behavior)

🧪 How Has This Been Tested?

Verified using talosctl get links:

ID     ALIAS   OPER STATE   LINK STATE
ens3   mgmt    up           true

Verified using talosctl get addresses:

ADDRESS             LINK
192.168.1.150/32    ens3
192.168.1.151/24    ens3

This confirms that the management alias resolves correctly and the Layer 2 VIP is assigned to the expected interface without requiring eth0.

📃 Notes:

The default LinkAliasConfig uses match: true, which is suitable for the current single-NIC configuration. Systems with multiple physical network interfaces may require a more specific interface selector.

✔️ Checklist:

  • ⚖️ Followed project style and contribution guidelines
  • 👀 Self-reviewed my changes
  • 🧪 Documented testing steps
  • 🏷️ PR title follows convention:
    • feat(clustertool):
    • fix(clustertool):
    • chore(clustertool):

Please don't blindly check all the boxes. Read them and only check those that apply.
Those checkboxes are there for the reviewer to see what is this all about and
the status of this PR with a quick glance.

@trueforge-bot

trueforge-bot Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🚀 HelmRelease CI Report

Overall Status

Stage Result
🔍 Detect HelmReleases success
🧪 Helm Tests success

🧪 HelmReleases Tested

embed/generic/kubernetes/apps/librespeed/app/helm-release.yaml


⏭️ HelmReleases Skipped

none


Result

✅ All HelmRelease tests passed

Removed Layer2VIPConfig configuration from network.yaml

Signed-off-by: Boemeltrein <[email protected]>
@Boemeltrein Boemeltrein mentioned this pull request Oct 14, 2026
Updated network configuration instructions and clarified variable substitution behavior.

Signed-off-by: Boemeltrein <[email protected]>
@Boemeltrein
Boemeltrein marked this pull request as ready for review October 14, 2026 19:48
@alfi0812
alfi0812 merged commit 17ad070 into main Oct 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant