Read documentation for manifest fields from the terminal.
Section: Validation and rendering
Inspect Kubernetes manifest fields
bash
bash
kubectl explain deployment.spec.template.spec.containersExplanation
Useful when writing or troubleshooting nested YAML in Kubernetes resources.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Validation and rendering
Lint YAML-based Ansible playbooks
Catch common style and correctness issues in playbooks.
Preview resource changes
Show what would change before applying a manifest.