-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingress.yml
80 lines (80 loc) · 2.47 KB
/
ingress.yml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# ingress gke gce
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: production
name: production-abdi
annotations:
kubernetes.io/ingress.class: "gce"
kubernetes.io/ingress.global-static-ip-name: "production-ingress-ip"
networking.gke.io/managed-certificates: "production-ingress-ssl-1,production-ingress-ssl-2,production-ingress-ssl-3,production-ingress-ssl-4"
spec:
rules:
- host: "www.abdidarmawan.com"
http:
paths:
- path: "/*"
pathType: ImplementationSpecific # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-frontend
port:
number: 8080
- host: "blog.abdidarmawan.com"
http:
paths:
- path: "/*"
pathType: ImplementationSpecific # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-blog
port:
number: 8080
- host: "dashboard.abdidarmawan.id"
http:
paths:
- path: "/*"
pathType: ImplementationSpecific # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-dasboard
port:
number: 8080
- host: "api.abdidarmawan.com"
http:
paths:
- path: "/v1/"
pathType: Prefix # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-api-legacy
port:
number: 8080
- path: "/v2/email/"
pathType: Prefix # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-api-email
port:
number: 8080
- path: "/v2/push/"
pathType: Prefix # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-api-push
port:
number: 8080
- path: "/v2/customer/"
pathType: Prefix # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-api-customer
port:
number: 8080
- path: "/v2/register/"
pathType: Prefix # (Exact,Prefix or ImplementationSpecific)
backend:
service:
name: production-api-register
port:
number: 8080