View all questions & answers for the CKA exam
Print pod name and start time to “/opt/pod-status” file
See the solution below.
kubect1 get pods -o=jsonpath='{range
items[*]}{.metadata.name}{"\t"}{.status.podIP}{"\n"}{end}'
Submit