-
Notifications
You must be signed in to change notification settings - Fork 1
/
k8s_ingress.yaml
56 lines (56 loc) · 1.53 KB
/
k8s_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
55
56
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: uaicontrole-ingress
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.org/client-max-body-size: "50m"
nginx.ingress.kubernetes.io/proxy-read-timeout: "1800"
nginx.ingress.kubernetes.io/proxy-send-timeout: "1800"
nginx.ingress.kubernetes.io/websocket-services: servico-uaigateway
nginx.org/websocket-services: servico-uaigateway
# nginx.ingress.kubernetes.io/configuration-snippet: |
# proxy_http_version 1.1;
# proxy_set_header Upgrade "websocket";
# proxy_set_header Connection "Upgrade";
spec:
# backend:
# serviceName: servico-uaigateway
# servicePort: 5555
rules:
- host: teste-case.local
http:
paths:
- backend:
serviceName: servico-uaigateway
servicePort: 5555
- host: teste-case
http:
paths:
- backend:
serviceName: servico-uaigateway
servicePort: 5555
- host: uaicontroleteste.ddns.net
http:
paths:
- backend:
serviceName: servico-uaigateway
servicePort: 5555
- host: uaicontrolejenkins.ddns.net
http:
paths:
- backend:
serviceName: jenkins
servicePort: 8080
- host: uaicontroledelivery.ddns.net
http:
paths:
- backend:
serviceName: servico-uaidelivery
servicePort: 8081
- host: uaicontroleactivemq.ddns.net
http:
paths:
- backend:
serviceName: servico-activemq
servicePort: 8080