The solution is to correct the livenessProbe port to 6443, which I did. Then wait for all the pods in kube-system to be running. In the second attempt, I also used “–watch” and waited for 3 minutes, since I was ahead of time. Everything remained in running state, yet in any attempt the results show the answer as wrong.
It’s hard to believe I am missing something, since the change is a simple one. So the question is, what am I missing? I also double checked the manifest after completing the mock.
Thanks Rob. I should have been clear in my question. The main reason I am asking about this is that the result keeps coming up as done wrong. But at least I know I did not miss anything.
Hi @rob_kodekloud and @DanF I also I’m having this issue, sometimes the grader sent you a wrong answer, but in other times does approve your result. I’m not sure if checking the cluster just before ending the exam solves the issue temporally (Hope this could help you Danf if that’s an solution to know your exact grade). Also this question is repeated in other exams, I don’t know if in others exams just work well and there is the issue is just with the second one.
I plan to do Mock 3 today, and am still to do Mock 4. I’m done with this particular one as I only got 2 incorrect (including this one). Maybe it’s an issue in this particular one, but it’s not a big deal for me. If it is, it would be nice to be corrected for those who are still to do them, of course.
If this same question is in 3, 4, or 5… then I’ll post the results here. I had similar ones in the others, unsure if it was an Ultimate Mock, or a normal Mock that’s part of the CKA course… but in those cases it wasn’t the liveness port.
You will have to wait the 15 second to have the kubectl access and then replace the kube-apiserver with the replace command and --force flag. That works for me now.
In my case I waited minutes, and everything was still running, which I why I can’t understand the wrong answer. Also I didn’t replace the kube-api, as it was running for a couple minutes without restarting. I also can’t justify why you’d need to replace it when these components are static pods. Am I right?
Appreciate the feedback Also noticed you got a 100%… never managed to get to a 100% on these well done