-
Notifications
You must be signed in to change notification settings - Fork 0
/
ing.yml
40 lines (40 loc) · 925 Bytes
/
ing.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
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: ac48167b242a346dfa761105b933db5d-744876516.ap-southeast-1.elb.amazonaws.com
http:
paths:
- path: /home
pathType: Prefix
backend:
service:
name: homeapp-service
port:
number: 80
- path: /mobile
pathType: Prefix
backend:
service:
name: mobileapp-service
port:
number: 80
- path: /nginx
pathType: Prefix
backend:
service:
name: nginx
port:
number: 80
- path: /frontend
pathType: Prefix
backend:
service:
name: frontend-service
port:
number: 8080