Added stun/turn yamls

pull/1/head
Clemens Geibel 2 years ago
parent 129ca88dfb
commit 20fac8fe90

@ -0,0 +1,42 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
namespace: coturn
name: coturn
labels:
app.kubernetes.io/name: coturn
app.kubernetes.io/instance: coturn
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: coturn
app.kubernetes.io/instance: coturn
template:
metadata:
labels:
app.kubernetes.io/name: coturn
app.kubernetes.io/instance: coturn
spec:
hostNetwork: true
containers:
- name: coturn
image: coturn/coturn:4.5.2-r11
imagePullPolicy: IfNotPresent
ports:
- name: turn-port1-udp
containerPort: 3478
hostPort: 3478
protocol: UDP
- name: turn-port1-tcp
containerPort: 3478
hostPort: 3478
protocol: TCP
- name: turn-port2-udp
containerPort: 5349
hostPort: 5349
protocol: UDP
- name: turn-port2-tcp
containerPort: 5349
hostPort: 5349
protocol: TCP

@ -0,0 +1,31 @@
apiVersion: v1
kind: Service
metadata:
name: coturn
namespace: coturn
labels:
app.kubernetes.io/name: coturn
app.kubernetes.io/instance: coturn
spec:
type: ClusterIP
ports:
- port: 3478
targetPort: 3478
protocol: UDP
name: turn-port1-udp
- port: 3478
targetPort: 3478
protocol: TCP
name: turn-port1-tcp
- port: 5349
targetPort: 5349
protocol: UDP
name: turn-port2-udp
- port: 5349
targetPort: 5349
protocol: TCP
name: turn-port2-tcp
selector:
app.kubernetes.io/name: coturn
app.kubernetes.io/instance: coturn
Loading…
Cancel
Save