Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKA Exam - Topic 1 Question 98 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 98
Topic #: 1
[All CKA Questions]

SIMULATION

Print pod name and start time to ''/opt/pod-status'' file

Show Suggested Answer Hide Answer
Suggested Answer: A

kubect1 get pods -o=jsonpath='{range

items[*]}{.metadata.name}{'t'}{.status.podIP}{'n'}{end}'


Contribute your Thoughts:

0/2000 characters
Glendora
15 hours ago
I remember a similar question where we had to redirect output to a file. I think we can use `>` for that, right?
upvoted 0 times
...
Stefany
6 days ago
I think we need to use the `kubectl` command to get the pod name and start time, but I'm not entirely sure how to format the output correctly.
upvoted 0 times
...

Save Cancel