Skip to content

Commit 7dbc80f

Browse files
committed
sync connecting-frontend-backend ingress-minikube service-access-application-cluster quota-api-object
1 parent 5d2ad23 commit 7dbc80f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

content/zh-cn/docs/tasks/access-application-cluster/connecting-frontend-backend.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ file for the backend Deployment:
6565

6666
后端是一个简单的 hello 欢迎微服务应用。这是后端应用的 Deployment 配置文件:
6767

68-
{{< codenew file="service/access/backend-deployment.yaml" >}}
68+
{{% code file="service/access/backend-deployment.yaml" %}}
6969

7070
<!--
7171
Create the backend Deployment:
@@ -145,7 +145,7 @@ First, explore the Service configuration file:
145145

146146
首先,浏览 Service 的配置文件:
147147

148-
{{< codenew file="service/access/backend-service.yaml" >}}
148+
{{% code file="service/access/backend-service.yaml" %}}
149149

150150
<!--
151151
In the configuration file, you can see that the Service, named `hello` routes
@@ -197,7 +197,7 @@ to proxy requests to the `hello` backend Service. Here is the nginx configuratio
197197
前端 Deployment 中的 Pods 运行一个 nginx 镜像,这个已经配置好的镜像会将请求转发
198198
给后端的 `hello` Service。下面是 nginx 的配置文件:
199199

200-
{{< codenew file="service/access/frontend-nginx.conf" >}}
200+
{{% code file="service/access/frontend-nginx.conf" %}}
201201

202202
<!--
203203
Similar to the backend, the frontend has a Deployment and a Service. An important
@@ -210,9 +210,9 @@ accessible from outside the cluster.
210210
重要区别是前端 Service 的配置文件包含了 `type: LoadBalancer`,也就是说,Service
211211
会使用你的云服务商的默认负载均衡设备,从而实现从集群外访问的目的。
212212

213-
{{< codenew file="service/access/frontend-service.yaml" >}}
213+
{{% code file="service/access/frontend-service.yaml" %}}
214214

215-
{{< codenew file="service/access/frontend-deployment.yaml" >}}
215+
{{% code file="service/access/frontend-deployment.yaml" %}}
216216

217217

218218
<!--

content/zh-cn/docs/tasks/access-application-cluster/ingress-minikube.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ The following manifest defines an Ingress that sends traffic to your Service via
207207

208208
1. 根据下面的 YAML 创建文件 `example-ingress.yaml`
209209

210-
{{< codenew file="service/networking/example-ingress.yaml" >}}
210+
{{% code file="service/networking/example-ingress.yaml" %}}
211211

212212
<!--
213213
1. Create the Ingress object by running the following command:

content/zh-cn/docs/tasks/access-application-cluster/service-access-application-cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Here is the configuration file for the application Deployment:
4545

4646
这是应用程序部署的配置文件:
4747

48-
{{< codenew file="service/access/hello-application.yaml" >}}
48+
{{% code file="service/access/hello-application.yaml" %}}
4949

5050
<!--
5151
1. Run a Hello World application in your cluster:

content/zh-cn/docs/tasks/administer-cluster/quota-api-object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Here is the configuration file for a second PersistentVolumeClaim:
141141

142142
下面是第二个 PersistentVolumeClaim 的配置文件:
143143

144-
{{< codenew file="admin/resource/quota-objects-pvc-2.yaml" >}}
144+
{{% code file="admin/resource/quota-objects-pvc-2.yaml" %}}
145145

146146
<!--
147147
Attempt to create the second PersistentVolumeClaim:

0 commit comments

Comments
 (0)