Use straight quotes in kubectl annotate examples

This commit is contained in:
yeasy
2026-04-30 19:18:49 +00:00
parent 340c8c9e61
commit 9c378b1ef9
+2 -2
View File
@@ -193,10 +193,10 @@ $ kubectl label pods -l app=nginx version=v1
```bash
# 添加注解
$ kubectl annotate pod my-pod description=Production pod
$ kubectl annotate pod my-pod description="Production pod"
# 修改注解
$ kubectl annotate pod my-pod description=Staging pod --overwrite
$ kubectl annotate pod my-pod description="Staging pod" --overwrite
# 删除注解
$ kubectl annotate pod my-pod description-