blob: e443551ce43d0b81e2e4d37fd1ac059c5788e6c4 (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: dirlist
namespace: servarr
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: dirlist
app.kubernetes.io/part-of: servarr
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: dirlist
app.kubernetes.io/part-of: servarr
strategy:
type: RollingUpdate
template:
metadata:
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: dirlist
app.kubernetes.io/part-of: servarr
spec:
nodeName: "mieshu.tyil.net"
containers:
- image: docker.io/svenstaro/miniserve:latest
args:
- --enable-tar
- --enable-tar-gz
- --qrcode
- /var/www
name: miniserve
ports:
- containerPort: 8080
volumeMounts:
- mountPath: /var/www/anime-movies
name: anime-movies
readOnly: true
- mountPath: /var/www/anime-series
name: anime-series
readOnly: true
- mountPath: /var/www/books
name: books
readOnly: true
- mountPath: /var/www/movies
name: movies
readOnly: true
- mountPath: /var/www/music
name: music
readOnly: true
- mountPath: /var/www/series
name: series
readOnly: true
restartPolicy: Always
volumes:
- name: anime-series
hostPath:
path: /mnt/pool/media/anime-series/exported
type: Directory
- name: anime-movies
hostPath:
path: /mnt/pool/media/anime-movies/exported
type: Directory
- name: books
hostPath:
path: /mnt/pool/media/books/exported
type: Directory
- name: movies
hostPath:
path: /mnt/pool/media/movies/exported
type: Directory
- name: music
hostPath:
path: /mnt/pool/media/music/exported
type: Directory
- name: series
hostPath:
path: /mnt/pool/media/series/exported
type: Directory
...
|