-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Egress is already deployed in staging. But, while working locally on feature relying on Egress, it's not suitable to test your development or iterate. Especially I'll need to test the connection between the Egress and the minio bucket in my next PR. We faced quite a few issue while starting the whole stack. Egress didn't want to start. Its connection with the livekit server while the egress participant was joining the room was not successful. The Turn part of the livekit server helm chart was activated. We needed to update few values to in the helm configuration to enabled this turn. Updated CoreDNS to expose Egress pod. Egress tries connecting to MinIO at 127.0.0.1, where no instance exists. Using minio.127.0.0.1.nip.io resolves to 127.0.0.1, causing Egress to connect to itself for uploads. The CoreDNS rewrite directs this to the Ingress IP, correctly routing to MinIO.
- Loading branch information
1 parent
427b23c
commit f7ed70d
Showing
4 changed files
with
96 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
replicaCount: 1 | ||
terminationGracePeriodSeconds: 18000 | ||
|
||
egress: | ||
log_level: debug | ||
ws_url: ws://livekit-livekit-server:80 | ||
insecure: true | ||
enable_chrome_sandbox: true | ||
{{- with .Values.livekit.keys }} | ||
{{- range $key, $value := . }} | ||
api_key: {{ $key }} | ||
api_secret: {{ $value }} | ||
{{- end }} | ||
{{- end }} | ||
redis: | ||
address: redis-master:6379 | ||
password: pass | ||
s3: | ||
access_key: meet | ||
secret: password | ||
region: local | ||
bucket: meet-media-storage | ||
endpoint: http://minio:9000 | ||
force_path_style: true | ||
|
||
loadBalancer: | ||
type: nginx | ||
annotations: | ||
nginx.ingress.kubernetes.io/rewrite-target: / | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
cert-manager.io/cluster-issuer: "letsencrypt-prod" | ||
tls: | ||
- hosts: | ||
- livekit-egress.127.0.0.1.nip.io | ||
secretName: livekit-egress-dinum-cert | ||
|
||
autoscaling: | ||
enabled: false | ||
minReplicas: 1 | ||
maxReplicas: 5 | ||
|
||
nodeSelector: {} | ||
resources: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters