mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 16:37:34 +00:00
Use straight quotes in kubectl annotate examples
This commit is contained in:
@@ -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-
|
||||
|
||||
Reference in New Issue
Block a user