Update ingress-controllers.md (#33408)

* Update ingress-controllers.md

Signed-off-by: bin.hui <bin.hui@daocloud.io>

* Update content/zh/docs/concepts/services-networking/ingress-controllers.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

* Update content/zh/docs/concepts/services-networking/ingress-controllers.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
ihuibin
2022-05-28 16:24:16 +08:00
committed by GitHub
parent bcc5507d79
commit 4428e178d1
@@ -158,8 +158,9 @@ You mark an IngressClass as default by setting the [`ingressclass.kubernetes.io/
Ideally, all ingress controllers should fulfill this specification, but the various ingress Ideally, all ingress controllers should fulfill this specification, but the various ingress
controllers operate slightly differently. controllers operate slightly differently.
--> -->
如果你不为 Ingress 指定一个 IngressClass,并且你的集群中只有一个 IngressClass 被标记为了集群默认,那么 如果你不为 Ingress 指定 IngressClass,并且你的集群中只有一个 IngressClass 被标记为默认,那么
Kubernetes 会[应用](/zh/docs/concepts/services-networking/ingress/#default-ingress-class)此默认 Kubernetes 会将此集群的默认 IngressClass
[应用](/zh/docs/concepts/services-networking/ingress/#default-ingress-class)到 Ingress 上。
IngressClass。 IngressClass。
你可以通过将 你可以通过将
[`ingressclass.kubernetes.io/is-default-class` 注解](/zh/docs/reference/labels-annotations-taints/#ingressclass-kubernetes-io-is-default-class) [`ingressclass.kubernetes.io/is-default-class` 注解](/zh/docs/reference/labels-annotations-taints/#ingressclass-kubernetes-io-is-default-class)