Skip to content

Commit c770268

Browse files
authored
Merge pull request #42062 from Kelin19862216/patch-1
Update cheatsheet.md
2 parents 74c3950 + 2c2307b commit c770268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/zh-cn/docs/reference/kubectl/cheatsheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ kubectl label pods my-pod new-label=awesome # 添加标签
556556
kubectl label pods my-pod new-label- # 移除标签
557557
kubectl label pods my-pod new-label=new-value --overwrite # 覆盖现有的值
558558
kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # 添加注解
559-
kubectl annotate pods my-pod icon- # 移除标签
559+
kubectl annotate pods my-pod icon- # 移除注解
560560
kubectl autoscale deployment foo --min=2 --max=10 # 对 "foo" Deployment 自动伸缩容
561561
```
562562

0 commit comments

Comments
 (0)