-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelay-pv-deploy.yaml
More file actions
41 lines (41 loc) · 931 Bytes
/
relay-pv-deploy.yaml
File metadata and controls
41 lines (41 loc) · 931 Bytes
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
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
k8s-app: rmtp-relay
name: nginx-rmtp-relay
namespace: rmtp
spec:
replicas: 2
selector:
matchLabels:
k8s-app: rmtp-relay
template:
metadata:
labels:
k8s-app: rmtp-relay
spec:
containers:
- name: nginx-rmtp-relay
image: alqutami/rtmp-hls
resources:
limits:
cpu: "200m"
requests:
cpu: "100m"
ports:
- containerPort: 1935
- containerPort: 8080
volumeMounts:
- mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
name: nginx-conf-relay-test-hls
- mountPath: /mnt
name: hls-data
volumes:
- name: nginx-conf-relay-test-hls
configMap:
name: nginx-conf-relay-test-hls
- name: hls-data
persistentVolumeClaim:
claimName: hls-data-pvc