Merge pull request #6858 from cimomo/cn-website-fixes
Fix references to ConfigMap for the CN website
This commit is contained in:
@@ -160,7 +160,7 @@ service "frontend" created
|
|||||||
|
|
||||||
|
|
||||||
**注意**:这个 nginx 配置文件是被打包在 [容器镜像](/docs/tasks/access-application-cluster/frontend/Dockerfile) 里的。
|
**注意**:这个 nginx 配置文件是被打包在 [容器镜像](/docs/tasks/access-application-cluster/frontend/Dockerfile) 里的。
|
||||||
更好的方法是使用 [ConfigMap](/docs/tasks/configure-pod-container/configmap/),这样的话你可以更轻易地更改配置。
|
更好的方法是使用 [ConfigMap](/docs/tasks/configure-pod-container/configure-pod-configmap/),这样的话你可以更轻易地更改配置。
|
||||||
|
|
||||||
|
|
||||||
### 与前端 Service 交互
|
### 与前端 Service 交互
|
||||||
@@ -216,7 +216,7 @@ curl http://<EXTERNAL-IP>
|
|||||||
|
|
||||||
|
|
||||||
* 了解更多 [Services](/docs/concepts/services-networking/service/)
|
* 了解更多 [Services](/docs/concepts/services-networking/service/)
|
||||||
* 了解更多 [ConfigMaps](/docs/tasks/configure-pod-container/configmap/)
|
* 了解更多 [ConfigMaps](/docs/tasks/configure-pod-container/configure-pod-configmap/)
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ title: 为容器设置启动时要执行的命令及其入参
|
|||||||
args: ["$(MESSAGE)"]
|
args: ["$(MESSAGE)"]
|
||||||
|
|
||||||
这样一来,我们就可以将那些用来设置环境变量的方法应用于设置命令的入参,其
|
这样一来,我们就可以将那些用来设置环境变量的方法应用于设置命令的入参,其
|
||||||
中包括了[ConfigMaps](/docs/tasks/configure-pod-container/configmap/)
|
中包括了[ConfigMaps](/docs/tasks/configure-pod-container/configure-pod-configmap/)
|
||||||
与
|
与
|
||||||
[Secrets](/docs/concepts/configuration/secret/).
|
[Secrets](/docs/concepts/configuration/secret/).
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ title: 使用ConfigMap来配置Redis
|
|||||||
|
|
||||||
{% capture overview %}
|
{% capture overview %}
|
||||||
|
|
||||||
这篇文档基于[在Pods中使用ConfigMap数据](/docs/tasks/configure-pod-container/configure-pod-configmap/) 和 [使用ConfigMap来配置Containers](/docs/tasks/configure-pod-container/configmap/) 两个任务,提供了一个使用ConfigMap来配置Redis的真实案例。
|
这篇文档基于[使用ConfigMap来配置Containers](/docs/tasks/configure-pod-container/configure-pod-configmap/) 这个任务,提供了一个使用ConfigMap来配置Redis的真实案例。
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
@@ -23,8 +23,7 @@ title: 使用ConfigMap来配置Redis
|
|||||||
{% capture prerequisites %}
|
{% capture prerequisites %}
|
||||||
|
|
||||||
* {% include task-tutorial-prereqs.md %}
|
* {% include task-tutorial-prereqs.md %}
|
||||||
* 理解[在Pods中使用ConfigMap数据](/docs/tasks/configure-pod-container/configure-pod-configmap/)。
|
* 理解[使用ConfigMap来配置Containers](/docs/tasks/configure-pod-container/configure-pod-configmap/)。
|
||||||
* 理解[使用ConfigMap来配置Containers](/docs/tasks/configure-pod-container/configmap/)。
|
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
@@ -120,8 +119,7 @@ title: 使用ConfigMap来配置Redis
|
|||||||
|
|
||||||
{% capture whatsnext %}
|
{% capture whatsnext %}
|
||||||
|
|
||||||
* 了解关于[ConfigMaps](/docs/tasks/configure-pod-container/configmap/)的更多知识。
|
* 了解关于[ConfigMaps](/docs/tasks/configure-pod-container/configure-pod-configmap/)的更多知识。
|
||||||
* 参见[在Pods中使用ConfigMap数据](/docs/tasks/configure-pod-container/configure-pod-configmap/)。
|
|
||||||
|
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ title: 运行 ZooKeeper, 一个 CP 分布式系统
|
|||||||
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
* [Headless Services](/docs/concepts/services-networking/service/#headless-services)
|
||||||
* [PersistentVolumes](/docs/concepts/storage/volumes/)
|
* [PersistentVolumes](/docs/concepts/storage/volumes/)
|
||||||
* [PersistentVolume Provisioning](http://releases.k8s.io/{{page.githubbranch}}/examples/persistent-volume-provisioning/)
|
* [PersistentVolume Provisioning](http://releases.k8s.io/{{page.githubbranch}}/examples/persistent-volume-provisioning/)
|
||||||
* [ConfigMaps](/docs/tasks/configure-pod-container/configmap/)
|
* [ConfigMaps](/docs/tasks/configure-pod-container/configure-pod-configmap/)
|
||||||
* [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/)
|
* [StatefulSets](/docs/concepts/abstractions/controllers/statefulsets/)
|
||||||
* [PodDisruptionBudgets](/docs/admin/disruptions/#specifying-a-poddisruptionbudget)
|
* [PodDisruptionBudgets](/docs/admin/disruptions/#specifying-a-poddisruptionbudget)
|
||||||
* [PodAntiAffinity](/docs/user-guide/node-selection/#inter-pod-affinity-and-anti-affinity-beta-feature)
|
* [PodAntiAffinity](/docs/user-guide/node-selection/#inter-pod-affinity-and-anti-affinity-beta-feature)
|
||||||
@@ -67,7 +67,7 @@ ZooKeeper 在内存中保存它们的整个状态机,但是每个改变都被
|
|||||||
## 创建一个 ZooKeeper Ensemble
|
## 创建一个 ZooKeeper Ensemble
|
||||||
|
|
||||||
|
|
||||||
下面的清单包含一个 [Headless Service](/docs/user-guide/services/#headless-services),一个 [ConfigMap](/docs/tasks/configure-pod-container/configmap/),一个 [PodDisruptionBudget](/docs/admin/disruptions/#specifying-a-poddisruptionbudget) 和 一个 [StatefulSet](/docs/concepts/abstractions/controllers/statefulsets/)。
|
下面的清单包含一个 [Headless Service](/docs/user-guide/services/#headless-services),一个 [ConfigMap](/docs/tasks/configure-pod-container/configure-pod-configmap/),一个 [PodDisruptionBudget](/docs/admin/disruptions/#specifying-a-poddisruptionbudget) 和 一个 [StatefulSet](/docs/concepts/abstractions/controllers/statefulsets/)。
|
||||||
|
|
||||||
{% include code.html language="yaml" file="zookeeper.yaml" ghlink="/docs/tutorials/stateful-application/zookeeper.yaml" %}
|
{% include code.html language="yaml" file="zookeeper.yaml" ghlink="/docs/tutorials/stateful-application/zookeeper.yaml" %}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -107,7 +107,7 @@ cid: home
|
|||||||
<p>Kubernetes 逐渐部署对应用程序或其配置的更改,同时监视应用程序运行状况,以确保它不会同时终止所有实例。 如果出现问题,Kubernetes会为您恢复更改,利用日益增长的部署解决方案的生态系统。</p>
|
<p>Kubernetes 逐渐部署对应用程序或其配置的更改,同时监视应用程序运行状况,以确保它不会同时终止所有实例。 如果出现问题,Kubernetes会为您恢复更改,利用日益增长的部署解决方案的生态系统。</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h4><a href="/docs/concepts/configuration/secret/">密钥</a> 和 <a href="/docs/tasks/configure-pod-container/configmap/">配置</a> 管理</h4>
|
<h4><a href="/docs/concepts/configuration/secret/">密钥</a> 和 <a href="/docs/tasks/configure-pod-container/configure-pod-configmap/">配置</a> 管理</h4>
|
||||||
<p>部署和更新密钥和应用程序配置,不会重新编译您的镜像,不会在堆栈配置中暴露密钥(secrets)。</p>
|
<p>部署和更新密钥和应用程序配置,不会重新编译您的镜像,不会在堆栈配置中暴露密钥(secrets)。</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user