forked from jtsimoes/EGS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingress.yaml
54 lines (53 loc) · 1.26 KB
/
ingress.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ressellr
namespace: egs-ressellr
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/frontend-entry-points: http,https
traefik.ingress.kubernetes.io/redirect-entry-point: https
traefik.ingress.kubernetes.io/redirect-permanent: "true"
spec:
rules:
- host: app-ressellr.k3s
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: frontend-service
port:
number: 80
- path: /messages
pathType: Prefix
backend:
service:
name: messages-service
port:
number: 80
- path: /payment
pathType: Prefix
backend:
service:
name: payment-service
port:
number: 80
- path: /stock
pathType: Prefix
backend:
service:
name: stock-service
port:
number: 80
- host: googleauth.duckdns.org
http:
paths:
- path: /authorize
pathType: Prefix
backend:
service:
name: authentication-service
port:
number: 80