Git Product home page Git Product logo

Comments (11)

k8s-ci-robot avatar k8s-ci-robot commented on June 26, 2024

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 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.

from website.

dipesh-rawat avatar dipesh-rawat commented on June 26, 2024

Page mentioned in issue (based on the issue title): https://kubernetes.io/docs/tutorials/hello-minikube/
/language en

from website.

stmcginnis avatar stmcginnis commented on June 26, 2024

This seems more like a question for minikube than an issue with the website.

I would guess it has to do with your setup running on Windows, but I'm not sure what to recommend for debugging that setup.

from website.

dipesh-rawat avatar dipesh-rawat commented on June 26, 2024

/retitle Need Assistance: Troubleshooting "OCI runtime create failed" error when deploying 'e2e-test-images/agnhost' via "Hello Minikube" tutorial on Windows

from website.

dipesh-rawat avatar dipesh-rawat commented on June 26, 2024

Looks like a support request in its current form.
/kind support

from website.

SergeiPavlitz avatar SergeiPavlitz commented on June 26, 2024

I could create deployment.
I used the following command:
kubectl create deployment hello-minikube --image=kicbase/echo-server:1.0 (from section 4).
Maybe the problem is related to image which is described in the tutorial?

from website.

adityasamant25 avatar adityasamant25 commented on June 26, 2024

The issue seems to occur when you're passing commands and arguments to the kubectl create deployment command on Windows.
kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec --http-port=8080

Could you retrieve the manifest of your deployment by running the following command?
kubectl get deployments.apps hello-node -o yaml

Please check what is present under this section (I have pasted the output I receive on MacOS)

    spec:
      containers:
      - command:
        - /agnhost
        - netexec
        - --http-port=8080
        image: registry.k8s.io/e2e-test-images/agnhost:2.39

Please check if it is adding the C:/Program Files/Git/ in the command for the container.

from website.

SergeiPavlitz avatar SergeiPavlitz commented on June 26, 2024

Yes, the line C:/Program Files/Git/agnhost exists in command section.

- command:
      - C:/Program Files/Git/agnhost
      - netexec
      - --http-port=8080
      image: registry.k8s.io/e2e-test-images/agnhost:2.39
      imagePullPolicy: IfNotPresent

in status section I have the following:

status:
  conditions:
  - lastTransitionTime: "2024-05-08T09:02:08Z"
    lastUpdateTime: "2024-05-08T09:02:08Z"
    message: Deployment does not have minimum availability.
    reason: MinimumReplicasUnavailable
    status: "False"
    type: Available
  - lastTransitionTime: "2024-05-08T09:02:08Z"
    lastUpdateTime: "2024-05-08T09:02:08Z"
    message: ReplicaSet "hello-node-fb6d66547" is progressing.
    reason: ReplicaSetUpdated
    status: "True"
    type: Progressing
  observedGeneration: 1
  replicas: 1
  unavailableReplicas: 1
  updatedReplicas: 1

The problem is related to permissions, right?

from website.

adityasamant25 avatar adityasamant25 commented on June 26, 2024

@SergeiPavlitz
I am thinking that this could be a bug in the kubectl client library for Windows.

The deployment is created using an imperative command through kubectl along with passing the commands to the container from the command line. The container command in the actual deployment manifest which is created has an unnecessary Windows specific path (C:/Program Files/Git) which obviously will not work within the container.

I would suggest to raise an issue to kubectl to get an opinion on it.
https://github.com/kubernetes/kubectl/issues

from website.

SergeiPavlitz avatar SergeiPavlitz commented on June 26, 2024

Thank you. A new issue is created.

from website.

SergeiPavlitz avatar SergeiPavlitz commented on June 26, 2024

The new issue it created

from website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.