Question 9 in Mock test1 the replicaset is not created in KCA

A new application orange is deployed. There is something wrong with it. Identify and fix the issue.

controlplane ~ ✦ ➜ kubectl get rs -A
NAMESPACE NAME DESIRED CURRENT READY AGE
default hr-web-app-df47d4dfb 2 2 2 8m46s
kube-system coredns-69f9c977 2 2 2 171m

The problem here is that the pod “orange” is not present in the default NS?

If so, this is a problem we see occasionally in the labs; for some reason, on occasion the setup-script fails for some of the problems in a lab or mock exam. We’re aware of this, but we’re still trying to figure out why it happens.

If you run the lab again, it’s very likely that you’ll see the following for Q9:

controlplane ~ ➜  k get po
NAME     READY   STATUS                  RESTARTS      AGE
orange   0/1     Init:CrashLoopBackOff   5 (57s ago)   3m53s

If you don’t, please use the blue “Feedback” tab on the right side of the page to report the problem; this might help us track down why this happens.