Hello, In the CKA course under monitoring cluster components; when I run $ kubec . . .

Daniel:
Hello, In the CKA course under monitoring cluster components; when I run $ kubectl top pods I don’t see the cpu percentage busy/utilization. I didn’t see it in the lab or on the CKA exam! Yet the class show it does.

Mumshad Mannambeth:
Hi Daniel, have you gone through the rest of the lecture where we explain how to get this working?

Mumshad Mannambeth:
There are some pre-requisites before you’ll see the usage displayed. Let me know if you can’t find it.

Daniel:
Thank you for responding. Great training BTW. To your point, yes the metrics server was installed. I can point you to an example of what I am seeing.

Daniel:
at 3:17

Daniel:

image.png

Daniel:
You will see:

Daniel:

Daniel:
You will notice no CPU% or MEMORY%

Daniel:
I looked for other flags that would make it show up but, no luck. There was a question on the CKA I took last Saturday that asked for CPU utilization but, all I could get was the number of CPU(cores).

Daniel:
From kubectl top pods

Daniel:
Thanks again for you fast response. I test again on Wednesday.

Tej_Singh_Rana:
Hello, @Daniel
Thanks for reporting. I will check.

Tej_Singh_Rana:
> that asked for CPU utilization but, all I could get was the number of CPU(cores).
I think you can write number of CPU(cores) value for that specific pod.
I don’t think so they have mentioned that you have to write in % form.

Tej_Singh_Rana:
I think we have to update the image in lecture as per current state.

Daniel:
okay. thanks.