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

error when deploying 'e2e-test-images/agnhost' via "Hello Minikube" tutorial on Windows #1599

Open
SergeiPavlitz opened this issue May 14, 2024 · 7 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@SergeiPavlitz
Copy link

What happened:
I've got an error during deploying 'e2e-test-images/agnhost' via "Hello Minikube" tutorial on Windows.
The report is created regarding this comment.
To bypass the problem I used the following command:
kubectl create deployment hello-minikube --image=kicbase/echo-server:1.0 (from section 4).

What you expected to happen:
The deployment without errors.

How to reproduce it (as minimally and precisely as possible):
to reproduce look here.

Anything else we need to know?:

Environment:
My OS: Windows 10 home. I use docker driver, because Hyper-V doesn't exist in windows 10 home.

@SergeiPavlitz SergeiPavlitz added the kind/bug Categorizes issue or PR as related to a bug. label May 14, 2024
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label May 14, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

@gnufred
Copy link

gnufred commented May 15, 2024

If I understand your issue properly, you ran the following command:

kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec --http-port=8080

And you got the following error?

Warning Failed pod/hello-node-7c7b95ff98-phftk Error: failed to start container "agnhost": Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "C:/Program Files/Git/agnhost": stat C:/Program Files/Git/agnhost: no such file or directory: unknown

The command works as expected for me with my current setup.

Please provide more information on this issue.

First, can you tell me which version of kubectl you have installed while running this command?

Could you run kubectl -v=10 create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec --http-port=8080 and provide the result here? Please make sure to remove your personnal folders and IPs from the logs.

@gnufred
Copy link

gnufred commented May 15, 2024

/triage accepted

@k8s-ci-robot
Copy link
Contributor

@gnufred: The label triage/accepted cannot be applied. Only GitHub organization members can add the label.

In response to this:

/triage accepted

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.

@gnufred
Copy link

gnufred commented May 15, 2024

/assign @gnufred

@brianpursley
Copy link
Member

I don't think Windows cmd.exe knows how to handle the -- separator.

Can you try it using Powershell?

Or wsl?

@brianpursley
Copy link
Member

/triage needs-information

@k8s-ci-robot k8s-ci-robot added the triage/needs-information Indicates an issue needs more information in order to work on it. label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

4 participants