Lab: CKA Mock Exam 1 Q4

Hi,
The question in CKA mock exam 1 gives error as follows.
There is a Cronjob called orange-cron-cka10-trb which is supposed to run every two minutes (i.e 13:02, 13:04, 13:06…14:02, 14:04…and so on). This cron targets the application running inside the orange-app-cka10-trb pod to make sure the app is accessible. The application has been exposed internally as a ClusterIP service.

However, this cron is not running as per the expected schedule and is not running as intended.

I am getting:
student-node ~ ➜ kubectl logs orange-cron-cka10-trb
error: error from server (NotFound): pods “orange-cron-cka10-trb” not found in namespace “default”
but the namespace seems ok. can anyone guide?
I have made other necessary changes as required.

The pods aren’t called orange-cron-cka10-trb. They have names like orange-cron-cka10-trb-28796809-x276w, similar to how deployment pods are named. So you should do k get pod | grep orange-cron to get a list of the cronjob’s pods.