Skip to content

Instantly share code, notes, and snippets.

@a-type
Created December 10, 2021 20:12
Show Gist options
  • Save a-type/a48f3ec3d472b8329c190d7685d7318c to your computer and use it in GitHub Desktop.
Save a-type/a48f3ec3d472b8329c190d7685d7318c to your computer and use it in GitHub Desktop.
LiveKit k8s manifests
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: livekit-cert
spec:
secretName: livekit-tls
dnsNames:
- livekit.your.domain.com
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: livekit-turn-cert
spec:
secretName: livekit-turn-tls
dnsNames:
- turn.your.domain.com
issuerRef:
name: letsencrypt-production
kind: ClusterIssuer
autoscaling:
enabled: false
maxReplicas: 5
minReplicas: 1
targetCPUUtilizationPercentage: 60
livekit:
keys:
<GENERATE_THIS>: <GENERATE_THIS>
log_level: info
redis:
address: redis-master.your-namespace:6379
rtc:
port_range_end: 60000
port_range_start: 50000
tcp_port: 7801
use_external_ip: true
turn:
domain: turn.your.domain.com
enabled: true
loadBalancerType: gke
secretName: livekit-turn-tls
tls_port: 3478
udp_port: 443
loadBalancer:
tls:
- hosts:
- livekit.your.domain.com
secretName: livekit-tls
type: gke
nodeSelector: {}
replicaCount: 1
resources:
limits:
cpu: "2.0"
memory: 2048Mi
requests:
cpu: "0.5"
memory: 1024Mi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment