-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Document workaround for Windows git bash shortcoming running agnhost inside Pod #49555
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Mention "(Use cmd or powershell in case if you are running this command in windows.") here in end of step 1 (https://kubernetes.io/docs/tutorials/hello-minikube/#create-a-deployment) |
This seems very specific. What's the issue with using bash inside Git bash on a Windows client? /remove-kind bug |
/language en /retitle Document workaround for Windows git bash shortcoming running agnhost inside Pod |
Issue still present on bash inside windows terminal. |
Its what @utkarsh-singh1 explained - if you look at the screenshot from #49555 (comment), the command that gets executed in the container when it is started from git bash is not |
We could list a prerequisite and mention that Git bash isn't compatible due to special behavior. Does that sound:
? |
I think it is just this one command that doesn't work with git bash, and for those of us (like myself) who prefer to use it, I think it would be preferable to just document that the single command requires using a different terminal. I've actually run into a similar situation for work in the context of docker, and you can see how we documented the limitation of git bash at https://wikiteq.com/post/setting-up-a-local-wiki
though in hindsight I guess we should have also said that cmd works, the point is that just a short notice before the command seemed to be enough to document this |
Is this property of git bash in windows, as
as C:/Program Files/Git/agnhost Which obviously it's not going to find, as it is not the image directory. |
But cmd runs the /agnhost command in
|
This is a Bug Report
Problem:
The instructions on https://kubernetes.io/docs/tutorials/hello-minikube/ in
Create a Deployment
for step 1 sayHowever, for users on windows using git bash, this command does not work. I found #46219 and the related kubernetes/kubectl#1599, and the suggestion there to use powershell or command prompt (cmd) both seemed to resolve the issue.
Proposed Solution: Document this known issue and the solution so that people don't need to go searching for those tasks
Page to Update:
https://kubernetes.io/docs/tutorials/hello-minikube/
The text was updated successfully, but these errors were encountered: