-
Notifications
You must be signed in to change notification settings - Fork 0
/
udr.yaml
71 lines (71 loc) · 1.53 KB
/
udr.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
apiVersion: apps/v1
kind: Deployment
metadata:
name: oai-udr
namespace: oai-cn5g
labels:
app: udr
spec:
selector:
matchLabels:
app: udr
template:
metadata:
labels:
app: udr
spec:
nodeSelector:
nodetype: server
containers:
- name: oai-udr
image: oaisoftwarealliance/oai-udr:latest
ports:
- name: http1
containerPort: 80
protocol: TCP
- name: http2
containerPort: 8080
protocol: TCP
env:
- name: TZ
value: Europe/Paris
- name: MYSQL_IPV4_ADDRESS
value: mysql
- name: MYSQL_USER
value: test
- name: MYSQL_PASS
value: test
- name: MYSQL_DB
value: oai_db
- name: WAIT_MYSQL
value: "120"
- name: USE_FQDN_DNS
value: "yes"
- name: REGISTER_NRF
value: "yes"
- name: NRF_IPV4_ADDRESS
value: nrf
- name: NRF_FQDN
value: nrf.oai-cn5g.svc.cluster.local
- name: USE_HTTP2
value: "yes"
- name: NRF_PORT
value: "8080"
---
apiVersion: v1
kind: Service
metadata:
name: udr
namespace: oai-cn5g
spec:
selector:
app: udr
ports:
- name: http1
protocol: TCP
port: 80
targetPort: 80
- name: http2
protocol: TCP
port: 8080
targetPort: 8080