Deal of The Day! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Linux Foundation Discussions
Exam CKA Topic 2 Question 77 Discussion
Linux Foundation Exam CKA Topic 2 Question 77 Discussion
Actual exam question for Linux Foundation's CKA exam
Question #: 77
Topic #: 2
[All CKA Questions]
List all the pods showing name and namespace with a json path expression
A
Explanation:
kubectl get pods -o=jsonpath='{.items[*]['metadata.name',
'metadata.namespace']}'
Show Suggested Answer
Hide Answer
Suggested Answer:
A
by
Ma
at
Dec 06, 2024, 12:43 PM
Limited Time Offer
25%
Off
Get Premium CKA Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Beckie
14 days ago
Okay, let's see if I can remember the syntax. Is it .items[*].metadata['name', 'namespace']?
upvoted
0
times
...
Marta
15 days ago
It's kubectl get pods -o=jsonpath=\'{.items[*]['metadata.name', 'metadata.namespace']}\'
upvoted
0
times
...
Casey
16 days ago
Wow, a JSON path expression! I feel like a coding wizard just reading that.
upvoted
0
times
Vashti
1 days ago
User2: Oh, I see. So you can use it to get the name and namespace of pods with that command.
upvoted
0
times
...
Kathrine
3 days ago
User1: It's not as complicated as it sounds, just a way to extract specific data from JSON objects.
upvoted
0
times
...
...
Nana
18 days ago
What is it?
upvoted
0
times
...
Marta
21 days ago
I agree, but I remember the command for that.
upvoted
0
times
...
Nana
23 days ago
I think that question is quite tricky.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
az-700
pass4success
az-104
200-301
200-201
cissp
350-401
350-201
350-501
350-601
350-801
350-901
az-720
az-305
pl-300
Beckie
14 days agoMarta
15 days agoCasey
16 days agoVashti
1 days agoKathrine
3 days agoNana
18 days agoMarta
21 days agoNana
23 days ago