Skip to content
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

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

Open
thechubbypanda opened this issue Sep 18, 2024 · 0 comments

Comments

@thechubbypanda
Copy link

thechubbypanda commented Sep 18, 2024

What Happened?

Reproduction steps:

  • minikube start
  • minikube node add
  • minikube addons enable dashboard
  • watch kubectl get -n kubernetes-dashboard -o wide pod
  • 2 pods stay in CrashLoopBackOff on minikube-m02 (they should start on the added node)

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

  • Check for and add a CNI when adding a node?
  • Fix the inconsistent error message

Attach the log file

log.txt

Operating System

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

Driver

Docker

@thechubbypanda thechubbypanda changed the title Starting a minikube cluster and then adding a node results in errors due to missing CNI Starting cluster before adding a node separately results in errors due to missing CNI Sep 18, 2024
@thechubbypanda thechubbypanda changed the title Starting cluster before adding a node separately results in errors due to missing CNI Starting cluster before adding another node separately results in errors due to missing CNI Sep 18, 2024
@thechubbypanda thechubbypanda changed the title Starting cluster before adding another node separately results in errors due to missing CNI Starting cluster before adding another node separately, results in errors due to missing CNI Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant