-
Notifications
You must be signed in to change notification settings - Fork 63
/
ingress-sample.yaml
90 lines (77 loc) · 2.25 KB
/
ingress-sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
replicaCount: 1
# Suggested value for gracefully terminate the pod: 3 hours
terminationGracePeriodSeconds: 10800
ingress:
api_key: "server-api-key"
api_secret: "server-api-secret"
ws_url: "ws://livekit-host:<port>"
logging:
level: info
health_port: 7888
prometheus_port: 7889
http_relay_port: 9090
rtmp_port: 1935
whip_port: 8080
rtc_config:
use_external_ip: true
udp_port: 7885
redis:
address: <redis_host:port>
# db: 0
# username:
# password:
# use_tls: false
cpu_cost:
rtmp_cpu_cost: 2.0
whip_cpu_cost: 2.0
whip_bypass_transcoding_cpu_cost: 0.1
# set the Kubernetes serviceType for the ingress service. By default it sets it to "LoadBalancer"
# See kubernetes serviceTypes on official documentation: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
serviceType: "LoadBalancer"
# autoscaling requires resources to be defined
autoscaling:
# set to true to enable autoscaling. when set, ignores replicaCount
enabled: false
minReplicas: 1
maxReplicas: 5
targetCPUUtilizationPercentage: 60
# targetMemoryUtilizationPercentage: 60
# for use with prometheus adapter - the ingress service outputs a prometheus metric called livekit_ingress_available
# this can be used to ensure a certain number or percentage of instances are available
# custom:
# metricName: my_metric_name
# targetAverageValue: 70
# if ingress should run only on specific nodes
# this can be used to isolate designated nodes
nodeSelector: {}
# node.kubernetes.io/instance-type: c5.2xlarge
resources: {}
# requests:
# cpu: 5000m
# memory: 1024Mi
# limits:
# cpu: 8000m
# memory: 2048Mi
serviceAccount:
# Specifies whether a service account should be created
create: false
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podAnnotations:
sidecar.istio.io/inject: "false"
linkerd.io/inject: disabled
podSecurityContext: {}
# fsGroup: 2000
securityContext:
{}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
tolerations: []
affinity: {}