57 lines
1.2 KiB
YAML
57 lines
1.2 KiB
YAML
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: coturn-udp
|
|
namespace: coturn
|
|
labels:
|
|
app.kubernetes.io/name: coturn
|
|
app.kubernetes.io/instance: coturn
|
|
app.kubernetes.io/version: 0.0.1
|
|
spec:
|
|
type: ClusterIP
|
|
ipFamilyPolicy: PreferDualStack
|
|
ipFamilies:
|
|
- IPv4
|
|
ports:
|
|
- port: 3478
|
|
targetPort: 3478
|
|
protocol: UDP
|
|
name: turn-port1
|
|
#- port: 5349
|
|
# targetPort: 5349
|
|
# protocol: UDP
|
|
# name: turn-port1-tls
|
|
selector:
|
|
app.kubernetes.io/name: coturn
|
|
app.kubernetes.io/instance: coturn
|
|
app.kubernetes.io/version: 0.0.1
|
|
---
|
|
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: coturn-tcp
|
|
namespace: coturn
|
|
labels:
|
|
app.kubernetes.io/name: coturn
|
|
app.kubernetes.io/instance: coturn
|
|
app.kubernetes.io/version: 0.0.1
|
|
spec:
|
|
type: ClusterIP
|
|
ipFamilyPolicy: PreferDualStack
|
|
ipFamilies:
|
|
- IPv4
|
|
ports:
|
|
- port: 3478
|
|
targetPort: 3478
|
|
protocol: TCP
|
|
name: turn-port2
|
|
#- port: 5349
|
|
# targetPort: 5349
|
|
# protocol: TCP
|
|
# name: turn-port2-tls
|
|
selector:
|
|
app.kubernetes.io/name: coturn
|
|
app.kubernetes.io/instance: coturn
|
|
app.kubernetes.io/version: 0.0.1 |