ExamGecko
Question list
Search
Search

List of questions

Search

Question 33 - CKA discussion

Report
Export

Get list of all the pods showing name and namespace with a jsonpath expression.

A.
See the solution below.
Answers
A.
See the solution below.
Suggested answer: A

Explanation:

kubectl get pods -o=jsonpath="{.items[*]['metadata.name' , 'metadata.namespace']}"

asked 18/09/2024
Eric De La Vega
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first