-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Release 1.22] NodeIP autodetection in case of dualstack node #5958
Comments
Hi @rbrtbnfgl, When I trying to replicate this issue on 1.22, is not happening, please refer to image attached: Using the Commit 2b13d70 This issue is happening: Could you please take a look and let me know. Thanks |
The check for the mismatch between NodeIP and ClusterCIDR was implemented from 1.23 and not backported on 1.22 (I backported it on this PR), so the error that doesn't occur is expected. |
hi @rbrtbnfgl, The VM was created and configure for Both IPV4 and IPV6 This is the Config.yaml: write-kubeconfig-mode: 644 |
When you run
Before the PR you should get
After the merge you should get
|
Validated on 1.22 branch with commit 2b13d70 Cloud Static hostname: ip-192-168-23-0 Single node write-kubeconfig-mode: 644 k3s version used for replication: k3s version used for validation: The cluster comes up successfully and no error is observed $ kubectl get nodes,pods -A -o wide Additional context / logs: results of the command kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{" "}{.status.addresses[?(@.type == "InternalIP")].address}{"\n"}{end}' Validated deployment and ran though dual-stack testing |
Backport for #5918 and #5491
The text was updated successfully, but these errors were encountered: