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

33
pages.zh/common/oc.md Normal file
View File

@@ -0,0 +1,33 @@
# oc
> OpenShift 容器平台 CLI。
> 允许进行应用程序和容器管理。
> 更多信息:<https://docs.openshift.com/container-platform/3.11/cli_reference/get_started_cli.html>。
- 登录到 OpenShift 容器平台服务器:
`oc login`
- 创建一个新项目:
`oc new-project {{project_name}}`
- 切换到现有项目:
`oc project {{project_name}}`
- 向项目添加新应用程序:
`oc new-app {{repo_url}} --name {{application}}`
- 打开到容器的远程 shell 会话:
`oc rsh {{pod_name}}`
- 列出项目中的 pod
`oc get pods`
- 从当前会话注销:
`oc logout`