Skip to content

Commit

Permalink
Merge pull request #16 from firefliesai/feature-sc-54992-explore-assi…
Browse files Browse the repository at this point in the history
…gning-static-ip-to-the-load-balancer

implement loadbalancerIP in the livekit-server helm chart
  • Loading branch information
kumari-shubham authored May 20, 2024
2 parents 405e66f + 5da4b69 commit 0247580
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/livekit-server/templates/turnloadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ metadata:
{{- end }}
spec:
type: {{ default "LoadBalancer" .Values.livekit.turn.serviceType }}
{{- if and (eq .Values.livekit.turn.serviceType "LoadBalancer") (not (empty .Values.turnLoadbalancer.loadBalancerIP)) }}
loadBalancerIP: { { .Values.turnLoadbalancer.loadBalancerIP }}
{{- end }}
ports:
- port: 443
targetPort: {{ .Values.livekit.turn.tls_port }}
Expand Down
1 change: 1 addition & 0 deletions charts/livekit-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ loadBalancer:

turnLoadbalancer:
enable: true
loadBalancerIP: ""

autoscaling:
enabled: false
Expand Down

0 comments on commit 0247580

Please sign in to comment.