nitish gavankar:
CKA Generic Question :
There are many ways to get the anser to the question of type JSONPATH.
Is the method of finding the answer important or the answer ?
nitish gavankar:
CKA Generic Question :
There are many ways to get the anser to the question of type JSONPATH.
Is the method of finding the answer important or the answer ?
Deepak Kumar:
Yes I know, I have also faced same thing, actually what happens they have predefined sets for these which they use to compare with their answers.
nitish gavankar:
True. Any idea about actual exam ?
Deepak Kumar:
No bro.
Alistair Mackay:
Depends on the question.
If you’re asked to create some file containing a kubectl command with some jsonpath, then you need to get the jsonpath correct, as that is what is marked. It will be looking for the file to contain
kubectl ... -o jsonpath '{...}'
Or you could be asked to put the results of some command into a file - which may be faster to achieve if you use jsonpath to get those results
If you are ever considering CKS in future, jsonpath is your friend!
nitish gavankar:
Perfect !!! Make sense now.
So the method is imp.
Thank you Alistair