Skip to content

Commit

Permalink
[zh]Update content/zh/examples/service/networking/minimal-ingress.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kinzhi committed Apr 25, 2022
1 parent a49bb7f commit 3af7b0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/zh/docs/tutorials/stateless-application/guestbook.md
Expand Up @@ -362,7 +362,11 @@ The `Redis` Services you applied is only accessible within the Kubernetes cluste
`ClusterIP` 为服务指向的 Pod 集提供一个 IP 地址。这个 IP 地址只能在集群中访问。

<!--
If you want guests to be able to access your guestbook, you must configure the frontend Service to be externally visible, so a client can request the Service from outside the Kubernetes cluster. However a Kubernetes user you can use `kubectl port-forward` to access the service even though it uses a `ClusterIP`.
If you want guests to be able to access your guestbook, you must configure the
frontend Service to be externally visible, so a client can request the Service
from outside the Kubernetes cluster. However a Kubernetes user can use
`kubectl port-forward` to access the service even though it uses a
`ClusterIP`.
-->
如果你希望访客能够访问你的 Guestbook,你必须将前端服务配置为外部可见的,
以便客户端可以从 Kubernetes 集群之外请求服务。
Expand Down
Expand Up @@ -5,6 +5,7 @@ metadata:
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx-example
rules:
- http:
paths:
Expand Down

0 comments on commit 3af7b0a

Please sign in to comment.