This is related to CKAD Mock Exam 3 Q11
Part II:
Store the pod names and their ip addresses from all namespaces at / root/pod_ips_ckad02_svcn where the output is sorted by their IPs.
The command I ran to get the output was this (which seems to be the same as in the solution:
kubectl get po -A -o=custom-columns=‘POD_NAME:metadata.name,IP_ADDR:status.podIP’ --sort-by=.status.podIP > /root/pod_ips_ckad02_svcn
I’m confused; why is it claiming the output to be wrong?
Please find some screenshots showing the service I created and the output of pod_ips_ckad02_svcn.
Thanks,
Liz

