Skip to content

Commit ac425ae

Browse files
authored
Merge pull request #33067 from kinzhi/kinzhi13
[zh]update file content/zh/docs/concepts/services-networking/ingress.md
2 parents c1294b4 + 1e6e5ad commit ac425ae

File tree

1 file changed

+2
-2
lines changed
  • content/zh/docs/concepts/services-networking

1 file changed

+2
-2
lines changed

content/zh/docs/concepts/services-networking/ingress.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ A minimal Ingress resource example:
137137
{{< codenew file="service/networking/minimal-ingress.yaml" >}}
138138

139139
<!--
140-
As with all other Kubernetes resources, an Ingress needs `apiVersion`, `kind`, and `metadata` fields.
140+
An Ingress needs `apiVersion`, `kind`, `metadata` and `spec` fields.
141141
The name of an Ingress object must be a valid
142142
[DNS subdomain name](/docs/concepts/overview/working-with-objects/names#dns-subdomain-names).
143143
For general information about working with config files, see [deploying applications](/docs/tasks/run-application/run-stateless-application-deployment/), [configuring containers](/docs/tasks/configure-pod-container/configure-pod-configmap/), [managing resources](/docs/concepts/cluster-administration/manage-deployment/).
@@ -146,7 +146,7 @@ For general information about working with config files, see [deploying applicat
146146
Different [Ingress controllers](/docs/concepts/services-networking/ingress-controllers) support different annotations. Review the documentation for
147147
your choice of Ingress controller to learn which annotations are supported.
148148
-->
149-
与所有其他 Kubernetes 资源一样,Ingress 需要指定 `apiVersion``kind` `metadata` 字段。
149+
Ingress 需要指定 `apiVersion``kind``metadata``spec` 字段。
150150
Ingress 对象的命名必须是合法的 [DNS 子域名名称](/zh/docs/concepts/overview/working-with-objects/names#dns-subdomain-names)
151151
关于如何使用配置文件,请参见[部署应用](/zh/docs/tasks/run-application/run-stateless-application-deployment/)
152152
[配置容器](/zh/docs/tasks/configure-pod-container/configure-pod-configmap/)

0 commit comments

Comments
 (0)