Hello everyone, can someone please help me know how to get the cpu usage of leas . . .

Swaminathan V:
hello everyone, can someone please help me know how to get the cpu usage of least used pods?

unnivkn:
k top po --sort-by=cpu

Swaminathan V:
thank you, is there an alternate way because practice labs do not have metrics-api and not sure if we can install. Same question for how this can be done in CKA exam too (wanted to see other options just in case). Appreciate any help!

unnivkn:
here you get it… https://katacoda.com/liptanbiswas/courses/ckad-practice-challenges

unnivkn:
look at the last question in the Observability section

unnivkn:
you don’t need to deploy metric server in the exam. it will be already deployed there.

unnivkn:
Its there in the CKA lab…pls look at the Logging_and_Monitoring Lab-1

Swaminathan V:
sure I’ll check this now. thank you so much