apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
labels:
|
|
app: eshop
|
|
component: frontend
|
|
name: eshop-ingress
|
|
annotations:
|
|
ingress.kubernetes.io/ssl-redirect: "false"
|
|
spec:
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- path: /basket-api
|
|
backend:
|
|
serviceName: ocelot
|
|
servicePort: 80
|
|
- path: /catalog-api
|
|
backend:
|
|
serviceName: ocelot
|
|
servicePort: 80
|
|
- path: /identity
|
|
backend:
|
|
serviceName: identity
|
|
servicePort: 80
|
|
- path: /ordering-api
|
|
backend:
|
|
serviceName: ocelot
|
|
servicePort: 80
|
|
- path: /webmvc
|
|
backend:
|
|
serviceName: webmvc
|
|
servicePort: 80
|
|
- path: /webstatus
|
|
backend:
|
|
serviceName: webstatus
|
|
servicePort: 80
|
|
- path: /marketing-api
|
|
backend:
|
|
serviceName: ocelot
|
|
servicePort: 80
|
|
- path: /payment-api
|
|
backend:
|
|
serviceName: ocelot
|
|
servicePort: 80
|
|
- path: /locations-api
|
|
backend:
|
|
serviceName: ocelot
|
|
servicePort: 80
|
|
- path: /
|
|
backend:
|
|
serviceName: webspa
|
|
servicePort: 80
|
|
- path: /ocelot
|
|
backend:
|
|
serviceName: ocelot
|
|
servicePort: 80
|
|
|
|
|