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

SIMULATIONPrint pod name and start time to ''/opt/pod-status'' file
A) See the solution below

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
Tammara
1 day ago
I need more practice with commands.
upvoted 0 times
...
Ettie
6 days ago
Same here, just need to remember details.
upvoted 0 times
...
Shayne
11 days ago
I feel confident with this one.
upvoted 0 times
...
Candra
17 days ago
I’d focus on the file path.
upvoted 0 times
...
Tammara
22 days ago
Start time is also important.
upvoted 0 times
...
Ettie
27 days ago
Yes, print pod name is key.
upvoted 0 times
...
Shayne
1 month ago
Option A seems correct.
upvoted 0 times
...
Candra
1 month ago
I believe it’s about file handling.
upvoted 0 times
...
Tammara
1 month ago
I’m confused about the syntax.
upvoted 0 times
...
Ettie
2 months ago
I think it’s straightforward.
upvoted 0 times
...
Shayne
2 months ago
This question is tricky.
upvoted 0 times
...
Irene
2 months ago
This is exactly what I needed, thanks!
upvoted 0 times
...
Dortha
2 months ago
I thought we needed more steps for logging.
upvoted 0 times
...
Sage
2 months ago
Wait, are we sure the file path is correct?
upvoted 0 times
...
Agustin
2 months ago
Totally agree, this is straightforward!
upvoted 0 times
...
Tarra
3 months ago
Just a simple print command, right?
upvoted 0 times
...
Rolande
3 months ago
I practiced something like this last week, but I can't recall if we need to use JSON or YAML output for the pod details.
upvoted 0 times
...
Cyril
4 months ago
I'm a bit confused about how to access the pod's start time. Is it part of the pod's metadata?
upvoted 0 times
...
Glendora
5 months 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
5 months 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