From 2c2307b9cc571bd580a2ec7963f5d8d3871bdc89 Mon Sep 17 00:00:00 2001 From: Spring Fetterman <129029998+Kelin19862216@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:56:09 +0800 Subject: [PATCH] Update cheatsheet.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更正 annotate 翻译 --- content/zh-cn/docs/reference/kubectl/cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/zh-cn/docs/reference/kubectl/cheatsheet.md b/content/zh-cn/docs/reference/kubectl/cheatsheet.md index 36b513b5aa885..43ce6641c98b6 100644 --- a/content/zh-cn/docs/reference/kubectl/cheatsheet.md +++ b/content/zh-cn/docs/reference/kubectl/cheatsheet.md @@ -556,7 +556,7 @@ kubectl label pods my-pod new-label=awesome # 添加标签 kubectl label pods my-pod new-label- # 移除标签 kubectl label pods my-pod new-label=new-value --overwrite # 覆盖现有的值 kubectl annotate pods my-pod icon-url=http://goo.gl/XXBTWq # 添加注解 -kubectl annotate pods my-pod icon- # 移除标签 +kubectl annotate pods my-pod icon- # 移除注解 kubectl autoscale deployment foo --min=2 --max=10 # 对 "foo" Deployment 自动伸缩容 ```