-
Notifications
You must be signed in to change notification settings - Fork 0
/
conversion_deployment.yaml
48 lines (48 loc) · 1.09 KB
/
conversion_deployment.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
41
42
43
44
45
46
47
48
piVersion: apps/v1
kind: Deployment
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: willprice/nvidia-ffmpeg:latest
command: [ "sleep" ]
args: [ "infinity" ]
env:
- name: LANG
value: 'C.UTF-8'
- name: VIDEOPATH
value: '/pvc'
resources:
requests:
cpu: 1
limits:
memory: "512G"
nvidia.com/gpu: 1
volumeMounts:
- name: youtube-8m-big-pvc
mountPath: /pvc
- name: dshm
mountPath: /dev/shm
nodeSelector:
gpu: v100
volumes:
- name: dshm
emptyDir:
medium: Memory
- name: youtube-8m-big-pvc
persistentVolumeClaim:
claimName: youtube-8m-big-pvc
imagePullSecrets:
- name: private-registry-auth