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
dapr status -k does not work on Windows with KUBECONFIG set
#779
Comments
|
My KUBECONFIG environment variables points to ==> C:\Users\robvet.kube\config |
|
You seem to have multiple contexts though, so the Use |
|
Unfortunately, that's not helping. Through hacking at it, discovered that if I open a command shell in admin mode (either PowerShell or GitBash), the ‘dapr status -k’ command works correctly. But, if open the same command shell without admin mode (either PowerShell or GitBash), the ‘dapr status -k’ command errors with the ‘multiple contexts’ error. Have not seen the 'Multiple Contexts' error on any direct kubectl command, only on Dapr commands for Kubernetes: Dapr init -k, Dapr status -k |
|
Moving to the correct repository. |
|
@mukundansundar can you please look at this? |
|
@yaron2 I will take a look at it today ... |
|
Can we possibly get some tracition on this issue? It's beeen a month. |
Confirmed. Same error here, and hacked by using sudo (Admin permission). |
|
Looks like root cause is following code: Lines 53 to 62 in 909b989
|
dapr status -k does not work on Windows
dapr status -k does not work on Windowsdapr status -k does not work on Windows with KUBECONFIG set
|
Can i work on this one? I have looked at the kubernetes docs here - https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/ and it says - |
- related to #779 Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
This is now closed via #834, but we'd be very happy to have you work on other things! :) |
- related to dapr#779 Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Co-authored-by: Yaron Schneider <schneider.yaron@live.com> Signed-off-by: imneov <grantliu@yunify.com>
Hello Dapr Community...
Trying to initialize a Kubernetes cluster for Dapr on Windows 10:
I get the follow error message:
Deploying the Dapr control plane to your cluster...
can't connect to a Kubernetes cluster: multiple
kubeconfigs in KUBECONFIG environment v
ariable -
C:\Users.kube\config
Behavior is consistent across Git Bash, Ubuntu with WSL2, and PowerShell
Any suggestions for troubleshooting/resolution would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: