Kodekloud Challenge #1 issue with creating the pod - issue with command

Hi @boy
As the PV is already claimed you have two options :

Regard

Hello! It would be great to “understand” the problem.

I think the real problem is that the /site directory needs to be cleaned, so the solution will be:
1- Delete the full directory on the k8s node with rm -rf /site
2- Delete the pod, pvc and pv
3- Create pv, pvc and pod

1 Like

This is so damn frustrating.

I have the same issue, with the above yaml

Hi @hpeters,

How did you configure your PVC?

Same issue here as described by OP.

First see if the pv and pvc are properly up and bounded.
I observed even though the command: [ "jekyll", "new", "/site" ] is fine, the check won’t pass until the command is executed.

I had the same issue as above. I waited a good 20 minutes and the pod never finished. As recommended, I reset the lab and tried the git source and it worked! But my yaml’s were the same as the git ones. I am wondering if the issue is caused if you create a pod with something incorrect, then delete the pod, fix the problem and create the pod again. That is the only thing different in me doing it myself and when I did it with the git source after resetting the lab. Just a suggestion for kk to look into to see why so many people are getting this issue, even after waiting 2 minutes for the pod to start up.

@jdomm95 ,

There is NO issue with the lab.

Occasionally this pod does fail to come up. Nobody has determined exactly why yet. Normally reset the lab and try again (copy the manifest you created to a notepad first to save time)

@Alistair_KodeKloud ,

The Pod does take sometime to come up, but NEVER failed to come up in my test run of 30 times of doing the challenge.

All test run have Pod in Ready state within 30s of kubectl -n development wait --for=condition=Ready pod/jekyll, except Test run #29.

I will attribute the issues reported in this thread/post above of the case of,

  1. Incorrect PVC
  2. Incorrect namespace
  3. and any other human errors (which no body acknowledge they had because they are always right)

Rather then attributing to Ghost in the Shell.

A curious case of Occam's Razor?






























I see you’re running my automation script. TBF I haven’t seen it fail with that either.

No, I am not using your automation script. I ran my own script.

At least that verifies the process from two angles.

Hi!
This problem still exists:

The issue can be reproduced by resetting the lab and running the following commands:

I suspect, but I cannot prove that there may be an intermittent network issue between the cluster and the internet, so ruby fails to download gems.
Reset the lab over and over and eventually it should work

you are totally right !