Env is not ready!

Hi,

I encountered some issues while taking the CKAD mock exam, specifically in Lab 1:

  • Question 15: The specified path /root/ckad04-multi-cm does not exist in cluster1.
  • Question 16: There is no namespace named ckad01-db-sec in cluster3.

Here’s the output from my terminal:

student-node ~ ➜ kubectl config get-contexts 
CURRENT   NAME        CLUSTER     AUTHINFO   NAMESPACE
*         cluster3   cluster3   cluster3   
          cluster1   cluster1   cluster1   
          cluster2   cluster2   cluster2   

student-node ~ ➜ kubectl get ns
NAME                STATUS   AGE
ckad-pod-design     Active   15m
default             Active   24m
dev-001            Active   14m
kube-node-lease     Active   24m
kube-public         Active   24m
kube-system         Active   24m

I am concerned that I may encounter more questions like this as I continue with the lab. Could you please check the lab exams to ensure that all the environments are properly set up?

Thank you!


Update:
same issue with Q19 , there is no newly create pod named “simple-webapp-aom” in any ns:

student-node ~ ➜ kubectl config get-contexts
CURRENT NAME CLUSTER AUTHINFO NAMESPACE

  •     cluster1   cluster1   cluster1   
        cluster2   cluster2   cluster2   
        cluster3   cluster3   cluster3   
    

student-node ~ ➜ kubectl get pod -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system local-path-provisioner-84db5d44d9-szws7 1/1 Running 0 47m
kube-system coredns-6799fbcd5-tmpmc 1/1 Running 0 47m
kube-system helm-install-traefik-crd-srrr2 0/1 Completed 0 47m
kube-system metrics-server-67c658944b-tp9rh 1/1 Running 0 47m
kube-system svclb-traefik-3809b66b-bxsmj 2/2 Running 0 46m
kube-system helm-install-traefik-xphfx 0/1 Completed 2 47m
kube-system svclb-traefik-3809b66b-txrrw 2/2 Running 0 46m
kube-system traefik-f4564c4f4-csnts 1/1 Running 0 46m
kube-system svclb-traefik-3809b66b-655kw 2/2 Running 0 46m
ckad17-nqoss-aecs ckad17-qos-aecs-1 1/1 Running 0 20m
ckad17-nqoss-aecs ckad17-qos-aecs-2

Hi @powerofviva

I replicated both the Q15 and 16 from CKAD Mock Exam 1 and both the tasks as working as expected.

/root/ckad04-multi-cm is available on the cluster1

Similarly, the ckad01-db-sec namespace available on cluster3

You need to work on cluster1 for Q15 and cluster3 for Q16.

Please note, that there’s a highlighted tab on each question that provides the command to change to the relevant context.
context

Hope this helps!

Then should be something wrong with diffrent sessions!
That is why I pasted the cluster config in my question to show that I am already in right cluster, but can not see what you can see!
The same with all .yaml files.
I don have any .yaml file for the whole exam 1 :-/
Something is wrong here.

Can you please try the labs after some time, there could be some intermittent issues.

Please share screenshots of the lab environment where you are facing issues, that helps us understand the question and the context better.

For example: In your question on Q19, you mentioned there’s no Pod named simple-webapp-aom But, again in my lab, it’s available on the default namespace (Screenshot attached).

Regards.

Here you go,
I am in the right cluster, in Exam 2. but there is no app-ckad ns there. I cant answer the question :confused: There are some other questions like that , please help :frowning:

Here’s what I see at Q10 for the namespaces:

student-node ~ ➜  kubectl config use-context cluster3
Switched to context "cluster3".

student-node ~ ➜  k get ns
NAME              STATUS   AGE
aerospace         Active   104s
app-ckad          Active   83s
default           Active   37m
kube-node-lease   Active   37m
kube-public       Active   37m
kube-system       Active   37m

There are a couple of possibilities here. One is that this is an intermittent (but not rare) error. The other possibility is when you choose to click on “End Exam”. You’ll notice while you run our labs that there’s frequently a “spinner” widget that comes up when you start up a new item in a lab. In our mock exam’s that’s when you click the “next -->” link. The spinner is running while the question gets “set up” by a script. If you click “End Exam” before you’ve gotten through the set up for Q10, then the set up script won’t have run, and the “app-ckad” won’t have ever been created.

If you’ve gone through the questions through at least Q10, then the scripts should have created the “app-ckad” namespace, and it’s an intermittent error has occurred in the lab, as @Santosh_KodeKloud correctly points out. If you go to “End Exam” before you do that, then that would be “user error”, since that’s just how our labs work – you have to allow for the set up scripts to run for each question or the scripts will not execute correctly.

I got the same result during the exam also (I mean same as after “end exam”)
Not sure what can I do from my side since I can only refresh the session here.
hopefully that is the last issue that I am facing :slight_smile: