Merge pull request #24224 from miry/update-ingress-example-with-new-api-ja

[ja] Use apiversion networking.k8s.io/v1 for ingress
This commit is contained in:
Kubernetes Prow Robot
2021-03-17 10:34:32 -07:00
committed by GitHub
2 changed files with 27 additions and 25 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