Write metadata without affecting selectors.
Section: Metadata, Labels, and Annotations
Add annotation from CLI
bash
bash
kubectl annotate deployment api owner=platform-team --overwriteLearn 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 Metadata, Labels, and Annotations