Skip to content

Comments

fix: Adding ipv6 check on the node init function#10

Open
MitchLewis930 wants to merge 1 commit intopr_050_beforefrom
pr_050_after
Open

fix: Adding ipv6 check on the node init function#10
MitchLewis930 wants to merge 1 commit intopr_050_beforefrom
pr_050_after

Conversation

@MitchLewis930
Copy link

@MitchLewis930 MitchLewis930 commented Jan 30, 2026

PR_050


Note

Medium Risk
Changes daemon startup behavior by introducing a new hard failure path when IPv6 is enabled, which may cause previously-starting misconfigured nodes to now exit early.

Overview
Adds a startup validation in k8s.WaitForNodeInformation to fail fast when IPv6 is enabled but the Kubernetes-reported node has no IPv6 address (GetNodeIP(true) returns nil).

On this condition, the daemon now logs an explicit error and returns a descriptive fmt.Errorf, preventing later initialization with incomplete IPv6 node addressing.

Written by Cursor Bugbot for commit 2fc52eb. This will update automatically on new commits. Configure here.

Cilium pods on a single stack cluster were failing when ipv6 was enabled.
The change would make sure that if the underlying node does not have ipv6
configuration enabled it would fail even if KPR is disabled.Earlier, if KPR
is enabled, the node would not see a fatal error.

Signed-off-by: Vipul Singh <singhvipul@microsoft.com>
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