Merge pull request #24510 from tengqm/zh-sync-ingress-change

[zh] Sync changes to Ingress example
This commit is contained in:
Kubernetes Prow Robot
2020-10-13 21:45:54 -07:00
committed by GitHub
2 changed files with 20 additions and 21 deletions
@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: example-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- host: hello-world.info
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: web
port:
number: 8080