Skip to content

Commit b8c267a

Browse files
committed
[zh] sync /kubectl/kubectl.md
1 parent 1db4807 commit b8c267a

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

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

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,21 @@
11
---
22
title: kubectl
33
content_type: tool-reference
4-
weight: 28
4+
weight: 30
55
---
66
<!--
7-
---
87
title: kubectl
98
content_type: tool-reference
10-
weight: 28
11-
---
9+
weight: 30
1210
-->
1311

1412
## {{% heading "synopsis" %}}
1513

16-
17-
1814
<!--
1915
kubectl controls the Kubernetes cluster manager.
2016
-->
2117
kubectl 管理控制 Kubernetes 集群。
2218

23-
2419
<!--
2520
Find more information at: https://kubernetes.io/docs/reference/kubectl/
2621
-->
@@ -517,7 +512,7 @@ kubectl 的配置 ("kubeconfig") 文件的路径。默认值: "$HOME/.kube/confi
517512
<!--
518513
When set to false, turns off extra HTTP headers detailing invoked kubectl command (Kubernetes version v1.22 or later)
519514
-->
520-
设置为 false 时,关闭用于详细说明被调用的 kubectl 命令的额外 HTTP 标头 (Kubernetes 版本为 v1.22 或者更高)
515+
设置为 false 时,将关闭额外的 HTTP 标头,不再详细说明被调用的 kubectl 命令 (此变量适用于 Kubernetes v1.22 或更高版本)
521516
</td>
522517
</tr>
523518

@@ -565,7 +560,7 @@ When set to false, turns off extra HTTP headers detailing invoked kubectl comman
565560
* [kubectl cp](/docs/reference/generated/kubectl/kubectl-commands#cp) - 将文件和目录拷入/拷出容器
566561
* [kubectl create](/docs/reference/generated/kubectl/kubectl-commands#create) - 通过文件或标准输入来创建资源
567562
* [kubectl debug](/docs/reference/generated/kubectl/kubectl-commands#debug) - 创建用于排查工作负载和节点故障的调试会话
568-
* [kubectl delete](/docs/reference/generated/kubectl/kubectl-commands#delete) - 通过文件名、标准输入、资源和名字删除资源,或者通过资源和标签选择器来删除资源
563+
* [kubectl delete](/docs/reference/generated/kubectl/kubectl-commands#delete) - 通过文件名、标准输入、资源和名字删除资源,或者通过资源和标签选择算符来删除资源
569564
<!--
570565
* [kubectl describe](/docs/reference/generated/kubectl/kubectl-commands#describe) - Show details of a specific resource or group of resources
571566
* [kubectl diff](/docs/reference/generated/kubectl/kubectl-commands#diff) - Diff live version against would-be applied version
@@ -593,7 +588,7 @@ When set to false, turns off extra HTTP headers detailing invoked kubectl comman
593588
* [kubectl get](/docs/reference/generated/kubectl/kubectl-commands#get) - 显示一个或者多个资源信息
594589
* [kubectl kustomize](/docs/reference/generated/kubectl/kubectl-commands#kustomize) - 从目录或远程 URL 中构建 kustomization
595590
* [kubectl label](/docs/reference/generated/kubectl/kubectl-commands#label) - 更新资源的标签
596-
* [kubectl logs](/docs/reference/generated/kubectl/kubectl-commands#logs) - 输出 pod 中某容器的日志
591+
* [kubectl logs](/docs/reference/generated/kubectl/kubectl-commands#logs) - 输出 Pod 中某容器的日志
597592
* [kubectl options](/docs/reference/generated/kubectl/kubectl-commands#options) - 打印所有命令都支持的共有参数列表
598593
* [kubectl patch](/docs/reference/generated/kubectl/kubectl-commands#patch) - 基于策略性合并修补(Stategic Merge Patch)规则更新某资源中的字段
599594
<!--
@@ -605,7 +600,7 @@ When set to false, turns off extra HTTP headers detailing invoked kubectl comman
605600
* [kubectl run](/docs/reference/generated/kubectl/kubectl-commands#run) - Run a particular image on the cluster
606601
-->
607602
* [kubectl plugin](/docs/reference/generated/kubectl/kubectl-commands#plugin) - 运行命令行插件
608-
* [kubectl port-forward](/docs/reference/generated/kubectl/kubectl-commands#port-forward) - 将一个或者多个本地端口转发到 pod
603+
* [kubectl port-forward](/docs/reference/generated/kubectl/kubectl-commands#port-forward) - 将一个或者多个本地端口转发到 Pod
609604
* [kubectl proxy](/docs/reference/generated/kubectl/kubectl-commands#proxy) - 运行一个 kubernetes API 服务器代理
610605
* [kubectl replace](/docs/reference/generated/kubectl/kubectl-commands#replace) - 基于文件名或标准输入替换资源
611606
* [kubectl rollout](/docs/reference/generated/kubectl/kubectl-commands#rollout) - 管理资源的上线
@@ -619,10 +614,10 @@ When set to false, turns off extra HTTP headers detailing invoked kubectl comman
619614
* [kubectl version](/docs/reference/generated/kubectl/kubectl-commands#version) - Print the client and server version information
620615
* [kubectl wait](/docs/reference/generated/kubectl/kubectl-commands#wait) - Experimental: Wait for a specific condition on one or many resources.
621616
-->
622-
* [kubectl scale](/docs/reference/generated/kubectl/kubectl-commands#scale) - 为一个 Deployment、ReplicaSet 或 ReplicationController 设置一个新的规模尺寸值
617+
* [kubectl scale](/docs/reference/generated/kubectl/kubectl-commands#scale) - 为一个 Deployment、ReplicaSet 或 ReplicationController 设置一个新的规模值
623618
* [kubectl set](/docs/reference/generated/kubectl/kubectl-commands#set) - 为对象设置功能特性
624619
* [kubectl taint](/docs/reference/generated/kubectl/kubectl-commands#taint) - 在一个或者多个节点上更新污点配置
625620
* [kubectl top](/docs/reference/generated/kubectl/kubectl-commands#top) - 显示资源(CPU /内存/存储)使用率
626621
* [kubectl uncordon](/docs/reference/generated/kubectl/kubectl-commands#uncordon) - 标记节点为可调度的
627622
* [kubectl version](/docs/reference/generated/kubectl/kubectl-commands#version) - 打印客户端和服务器的版本信息
628-
* [kubectl wait](/docs/reference/generated/kubectl/kubectl-commands#wait) - 实验性:等待一个或多个资源达到某种状态
623+
* [kubectl wait](/docs/reference/generated/kubectl/kubectl-commands#wait) - 实验性:等待一个或多个资源达到某种状态

0 commit comments

Comments
 (0)