-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding gke-vpc-native loadbalancer configuration (#66)
* adding gke-vpc-native loadbalancer configuration * fix closing range and clean over added {{- end}}
- Loading branch information
Showing
5 changed files
with
61 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Deploy LiveKit into a VPC-native GKE cluster | ||
# see https://cloud.google.com/kubernetes-engine/docs/concepts/alias-ips | ||
|
||
replicaCount: 2 | ||
|
||
# Refer to https://docs.livekit.io/deploy/kubernetes/ for instructions | ||
|
||
livekit: | ||
rtc: | ||
use_external_ip: true | ||
redis: | ||
address: <redis-address>:6379 | ||
keys: | ||
<key>: <secret> | ||
turn: | ||
enabled: true | ||
domain: <turn-address> | ||
tls_port: 3478 | ||
secretName: <turn-tls-secret> | ||
|
||
loadBalancer: | ||
type: gke-vpc-native | ||
tls: | ||
- hosts: | ||
- <server-address> | ||
secretName: <server-tls-secret> | ||
|
||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 5 | ||
targetCPUUtilizationPercentage: 60 | ||
|
||
# resources are set assuming a 8 core instance | ||
resources: | ||
limits: | ||
cpu: 7500m | ||
memory: 2048Mi | ||
requests: | ||
cpu: 7000m | ||
memory: 1024Mi |
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
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