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

Minikube start with multi node failed with default name #9810

Closed
azhao155 opened this issue Nov 30, 2020 · 6 comments
Closed

Minikube start with multi node failed with default name #9810

azhao155 opened this issue Nov 30, 2020 · 6 comments
Labels
co/docker-driver Issues related to kubernetes in container co/multinode Issues related to multinode clusters help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.

Comments

@azhao155
Copy link
Contributor

minikube start failed with multi nodes and default name, but it won't fail if i specify -p

./out/minikube start -n 2 --alsologtostderr

Please find the full log in the attachment.
output.txt

./out/minikube start -n 2 -p p1 works fine for me.

@azhao155
Copy link
Contributor Author

@medyagh
@sharifelgamal

@sharifelgamal
Copy link
Collaborator

Yeah I've seen this happen before, but I'm not sure what causes it. It's some sort of config corruption, which is usually fixed by minikube delete --all --purge. We should keep this open to investigate the root causes of this issue though.

@sharifelgamal sharifelgamal added co/docker-driver Issues related to kubernetes in container co/multinode Issues related to multinode clusters kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Nov 30, 2020
@priyawadhwa
Copy link

Still an issue in minikube 1.17

@priyawadhwa priyawadhwa added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Feb 18, 2021
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 19, 2021
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jun 18, 2021
@medyagh
Copy link
Member

medyagh commented Jun 30, 2021

this seems to have been fixed

version_pkg ✓
$ ./out/minikube start -n 2
😄  minikube v1.21.0 on Darwin 11.4
✨  Automatically selected the docker driver. Other choices: hyperkit, parallels, virtualbox, ssh
👍  Starting control plane node minikube in cluster minikube
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🐳  Preparing Kubernetes v1.20.7 on Docker 20.10.7 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
🔗  Configuring CNI (Container Networking Interface) ...
🔎  Verifying Kubernetes components...
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟  Enabled addons: storage-provisioner, default-storageclass

👍  Starting node minikube-m02 in cluster minikube
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🌐  Found network options:
    ▪ NO_PROXY=192.168.49.2
🐳  Preparing Kubernetes v1.20.7 on Docker 20.10.7 ...
    ▪ env NO_PROXY=192.168.49.2
🔎  Verifying Kubernetes components...
🏄  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
14:35:30 medya/workspace/minikube
version_pkg ✓
$ kc get nodes -A
NAME           STATUS   ROLES                  AGE    VERSION
minikube       Ready    control-plane,master   114s   v1.20.7
minikube-m02   Ready    <none>                 46s    v1.20.7
14:36:13 medya/workspace/minikube
version_pkg ✓
$ mk profile list
|----------|-----------|---------|--------------|------|---------|---------|-------|
| Profile  | VM Driver | Runtime |      IP      | Port | Version | Status  | Nodes |
|----------|-----------|---------|--------------|------|---------|---------|-------|
| minikube | docker    | docker  | 192.168.49.2 | 8443 | v1.20.7 | Running |     2 |
|----------|-----------|---------|--------------|------|---------|---------|-------|

@medyagh medyagh closed this as completed Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/docker-driver Issues related to kubernetes in container co/multinode Issues related to multinode clusters help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Projects
None yet
Development

No branches or pull requests

6 participants