This commit is contained in:
zeaslity
2024-10-30 16:30:51 +08:00
commit 437acbeb63
3363 changed files with 653948 additions and 0 deletions

View File

@@ -0,0 +1,107 @@
global:
# override all applications
image:
repository: harbor.cdcyy.com.cn/cmii # override all applications image repository
tag: "3.2.1" # override all applications' image tag/version
pullPolicy: Always # override all applications' image pullPolicy
domain:
TenantEnvironment: "demo" # which will affect the chosen of frontend AppClientId, and the swagger url of backend Application.
# if just PublicIP:Port is actually deployed, a fake domain and ingress-nginx http port should be assigned
DeployDomainName: "www.demo.uavcmlc.com:18000"
IsPrivateDeployment: true # 是否是私有化部署
ingress:
# tls should be placed in frontend dedicated nginx, this can be enabled in exactly situation
# please don't modify this unless you know what exactly you are doing
tls_enabled: false
middlewareService:
type: ClusterIP
appServiceType:
backend: ClusterIP
frontend: ClusterIP
pvc:
storageClass: heketi-glusterfs-distribute
affinity: {} # don't modify this unless you know the whole application of affinity
nodeAffinityPreset: # just modify this for nodeAffinity
type: hard
key: uavcloud.env
values:
- "demo"
enabled:
enabled: false # 总开关控制srs是否开启
webrtc: true # 开启默认的web rtc模式
cluster: false # 是否开启集群模式,集群模式下 webrtc低时延功能不可用
nginx: false
hook: true # 默认需要开启,鉴权模式
ingress: false
rtsp: false # rtsp业务默认不部署
deploy:
name: helm-srs
harbor:
secret: harborsecret
ingress:
domain: ig-dev.uavcmlc.com
port: 31500
tls:
enabled: true
apps:
mysql:
endpoint: helm-mysql:3306
username: k8s_admin
password: fP#UaH6qQ3)8
srs:
image:
srs: "ossrs/srs:v4.0-b9"
oss: "cmii-srs-oss-adaptor:v1.0.0-no-retention"
op: "cmii-srs-operator:v1.0.0"
nginx: "nginx:1.21.3"
replicas: # 集群模式才有用处
origin: 1
edge: 3
nginx: 2
rtc: 1 # 默认单实例,双实例无效!
op: 1
oss:
endpoint: https://oss.dev.uavcmlc.com # 需要和minio部署的公网地址保持一致
ak: ossuser
sk: TgGiAHxF.r@Q6
bucket: srs-hls
ports:
rtmp: 30935
rtc: 30090
api: 30985
flv: 30080
hls: 30088
storage:
pvc: glusterfs-middleware-srs-pvc
size: 10Gi # 大小待议
class: emptyDir # 不需要修改此部分
service: # service-headless 的名称
headless:
og: srs-og
rtc: srs-rtc
rtsp: # 对外部署大概率不使用,无需修改!
ports:
rtsp: 30554
cmlc-live-rtsp:
apps:
rtsp:
enable: false # 从这里控制开关!--废弃
ports:
rtsp: 30554
rtp: 30556
deploy:
name: helm-srs
harbor:
secret: harborsecret
k8s:
affinity:
node: common
ingress:
domain: ig-dev.uavcmlc.com