-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
MacOS not loading from ~/.kube/config #417
Comments
Hi, i'm having difficulty reproducing this, can you please share more info Mac Architecture (M1 arm64 or Intel) |
@deepu105 M1 Pro Similar on Intel i7, 2019 Mac Pro.
|
Thats strange. I tried on an M1 mac and it works fine. Was kubectl also installed using brew? |
Yeah, tried brew and manual shell install too, same result. Any other info I can give to help debug? On Windows:
|
Given you are seeing issues in all platforms I'm wondering if there is something to do with the way your environments are set up. I'm unfortunately unable to debug since I'm unable to reproduce this. Are you able to clone the repo and debug this in VsCode? |
I'm going to build a new feature allowing users to debug the app easily and provide the logs. #424 Hopefully that will help to solve this issue |
Thanks, I'll happily try that out. I can try and run with debug too, just need to find the time for it :) |
I pushed a version (0.6) with debug mode, can you tray and provide me the log |
Here is what I have seen with
Here is a snippet of my
Is there something I should run with kubectl to set the context/"in-cluster"? |
I think it could be because of not having a default context. What happens if you set a context using kubectl and then try Kdash? Also can you provide your full kube/config file after removing anything sensitive and private so I can try to reproduce? Coz i think it could be a problem parsing your config file |
BUT good news! With: As a new user of kdash and a previous user of k9s, this did confuse me. I thought, given that I can view and select a Context in kdash, it would be OK to just choose in the app. Possible issue: Possible improvement: Possible issue: Possible improvement: I'm happy to split those into new issues, but they might be user error. Wanted to check here first. Really looking forward to a lighter & faster tool to interact with the clusters :) Thanks @deepu105! |
I will look into replicating the k9s behaviour for contexts. It does make sense. Could you open seperate issues for the other stuff please. |
I have opened separate issues :) Thank you so much! |
Describe the bug
kdash
presents the application fine, but shows Error:Have to make my terminal tiny to see the whole error. After a few seconds, it changes to:
KUBE_CONFIG
,KUBECONFIG
,kubeconfig
,KUBE_CONFIG_PATH
as~/.kube/config
in ~/.zshrc, and ransource ~/.zshrc
On the other hand,
k9s
loads from~/.kube/config
just fine.I can't see documentation on what setup is required for MacOS.
I tried the Docker command, but get the same error. The only difference is that docker and docker-compose are now "Not found" in the CLI Info tab, for the docker container.
Expected behavior
MacOS should load from ~/.kube/config by default, like k9s
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
kubectl version --client
1.28.2, Kustomize v5.0.4-0.202....Note: kubectl client, kubectl server are
Not found
from brew-installed kdashThe text was updated successfully, but these errors were encountered: