Inspect the apply annotation on a live resource.
Section: YAML Validation and Troubleshooting
Show last-applied configuration
bash
bash
kubectl apply view-last-applied deployment/apiLearn 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 YAML Validation and Troubleshooting