Issues with known_hosts
and kubectl
when using k0sctl
to create then reset an IPv6 cluster
#461
Labels
bug
Something isn't working
I have a config like this:
When I run
k0sctl apply --config k0sctl.yaml
and thenk0sctl reset -f --config k0sctl.yaml
I get this error during the reset:The reset command works if I remove the corresponding line from
known_hosts
, but I have to do that before eachk0sctl
command.Relatedly, the output of
k0sctl kubeconfig > ~/.kube/config
appears to be incompatible withkubectl
.Here, the server line is
server: https://2600:1f13:2fc:8803:76b1:42d7:be29:16f8:6443
.If I run
kubectl get pods -A
I get timeout errors like:I believe the correct line would be
server: https://[2600:1f13:2fc:8803:76b1:42d7:be29:16f8]:6443
(note the brackets).The text was updated successfully, but these errors were encountered: