Ex. 3 "Lab: CKA Mock Exam 3"

Hello, I do not understand why the exercises is marked as NOT PASSED, when the data in the /root/pod_ips_cka05_svcn file is correct and sorted.
Could you please help me understand?

Thanks

Hi Mundofik,

I’ve just checked it and it’s works properly from my end.

Could you please try again and let me know if it persists?

Hello Raymond,
It seems that only the solution accepted is where the output is generated via -o custom-columns=
I retrieve the same info via awk and there is a different space size (or tab size) between the 2 columns (POD_NAME and IP).
It seems that the validation includes the spacing inside the file, which I do not think is very relevant, as long as the data itself is correct.

@Mundofik
A point to note here is kubectl has the feature to achieve this. it may so happen that instead of writing the output of the command/script, you might be asked to write the command used to achieve the same behavior in the actual exam.