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

Pod state not changing to running #26

Open
uriparush opened this issue Feb 29, 2024 · 2 comments
Open

Pod state not changing to running #26

uriparush opened this issue Feb 29, 2024 · 2 comments
Assignees

Comments

@uriparush
Copy link

uriparush commented Feb 29, 2024

Hi,
When running the command curl -v localhost/catalogue/3395a43e-2d88-40de-b95f-e00e1502085b | jq I keep getting "connect to 127.0.0.1 port 80 failed: Connection refused", I see that the pod user-745766f4f8-dph7k is stuck on Pending state.
Thanks

@pablochacin pablochacin self-assigned this Feb 29, 2024
@pablochacin pablochacin changed the title Pod state not changing yo running Pod state not changing to running Feb 29, 2024
@pablochacin
Copy link
Collaborator

pablochacin commented Mar 12, 2024

Hi @uriparush. Thanks for reporting this issue. Could you please describe the environment you are using? is it the killercoda interactive demo or a local deployment?

In any case, can you please run the following command and paste here the result?

kubectl -n sock-shop get pods --selector name=user -o json | jq .items[0].status

You should get something like this

{
  "conditions": [
    {
      "lastProbeTime": null,
      "lastTransitionTime": "2024-03-12T09:42:52Z",
      "message": "0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.",
      "reason": "Unschedulable",
      "status": "False",
      "type": "PodScheduled"
    }
  ],
  "phase": "Pending",
  "qosClass": "Burstable"
}

@pdkhanh
Copy link

pdkhanh commented Jul 3, 2024

same issue in killercoda

{ "conditions": [ { "lastProbeTime": null, "lastTransitionTime": "2024-07-03T14:44:46Z", "message": "0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.", "reason": "Unschedulable", "status": "False", "type": "PodScheduled" } ], "phase": "Pending", "qosClass": "Burstable" }

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

3 participants