大量更新
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
---
|
||||
# Source: cmii-live-services/templates/cmii-live-proxy-deployment.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
namespace: 命名空间
|
||||
name: cmii-live-live-proxy
|
||||
labels:
|
||||
app: live-proxy
|
||||
chart: cmii-live-services-1.0.0
|
||||
release: cmii-live
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: http
|
||||
port: 7081
|
||||
targetPort: http
|
||||
nodePort: 37081
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: live-proxy
|
||||
release: cmii-live
|
||||
---
|
||||
# Source: cmii-live-services/templates/cmii-live-proxy-deployment.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: 命名空间
|
||||
name: cmii-live-live-proxy
|
||||
labels:
|
||||
app: live-proxy
|
||||
chart: cmii-live-services-1.0.0
|
||||
release: cmii-live
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: live-proxy
|
||||
release: cmii-live
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: live-proxy
|
||||
release: cmii-live
|
||||
spec:
|
||||
containers:
|
||||
- name: live-proxy
|
||||
image: "镜像仓库/cmii/cmii-live-proxy:v1.0.3"
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 7081
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: LIVE_IP_PRIVATE
|
||||
value: "固定主机内网IP"
|
||||
- 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_OP_PORT_HTTP
|
||||
value: "37086"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /proxy/application.yaml
|
||||
subPath: application.yaml
|
||||
- name: shared-data
|
||||
mountPath: /cmii/uploads
|
||||
subPath: uploads
|
||||
resources:
|
||||
limits:
|
||||
cpu: "1"
|
||||
memory: 2Gi
|
||||
requests:
|
||||
cpu: "1"
|
||||
memory: 1Gi
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: cmii-live-live-proxy-config
|
||||
- name: shared-data
|
||||
persistentVolumeClaim:
|
||||
claimName: cmii-live-shared-data-pvc
|
||||
imagePullSecrets:
|
||||
- name: harborsecret
|
||||
Reference in New Issue
Block a user