This commit is contained in:
parent
f6dc400df1
commit
4ebf59f2b2
18
manifests/03-ingress/web2-ingress.yaml
Normal file
18
manifests/03-ingress/web2-ingress.yaml
Normal file
@ -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: /v2
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: web2
|
||||||
|
port:
|
||||||
|
number: 8080
|
Loading…
Reference in New Issue
Block a user