-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Multinode Minikube + Dashboard => Error (related to dashboard-metrics-scraper?) #8733
Comments
@priyawadhwa Yes I would love to help, and I have already thumbed up #7538 yesterday :) However, I am really new to k8s and have no idea what to do next... I have tried to search those error messages, but cannot find any solution :( Thus I would appreciate it if you could provide some hints about what I should do, thanks! (Or maybe hint me about what more logs can I get?) What I have found:
|
Another idea: Can I get dashboard without scraper? Since Minikube is not production env, thus people often do not care about metrics! I find an argument: --metrics-provider=none Latest update: I did the following step but failed.
then the command output
and the curl
If I use the other way, issuing
p.s. the outputs of descibing pods -
P.S. I find an interesting thing - in single node setup, my k8s dashboard actually does not have that "cpu usage" / "memory usage" row (in official photo: https://github.com/kubernetes/dashboard/blob/master/docs/images/dashboard-ui.png), which maybe a signal that it starts without metrics |
Sorry I have really no idea what to do next :( |
Hey @fzyzcjy sorry for the delayed response -- I'm not sure what to do next either as I'm unfamiliar with multinode and with the dashboard. I'd suggest asking on the minikube slack channel, where there may be someone who can help? |
Hey @fzyzcjy are you still seeing this with the latest version of minikube? |
@priyawadhwa Sorry I do not use multinode and get back to single node after that bug happens |
My minikube version is : v1.15.1 I started minikube using this command
|
I wonder if this is related to CNI. |
@priyawadhwa I found that other nodes won't start if CNI nodes are not started. They will rely unresolvable uris like Maybe minikube should give some info about the status of CNI nodes, or just wait for CNI nodes running. And it definitely should cache those CNI images automatically. I have a bad network, and constantly ran into cases like failing to pull images. So CNI fails frequently. This is the shell script that I used to get the list of images I needed to cache for minikube:
|
I believe this has likely been addressed in recent releases of minikube (v1.18.x), where multi-node is no longer an experimental feature. Do you mind trying to confirm? |
I don't know what the original error is, but for my problem, it may still exist. Check this comment and this comment. We need to cache and respect registry for initContainers, too. Or I would need to wait for a long time pulling CNI images. If you want, I can fire another issue for this, @tstromberg . |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
I tried this with minikube v1.22.0 and the dashboard command worked with multi-node. Could someone who reported this problem confirm that this is fixed now? @fzyzcjy @xhebox @chatterjeesunit |
@spowelljr Yes i can confirm that it is now working with minikube v 1.22.0 |
Thanks for checking @chatterjeesunit, I'm going to close this issue, if this isn't resolved for anyone else, comment and I can reopen the issue. |
I've just installed minicube 1.22.0. Dashboard works on single-node cluster but doesn't work on multi-node cluster:
and it hangs here.
|
I probably should add I'm using minicube with a docker driver and some extra info (note dashboard containers runs on different nodes):
The node's version listed is v1.21.2 - maybe it should be v1.22.0 (matching minikube's version) to fix this? |
I've started cluster using latest k8s image and this time both dashboard images happens to run on same node, but, still, it doesn't work:
|
Have exactly the same problem as @powerman above:
already tried
running on mac m1 --edit-- I've reinstalled everything minikube/docker-related. |
Hi @powerman, thanks for following up on the issue, I tried this using the newest version of minikube (v1.24.0) and it still seems to be working fine. If you're still experiencing this please create a new issue and we can take a look at it, thanks! |
Thanks very much for the minikube & kubernetes!
Steps to reproduce the issue:
P.S. I know multi-node is in experimental, and I am willing to help if I can :)
Full output of failed command: minikube dashboard
Full output of
minikube start
command used, if not already included:minikube start --nodes=4 --cpus=2 --memory=3000MB --driver=docker
Optional: Full output of
minikube logs
command:Extra information that IMHO maybe useful
The text was updated successfully, but these errors were encountered: