-
Notifications
You must be signed in to change notification settings - Fork 1
/
ocs-demo.yaml
58 lines (58 loc) · 1.26 KB
/
ocs-demo.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
### ocs-demo.yaml
###
### SigScale OCS one shot demo instance created from empty db dir
###
kind: Deployment
apiVersion: apps/v1
metadata:
name: sigscale-ocs
labels:
app.kubernetes.io/name: ocs
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: ocs
template:
metadata:
labels:
app.kubernetes.io/name: ocs
app.kubernetes.io/component: 3gpp-ocf
app.kubernetes.io/component: oam
spec:
securityContext:
fsGroup: 1000
initContainers:
- name: ocs-install
image: sigscale/ocs
stdin: true
tty: true
command:
- bin/initialize
volumeMounts:
- mountPath: /home/otp/db
name: db
containers:
- name: ocs
image: sigscale/ocs
stdin: true
tty: true
ports:
- name: diameter
protocol: TCP
containerPort: 3868
- name: radius
protocol: UDP
containerPort: 1812
- name: radius-acct
protocol: UDP
containerPort: 1813
- name: http
protocol: TCP
containerPort: 8080
volumeMounts:
- mountPath: /home/otp/db
name: db
volumes:
- name: db
emptyDir: {}