大量更新
This commit is contained in:
105
999-部署模板/202604-视频流媒体/cmii-live-op-deployment.yaml
Normal file
105
999-部署模板/202604-视频流媒体/cmii-live-op-deployment.yaml
Normal file
@@ -0,0 +1,105 @@
|
||||
---
|
||||
# Source: cmii-live-services/templates/cmii-live-op-deployment.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
namespace: 命名空间
|
||||
name: cmii-live-operator
|
||||
labels:
|
||||
app: cmii-live-operator
|
||||
chart: cmii-live-services-1.0.0
|
||||
release: cmii-live
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: http
|
||||
port: 7086
|
||||
targetPort: http
|
||||
nodePort: 37086
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: cmii-live-operator
|
||||
release: cmii-live
|
||||
---
|
||||
# Source: cmii-live-services/templates/cmii-live-op-deployment.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: 命名空间
|
||||
name: cmii-live-operator
|
||||
labels:
|
||||
app: cmii-live-operator
|
||||
chart: cmii-live-services-1.0.0
|
||||
release: cmii-live
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: cmii-live-operator
|
||||
release: cmii-live
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: cmii-live-operator
|
||||
release: cmii-live
|
||||
spec:
|
||||
containers:
|
||||
- name: cmii-live-operator
|
||||
image: "镜像仓库/cmii/cmii-live-operator:v5.8.0"
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 7086
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: LIVE_IP_PUBLIC
|
||||
value: "固定主机内网IP"
|
||||
- name: LIVE_IP_PRIVATE
|
||||
value: "固定主机内网IP"
|
||||
- name: LIVE_OP_PORT_HTTP
|
||||
value: "7086"
|
||||
- name: LIVE_WVP_PORT_HTTP
|
||||
value: "7082"
|
||||
- name: LIVE_ZLM_PORT_HTTP
|
||||
value: "7088"
|
||||
- name: LIVE_ZLM_PORT_HTTPS
|
||||
value: "7089"
|
||||
- name: LIVE_ZLM_PORT_RTMP
|
||||
value: "7935"
|
||||
- name: LIVE_ZLM_PORT_RTSP
|
||||
value: "7554"
|
||||
- name: LIVE_ZLM_PORT_SRT
|
||||
value: "7556"
|
||||
- name: LIVE_ZLM_API_PASSWD
|
||||
value: "035c7GB5cc"
|
||||
- name: OSS_ENDPOINT
|
||||
value: "http://helm-minio:9000"
|
||||
- name: OSS_AK
|
||||
value: "cmii"
|
||||
- name: OSS_SK
|
||||
value: "B#923fC7mk"
|
||||
- name: RABBITMQ_HOST
|
||||
value: "helm-rabbitmq"
|
||||
- name: RABBITMQ_USERNAME
|
||||
value: "admin"
|
||||
- name: RABBITMQ_PASSWORD
|
||||
value: "nYcRN91r._hj"
|
||||
- name: RABBITMQ_PORT
|
||||
value: "5672"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /cmii/application.yaml
|
||||
subPath: application.yaml
|
||||
resources:
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: "1"
|
||||
memory: 1Gi
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: cmii-live-operator-config
|
||||
imagePullSecrets:
|
||||
- name: harborsecret
|
||||
Reference in New Issue
Block a user