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
| kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: gitlab.test.com
namespace: nginx-ingress
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-connect-timeout: '3600'
nginx.ingress.kubernetes.io/proxy-read-timeout: '3600'
nginx.ingress.kubernetes.io/proxy-send-timeout: '3600'
nginx.ingress.kubernetes.io/send-timeout: '3600'
nginx.ingress.kubernetes.io/server-snippet: |
location ~ / {
proxy_pass http://10.10.10.101:8084;
}
spec:
rules:
- host: gitlab.test.com
http:
paths:
- path: /
backend:
serviceName: nginx-ingress-default-backend
servicePort: 8080
status:
loadBalancer:
ingress:
- {}
|