Skip to content

Commit 6917a32

Browse files
committed
[zh] Update quick-reference.md
1 parent a75dd33 commit 6917a32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ kubectl label pods my-pod new-label=awesome # Add a Label
546546
kubectl label pods my-pod new-label- # Remove a label
547547
kubectl label pods my-pod new-label=new-value --overwrite # Overwrite an existing value
548548
kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # Add an annotation
549-
kubectl annotate pods my-pod icon- # Remove annotation
549+
kubectl annotate pods my-pod icon-url- # Remove annotation
550550
kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a deployment "foo"
551551
```
552552
-->
@@ -573,7 +573,7 @@ kubectl label pods my-pod new-label=awesome # 添加标签
573573
kubectl label pods my-pod new-label- # 移除标签
574574
kubectl label pods my-pod new-label=new-value --overwrite # 覆盖现有的值
575575
kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # 添加注解
576-
kubectl annotate pods my-pod icon- # 移除注解
576+
kubectl annotate pods my-pod icon-url- # 移除注解
577577
kubectl autoscale deployment foo --min=2 --max=10 # 对 "foo" Deployment 自动扩缩容
578578
```
579579

0 commit comments

Comments
 (0)