Merge pull request #33734 from my-git9/mygit24
[zh] adjust format in content/zh/docs/tasks-1
This commit is contained in:
@@ -147,7 +147,7 @@ Events:
|
||||
<!--
|
||||
Here you can see configuration information about the container(s) and Pod (labels, resource requirements, etc.), as well as status information about the container(s) and Pod (state, readiness, restart count, events, etc.).
|
||||
-->
|
||||
在这里,您可以看到有关容器和 Pod 的配置信息(标签、资源需求等),
|
||||
在这里,你可以看到有关容器和 Pod 的配置信息(标签、资源需求等),
|
||||
以及有关容器和 Pod 的状态信息(状态、就绪、重启计数、事件等) 。
|
||||
|
||||
<!--
|
||||
|
||||
@@ -27,7 +27,7 @@ This page shows how to use an HTTP proxy to access the Kubernetes API.
|
||||
* If you do not already have an application running in your cluster, start
|
||||
a Hello world application by entering this command:
|
||||
-->
|
||||
* 如果您的集群中还没有任何应用,使用如下命令启动一个 Hello World 应用:
|
||||
* 如果你的集群中还没有任何应用,使用如下命令启动一个 Hello World 应用:
|
||||
|
||||
```shell
|
||||
kubectl create deployment node-hello --image=gcr.io/google-samples/node-hello:1.0 --port=8080
|
||||
|
||||
+1
-1
@@ -135,7 +135,7 @@ container.
|
||||
-->
|
||||
## 在配置中使用环境变量
|
||||
|
||||
您在 Pod 的配置中定义的环境变量可以在配置的其他地方使用,
|
||||
你在 Pod 的配置中定义的环境变量可以在配置的其他地方使用,
|
||||
例如可用在为 Pod 的容器设置的命令和参数中。
|
||||
在下面的示例配置中,环境变量 `GREETING` ,`HONORIFIC` 和 `NAME` 分别设置为 `Warm greetings to` ,
|
||||
`The Most Honorable` 和 `Kubernetes`。然后这些环境变量在传递给容器 `env-print-demo` 的 CLI 参数中使用。
|
||||
|
||||
@@ -64,7 +64,7 @@ on general patterns for running stateful applications in Kubernetes.
|
||||
[服务](/zh/docs/concepts/services-networking/service/) 与
|
||||
[ConfigMap](/zh/docs/tasks/configure-pod-container/configure-pod-configmap/).
|
||||
* 熟悉 MySQL 会有所帮助,但是本教程旨在介绍对其他系统应该有用的常规模式。
|
||||
* 您正在使用默认命名空间或不包含任何冲突对象的另一个命名空间。
|
||||
* 你正在使用默认命名空间或不包含任何冲突对象的另一个命名空间。
|
||||
|
||||
## {{% heading "objectives" %}}
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ If you would like to uninstall Service Catalog from your Kubernetes cluster usin
|
||||
-->
|
||||
## 卸载服务目录
|
||||
|
||||
如果您想使用 `sc` 工具从 Kubernetes 集群卸载服务目录,请运行:
|
||||
如果你想使用 `sc` 工具从 Kubernetes 集群卸载服务目录,请运行:
|
||||
|
||||
```shell
|
||||
sc uninstall
|
||||
|
||||
Reference in New Issue
Block a user