106 lines
2.8 KiB
YAML
106 lines
2.8 KiB
YAML
---
|
|
# Source: cmii-live-services/templates/cmii-live-op-deployment.yaml
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
namespace: sc-cd-uav-260207
|
|
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: sc-cd-uav-260207
|
|
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: "172.22.106.77:8033/cmii/cmii-live-operator:v5.8.0"
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- name: http
|
|
containerPort: 7086
|
|
protocol: TCP
|
|
env:
|
|
- name: LIVE_IP_PUBLIC
|
|
value: "172.22.106.77"
|
|
- name: LIVE_IP_PRIVATE
|
|
value: "172.22.106.77"
|
|
- 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
|