Skip to content

Set k3s node IP from access network IP #556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Set k3s node IP from access network IP #556

merged 2 commits into from
Jan 30, 2025

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Jan 30, 2025

The node IP for k3s server and agent nodes is set to be the hosts's IP on the access network (first cluster network). This ensures nodes can communicate with each other properly.

@sjpb sjpb requested a review from a team as a code owner January 30, 2025 11:25
@sjpb sjpb marked this pull request as draft January 30, 2025 11:25
@sjpb
Copy link
Collaborator Author

sjpb commented Jan 30, 2025

@sjpb sjpb marked this pull request as ready for review January 30, 2025 15:47
Copy link
Collaborator

@m-bull m-bull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sjpb
Copy link
Collaborator Author

sjpb commented Jan 30, 2025

Tested on a dual-homed cluster. Nodes get correct IP.

@sjpb sjpb merged commit 1bbbf31 into main Jan 30, 2025
7 checks passed
@sjpb sjpb deleted the feat/k3s-node-ip-v2 branch January 30, 2025 16:19
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.

2 participants