new soft
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
namespace: coturn
|
||||
name: coturn
|
||||
labels:
|
||||
app.kubernetes.io/name: coturn
|
||||
app.kubernetes.io/instance: coturn
|
||||
app.kubernetes.io/version: 0.0.1
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: coturn
|
||||
app.kubernetes.io/instance: coturn
|
||||
app.kubernetes.io/version: 0.0.1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: coturn
|
||||
app.kubernetes.io/instance: coturn
|
||||
app.kubernetes.io/version: 0.0.1
|
||||
spec:
|
||||
hostNetwork: true
|
||||
volumes:
|
||||
- name: conf
|
||||
configMap:
|
||||
name: coturn-conf
|
||||
containers:
|
||||
- name: coturn
|
||||
image: coturn/coturn
|
||||
imagePullPolicy: Always
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 3478
|
||||
initialDelaySeconds: 5
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 3478
|
||||
volumeMounts:
|
||||
- mountPath: /conf
|
||||
name: conf
|
||||
ports:
|
||||
- name: turn-port1
|
||||
containerPort: 3478
|
||||
hostPort: 3478
|
||||
protocol: UDP
|
||||
#- name: turn-port1-tls
|
||||
# containerPort: 5349
|
||||
# hostPort: 5349
|
||||
# protocol: UDP
|
||||
- name: turn-port2
|
||||
containerPort: 3478
|
||||
hostPort: 3478
|
||||
protocol: TCP
|
||||
#- name: turn-port2-tls
|
||||
# containerPort: 5349
|
||||
# hostPort: 5349
|
||||
# protocol: TCP
|
||||
args:
|
||||
- -c /conf/turnserver.conf
|
||||
Reference in New Issue
Block a user