Malika:
Any easy to follow/learn guides for working on scenarios where sort-by
, custom-columns
and jsonPath
are needed? Thanks!
Santosh Kaluskar:
Have you checked out this <https://kodekloud.com/courses/json-path-quiz/|jsonpath short course>
Malika:
Thank you. I have not. Will look into it
Mouhamadou Moustapha Camara:
Hi Mallika,
• sort-by
it’s when you need to sort the output
• custom-columns
is use when you need to show some specific field
Mouhamadou Moustapha Camara:
• jsonPath
is also another way to show only specific field but give more flexibility like search, iteration, …
Aneek Bera:
you can use json
path for literally anything. Just knowing the basics will be enough for the exam. Check out the kubectl cheatsheet.
Bob:
I have read you can pass the exam without using json path, it just means playing with vim more. Correct me if I am wrong?
Aneek Bera:
why take a chance. Learning anything more is always good. It may help you some day. Some day, you can comment on the post and guide others like the way, I am doing now. ’
Malika:
With jsonpath, the hard time I am having is trying to write filters and also if the output is pretty lengthy, trying to narrow it down to the fields i am searching is very time consuming
Malika:
I was not sure how much jsonpath knowledge is needed though for the test
Santosh Kaluskar:
There are few tasks with Jsonpath in the Lightning Lab/ Mock Exams in KodeKloud. As far the Real exam, I am not sure any one will be able to help on this due to NDA.
You can go through the course I’ve shared in the link and read the k8s docs and can practice on you home lab env with Kind cluster installed.
unnivkn:
Hi @Malika follow the KK jsonpath course + Cheatsheet examples are more than enough to crack jsonpath related questions in the k8s exams
Malika:
Thank you!! This is the <https://kodekloud.com/courses/json-path-quiz/|kk jsonpath course> you were mentioning right?
unnivkn:
yup