-
Notifications
You must be signed in to change notification settings - Fork 925
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
kubectl get --raw /apis/* works incorrect on windows and git minigw xterm like terminal #594
Comments
I think it is MSYS subsystem issue (e.g. see docker-archive/toolbox#673). As a workaround run with: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
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/test-infra repository. |
I'm using git bash and I've wasted hours of reinstalling and reconfiguring metric-server because everytime i try to do "kubectl get /apis/*" it's always returned "Error from server (NotFound): the server could not find the requested resource". Glad to know the error is from the Windows system. |
Is this a BUG REPORT:
Kubernetes version (use
kubectl version
):Environment:
uname -a
):What happened:
does not work, neither works any other apis .
What you expected to happen:
If it works properly
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
URI for sending request by kubectl is wrong apparently:
I0303 02:58:14.153842 18760 round_trippers.go:419] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: kubectl.exe/v1.13.4 (windows/amd64) kubernetes/c27b913" 'https://178.79.148.185:6443/Program%20Files/Git/apis/apps/v1'
Tried with version of kubectl got by link: https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-using-curl
Probably it's related to git's minigw terminal may be it's not, however URI request sending to server is obviously not good. kubectl running in cmd and powershell works fine.
The text was updated successfully, but these errors were encountered: