add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,24 @@
# kubectl 编辑
> 编辑 Kubernetes 资源。
> 更多信息:<https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#edit>。
- 编辑一个 Pod
`kubectl edit pod/{{pod_name}}`
- 编辑一个部署:
`kubectl edit deployment/{{deployment_name}}`
- 编辑一个服务:
`kubectl edit svc/{{service_name}}`
- 使用特定编辑器编辑资源:
`KUBE_EDITOR={{nano}} kubectl edit {{resource}}/{{resource_name}}`
- 以 JSON 格式编辑资源:
`kubectl edit {{resource}}/{{resource_name}} --output json`