wq
euh§
This commit is contained in:
Binary file not shown.
Binary file not shown.
BIN
k8s_manifests/.ingress.yaml.swp
Normal file
BIN
k8s_manifests/.ingress.yaml.swp
Normal file
Binary file not shown.
61
k8s_manifests/beets/deployment.yaml
Normal file
61
k8s_manifests/beets/deployment.yaml
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: beets
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: beets
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: beets
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: beets
|
||||||
|
spec:
|
||||||
|
volumes:
|
||||||
|
- name: downloads
|
||||||
|
nfs:
|
||||||
|
server: 192.168.0.99
|
||||||
|
path: /mnt/test1/media/Music/downloads
|
||||||
|
- name: library
|
||||||
|
nfs:
|
||||||
|
server: 192.168.0.99
|
||||||
|
path: /mnt/test1/media/Music/library
|
||||||
|
- name: config
|
||||||
|
nfs:
|
||||||
|
server: 192.168.0.99
|
||||||
|
path: /mnt/test1/media/config/beets/
|
||||||
|
containers:
|
||||||
|
- name: beets
|
||||||
|
image: lscr.io/linuxserver/beets:latest
|
||||||
|
#livenessProbe:
|
||||||
|
# exec:
|
||||||
|
# command:
|
||||||
|
# - cat
|
||||||
|
# - /tmp/FAILNOW
|
||||||
|
# # httpGet:
|
||||||
|
# # path: /health
|
||||||
|
# # port: 5030
|
||||||
|
# initialDelaySeconds: 21600 #reboot server every quarter day
|
||||||
|
# #initialDelaySeconds: 60
|
||||||
|
# failureThreshold: 2
|
||||||
|
# periodSeconds: 10
|
||||||
|
env:
|
||||||
|
- name: PUID
|
||||||
|
value: "1000"
|
||||||
|
- name: PGID
|
||||||
|
value: "1000"
|
||||||
|
- name: TZ
|
||||||
|
value: "Etc/UTC"
|
||||||
|
ports:
|
||||||
|
- containerPort: 8337
|
||||||
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
- name: downloads
|
||||||
|
mountPath: /downloads
|
||||||
|
- name: library
|
||||||
|
mountPath: /music
|
||||||
|
|
||||||
14
k8s_manifests/beets/service.yaml
Normal file
14
k8s_manifests/beets/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: svc-beets
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: beets
|
||||||
|
ports:
|
||||||
|
- name: webui
|
||||||
|
protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 8337
|
||||||
|
|
||||||
|
|
||||||
@@ -15,6 +15,16 @@ spec:
|
|||||||
name: svc-truenas
|
name: svc-truenas
|
||||||
port:
|
port:
|
||||||
number: 443
|
number: 443
|
||||||
|
- host: "beets.local"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: svc-beets
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
- host: "pinry.local"
|
- host: "pinry.local"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
37
k8s_manifests/ngircd/deployment.yaml
Normal file
37
k8s_manifests/ngircd/deployment.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: ngircd
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: ngircd
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: ngircd
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: ngircd
|
||||||
|
spec:
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
nfs:
|
||||||
|
server: 192.168.0.99
|
||||||
|
path: /mnt/test1/media/config/ngircd/
|
||||||
|
containers:
|
||||||
|
- name: ngircd
|
||||||
|
image: lscr.io/linuxserver/ngircd:latest
|
||||||
|
env:
|
||||||
|
- name: PUID
|
||||||
|
value: "1000"
|
||||||
|
- name: PGID
|
||||||
|
value: "1000"
|
||||||
|
- name: TZ
|
||||||
|
value: Etc/UTC
|
||||||
|
ports:
|
||||||
|
- containerPort: 6667
|
||||||
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
|
||||||
16
k8s_manifests/ngircd/service.yaml
Normal file
16
k8s_manifests/ngircd/service.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: svc-ngircd
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: ngircd
|
||||||
|
ports:
|
||||||
|
- name: irc
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 6667
|
||||||
|
port: 36667
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
path: /mnt/test1/media/config/readarr
|
path: /mnt/test1/media/config/readarr
|
||||||
containers:
|
containers:
|
||||||
- name: readarr
|
- name: readarr
|
||||||
image: ghcr.io/hotio/readarr:latest
|
image: ghcr.io/pennydreadful/bookshelf:hardcover
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
|
|||||||
Reference in New Issue
Block a user