Reputation: 2155
Is there a kubectl
command that gives advice about essential fields required in the YAML, or YAML examples, for a given resource?
Currently, when I want a YAML example of a resource, for example a deployment, I search the online documentation. I'd rather stay in the terminal.
Upvotes: 0
Views: 197
Reputation: 18111
kubectl explain deployment
works for resources which publish openapi specs.
Upvotes: 1