Kubernetes Bootstrap - error executing bootstrap: rpc error: code = Unavailable desc = name resolver error: produced zero addresses #4946
-
I am trying to use vip ( 10.170.0.20 - k8s-ctrlplane.kub.local ) and alocate IPs trough dhcp for each node based on mac addresses (no dns name for controlplane nodes as per docs). https://k8s-ctrlplane.kub.local:6443 is also the cluster endpoint, 10.170.0.11,12,13 are the controlplane nodes.
talosconfig:
controlplane.yml for all 3 nodes:
I think it's expecting to resolve the ip to dns but at this point there is no vip available (it should be up after kubernetes etcd bootstrap) so, on purpose, there should be no dns names asociated with the cluster yet. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I think, this is yaml format issue. context: k8s-talos-1
contexts:
k8s-talos-1:
endpoints:
- 10.170.0.11
- 10.170.0.12
- 10.170.0.13
... |
Beta Was this translation helpful? Give feedback.
-
Edited but no change,
so my conclusion is that applying config should be done individually on each node, although from bellow I think .12 got something? This is also interesting
Changing tactics
Should I scarap it and restart, would you like to investigate further? |
Beta Was this translation helpful? Give feedback.
I think, this is yaml format issue.
Try this