kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.24k stars 4.87k forks source link

Starting cluster before adding another node separately, results in errors due to missing CNI #19665

Open thechubbypanda opened 1 week ago

thechubbypanda commented 1 week ago

What Happened?

Reproduction steps:

There is also an error when adding the second node:

Cluster was created without any CNI, adding a node to it might cause broken networking.

However the minikube start command logs:

Configuring bridge CNI (Container Networking Interface) ...

which implies that a CNI has been setup (albeit a bridge one).

Alternatively using minikube start --cni kindnet, we still get told that:

Configuring CNI (Container Networking Interface) ..

however when adding another node we still get:

Cluster was created without any CNI, adding a node to it might cause broken networking.

despite the fact that the node now works perfectly and the dashboard comes up.

Solution Suggestions

Attach the log file

log.txt

Operating System

ArchLinux (reproducible in fresh installation with default networking in VM)

Driver

Docker