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

Windows support #29

Closed
dkirrane opened this issue Feb 22, 2018 · 10 comments
Closed

Windows support #29

dkirrane opened this issue Feb 22, 2018 · 10 comments

Comments

@dkirrane
Copy link

Would love to see Windows executables similar to kubectl and helm.
kubectx.exe and kubens.exe

@ahmetb
Copy link
Owner

ahmetb commented Feb 22, 2018

@dkirrane it's written in bash, I have no immediate plans to rewrite. It's probably possible to write these in powershell, but I’m not a big fan of maintaining two implementations (also not a big fan of converting this to a Go or a Python program which requires installing extra stuff).

If you consider using "Git Bash" (Cygwin) shell or even better, the so-called Ubuntu on Windows which brings the Windows Subsystem for Linux (WSL) and therefore native bash support, kubectx/kubens should work.

@thomasliddledba
Copy link

I don't know if this is useful but I created a Windows version of kubectx. I love this tool and I do alot of k8s administrator using my Powershell and Commandline prompts. Kubectx is an awesome tool!
https://github.com/thomasliddledba/kubectx

@ahmetb
Copy link
Owner

ahmetb commented Apr 6, 2018

@thomasliddledba Please do not use the same name. You are creating confusion.

@thomasliddledba
Copy link

That's absolutely fair Sorry about that. Would you mind if something like kubectxwin? I want to make sure I'm not stepping on your toes at all.

@ahmetb
Copy link
Owner

ahmetb commented Apr 6, 2018

kubectxwin or -windows sounds fine.

@thomasliddledba
Copy link

thomasliddledba commented Apr 6, 2018

Awesome - I will do that. Thank you so much. This is a great idea/tool.
New repo = https://github.com/thomasliddledba/kubectxwin

@dkirrane
Copy link
Author

dkirrane commented Sep 21, 2018

@ahmetb tried script in GitBash but hitting this:

$ kubectx
character set not supported
error: you did not choose any of the options

@ahmetb
Copy link
Owner

ahmetb commented Sep 21, 2018

@dkirrane can you run with DEBUG=1 kubectx ?
also please open a separate issue.

@dkirrane
Copy link
Author

Done #88

@passionatedevops
Copy link

FYI: Tried kubectxwin in windows server 2016, it worked . Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants