ExamGecko
Question list
Search
Search

List of questions

Search

Question 47 - CKA discussion

Report
Export

List all the pods showing name and namespace with a json path 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
EDDIE LIN
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first