livekit-rtc svc added into repo
This commit is contained in:
parent
e179404d5e
commit
37f996e823
@ -1,11 +1,11 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "livekit.fullname" . }}-rtc
|
name: {{ include "livekit-server.fullname" . }}-rtc
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/name: {{ include "livekit.name" . }}
|
app.kubernetes.io/name: {{ include "livekit-server.name" . }}
|
||||||
purpose: webrtc
|
purpose: webrtc
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml .Values.serviceRtc.annotations | nindent 4 }}
|
{{- toYaml .Values.serviceRtc.annotations | nindent 4 }}
|
||||||
@ -16,12 +16,12 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/name: {{ include "livekit.name" . }}
|
app.kubernetes.io/name: {{ include "livekit-server.name" . }}
|
||||||
ports:
|
ports:
|
||||||
- name: webrtc
|
- name: webrtc
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: {{ .Values.livekit.rtc.tcp_port }}
|
port: {{ .Values.livekit-server.rtc.tcp_port }}
|
||||||
targetPort: {{ .Values.livekit.rtc.tcp_port }}
|
targetPort: {{ .Values.livekit-server.rtc.tcp_port }}
|
||||||
{{- if eq .Values.serviceRtc.type "NodePort" }}
|
{{- if eq .Values.serviceRtc.type "NodePort" }}
|
||||||
nodePort: {{ .Values.serviceRtc.nodePort }}
|
nodePort: {{ .Values.serviceRtc.nodePort }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user