-
Notifications
You must be signed in to change notification settings - Fork 60
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
Machine stuck in WaitingForNodeRef
state when the IPv4 public network is disabled
#632
Comments
Hi @Heyoxe thank you very much for the issue report! In general creating a cluster without any public IP is right now not supported. As CACPK is doing some checks on the control-plane node. |
Hello, (For reference, what I was trying to ultimately do is create a cluster where the only public IP is the LB's but I don't think it is possible to do that currently) |
I think I'm seeing a variation of this when trying to spin up a cluster with the worker machine deployment only having private networking.
EDIT: Some further digging shows that my issue is not the same. My workers are failing to join due to a missing kubelet config.
EDIT2: Enabling public addresses made the workers join the cluster correctly. Is there a way to fix this or is using private networking not supported? EDIT3: Not sure if it was setting |
Hello, I believe it should only use the LB IPv4 when I think the relevant code is located here
Thank you. |
@batistein Is there a way we can get this fixed? Also, I noticed that the make script for |
/kind bug
What steps did you take and what happened:
publicNetwork.enableIPv4
is set tofalse
in theHCloudMachineTemplate
of the control planehcloudNetwork.enabled
is set totrue
in theHetznerCluster
When creating a cluster the control planes are stuck in the
WaitingForNodeRef
on theNodeHealthy
step. Switching back the value ofenableIPv4
totrue
works as expected.What did you expect to happen:
The machine should not get stuck in this state.
Anything else you would like to add:
hcloud
flavor and applying the steps above.kubectl describe hcloudmachine
, one of the address is:TalosControlPlane
attempts to communicate to the private ip of the machine instead of the public ipv6; I assume that the issue here is similarEnvironment:
v1.0.0-beta.14
1.23.4
(kind)debian-11
The text was updated successfully, but these errors were encountered: