File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
content/zh-cn/docs/reference/kubectl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,7 @@ kubectl label pods my-pod new-label=awesome # Add a Label
546
546
kubectl label pods my-pod new-label- # Remove a label
547
547
kubectl label pods my-pod new-label=new-value --overwrite # Overwrite an existing value
548
548
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
550
550
kubectl autoscale deployment foo --min=2 --max=10 # Auto scale a deployment "foo"
551
551
```
552
552
-->
@@ -573,7 +573,7 @@ kubectl label pods my-pod new-label=awesome # 添加标签
573
573
kubectl label pods my-pod new-label- # 移除标签
574
574
kubectl label pods my-pod new-label=new-value --overwrite # 覆盖现有的值
575
575
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- # 移除注解
577
577
kubectl autoscale deployment foo --min=2 --max=10 # 对 "foo" Deployment 自动扩缩容
578
578
```
579
579
You can’t perform that action at this time.
0 commit comments