add zh pages

This commit is contained in:
Karen Bradshaw
2020-06-01 09:23:39 -04:00
parent 21fd0a12f9
commit 4b35d4d401
303 changed files with 2764 additions and 2439 deletions
@@ -1,18 +1,18 @@
---
title: 公开外部 IP 地址以访问集群中应用程序
content_template: templates/tutorial
content_type: tutorial
weight: 10
---
<!--
---
title: Exposing an External IP Address to Access an Application in a Cluster
content_template: templates/tutorial
content_type: tutorial
weight: 10
---
-->
{{% capture overview %}}
<!-- overview -->
<!--
This page shows how to create a Kubernetes Service object that exposes an
@@ -20,10 +20,11 @@ external IP address.
-->
此页面显示如何创建公开外部 IP 地址的 Kubernetes 服务对象。
{{% /capture %}}
{{% capture prerequisites %}}
## {{% heading "prerequisites" %}}
<!--
* Install [kubectl](/docs/tasks/tools/install-kubectl/).
@@ -44,10 +45,11 @@ external IP address.
* 配置 `kubectl` 与 Kubernetes API 服务器通信。有关说明,请参阅云供应商文档。
{{% /capture %}}
{{% capture objectives %}}
## {{% heading "objectives" %}}
<!--
* Run five instances of a Hello World application.
@@ -59,10 +61,10 @@ external IP address.
* 创建一个公开外部 IP 地址的 Service 对象。
* 使用 Service 对象访问正在运行的应用程序。
{{% /capture %}}
{{% capture lessoncontent %}}
<!-- lessoncontent -->
<!--
## Creating a service for an application running in five pods
@@ -238,10 +240,11 @@ If the external IP address is shown as \<pending\>, wait for a minute and enter
Hello Kubernetes!
{{% /capture %}}
{{% capture cleanup %}}
## {{% heading "cleanup" %}}
<!--
To delete the Service, enter this command:
@@ -258,10 +261,11 @@ the Hello World application, enter this command:
kubectl delete deployment hello-world
{{% /capture %}}
{{% capture whatsnext %}}
## {{% heading "whatsnext" %}}
<!--
Learn more about
@@ -270,4 +274,4 @@ Learn more about
了解更多关于[将应用程序与服务连接](/zh/docs/concepts/services-networking/connect-applications-service/)。
{{% /capture %}}
@@ -2,7 +2,7 @@
title: "示例:使用 Redis 部署 PHP 留言板应用程序"
reviewers:
- ahmetb
content_template: templates/tutorial
content_type: tutorial
weight: 20
---
@@ -11,12 +11,12 @@ weight: 20
title: "Example: Deploying PHP Guestbook application with Redis"
reviewers:
- ahmetb
content_template: templates/tutorial
content_type: tutorial
weight: 20
---
-->
{{% capture overview %}}
<!-- overview -->
<!--
This tutorial shows you how to build and deploy a simple, multi-tier web application using Kubernetes and [Docker](https://www.docker.com/). This example consists of the following components:
@@ -35,9 +35,10 @@ This tutorial shows you how to build and deploy a simple, multi-tier web applica
* 多个 web 前端实例
{{% /capture %}}
{{% capture objectives %}}
## {{% heading "objectives" %}}
<!--
* Start up a Redis master.
@@ -53,17 +54,18 @@ This tutorial shows you how to build and deploy a simple, multi-tier web applica
* 公开并查看前端服务。
* 清理。
{{% /capture %}}
{{% capture prerequisites %}}
## {{% heading "prerequisites" %}}
{{< include "task-tutorial-prereqs.md" >}}
{{< version-check >}}
{{% /capture %}}
{{% capture lessoncontent %}}
<!-- lessoncontent -->
<!--
## Start up the Redis Master
@@ -549,9 +551,10 @@ Scaling up or down is easy because your servers are defined as a Service that us
redis-slave-2005841000-phfv9 1/1 Running 0 1h
```
{{% /capture %}}
{{% capture cleanup %}}
## {{% heading "cleanup" %}}
<!--
Deleting the Deployments and Services also deletes any running Pods. Use labels to delete multiple resources with one command.
@@ -602,9 +605,10 @@ Deleting the Deployments and Services also deletes any running Pods. Use labels
No resources found.
```
{{% /capture %}}
{{% capture whatsnext %}}
## {{% heading "whatsnext" %}}
<!--
* Complete the [Kubernetes Basics](/docs/tutorials/kubernetes-basics/) Interactive Tutorials
@@ -618,5 +622,5 @@ Deleting the Deployments and Services also deletes any running Pods. Use labels
* 阅读更多关于[连接应用程序](/zh/docs/concepts/services-networking/connect-applications-service/)
* 阅读更多关于[管理资源](/zh/docs/concepts/cluster-administration/manage-deployment/#using-labels-effectively)
{{% /capture %}}