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,16 @@
# kubectl scale
> 为部署、副本集、复制控制器或有状态集设置新大小。
> 更多信息:<https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#scale>。
- 扩展副本集:
`kubectl scale --replicas={{number_of_replicas}} rs/{{replica_name}}`
- 根据文件扩展资源:
`kubectl scale --replicas={{number_of_replicas}} -f {{path/to/file.yml}}`
- 根据当前副本数量扩展部署:
`kubectl scale --current-replicas={{current_replicas}} --replicas={{number_of_replicas}} deployment/{{deployment_name}}`