-
Notifications
You must be signed in to change notification settings - Fork 0
/
resize.yaml
40 lines (39 loc) · 939 Bytes
/
resize.yaml
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
metadata:
name: color-model
labels:
app: color-model
spec:
replicas: 1
selector:
matchLabels:
app: color-model
template:
metadata:
labels:
app: color-model
spec:
containers:
- name: color-model
image: jrottenberg/ffmpeg:4.1-ubuntu
env:
- name: LANG
value: 'C.UTF-8'
- name: VIDEOPATH
value: '/pvc'
resources:
requests:
cpu: 1
command: ["/bin/sh", "-ec", "while :; do echo '.'; sleep 5 ; done"]
volumeMounts:
- name: fsmount
mountPath: /networkceph
volumes:
- name: fsmount
flexVolume:
driver: ceph.rook.io/rook
fsType: ceph
options:
fsName: home
clusterNamespace: rook-ceph
imagePullSecrets:
- name: private-registry-auth