This commit is contained in:
parent
4ebf59f2b2
commit
571f0b4018
@ -1,18 +1,18 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: example-ingress
|
name: example-ingress
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: hello-world.info
|
- host: hello-world.info
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /v2
|
- path: /v2
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: web2
|
name: web2
|
||||||
port:
|
port:
|
||||||
number: 8080
|
number: 8080
|
Loading…
Reference in New Issue
Block a user