Login
Remember
Register
Ask a Question
"kubectl explain" command is great, but you must know the exact name of the resource (eg pod/services/persistentvolume) to get the details, unless you do recursive How do you get the names of these resources from command line?
0
votes
asked
Aug 4, 2023
in
Kubernetes K8s
by
SakshiSharma
"kubectl explain" command is great, but you must know the exact name of the resource (eg pod/services/persistentvolume) to get the details, unless you do recursive How do you get the names of these resources from command line?
kubectlexplain
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 4, 2023
by
SakshiSharma
kubectl api-resources (gives you a list and shortnames and more)
...