-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
kubectx and fzf on windows problem #307
Comments
Can you set environment variable DEBUG=1 and see if it prints anything useful? Also does fzf work by itself? |
@ahmetb I had the same issue on MacOS. The issue was resolved once I had more than one context in the list. |
@ahmetb I had the same issue on windows 11. |
here the same issue with kubectx and kubens. I'm running them on windows 11 using git bash. Does anyone solved it in some way? Thank you! |
Hi everyone, after a lot of tests i've got my solution.
Hope this can help. Cheers. |
I had this issue too, in my case my |
I ran into a simliar problem on windows machines and found this blog post: https://medium.com/dataseries/handy-kubernetes-context-namespace-switcher-for-powershell-a432ff8ae7cd This does not use kubectx / kubens per se, but offers a similar user experience utilizing two short powershell scripts. Hope this helps anyone out there! |
I only have this problem when using Git Bash terminal, powershell works fine. However I really wanted to use it with Git Bash. Does anyone have a fix? |
@vsmoliveira How did you get it to work with powershell? Which version fzf or which installer do you use? |
@upstream-dmahlberg Installed via chocolatey running The installed fzf version is 0.37.0 (2023012) |
This seems related to #382 |
I use latest kubectx (0.9.4) and fzf (0.27.2) with powershell 7 on windows 10 (19042.1110).
If i remove fzf from PATH, everything works. With fzf on PATH, kubectx failed with error:
[Command failed: C:\Portable Programs\kubectx.exe]
The text was updated successfully, but these errors were encountered: