liveliness probes for a bunch of stuff + tdarr implementation and
soulseek (slskd+soularr) integration
This commit is contained in:
41
k8s_manifests/slskd/deployment.yaml
Normal file
41
k8s_manifests/slskd/deployment.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: slskd
|
||||
labels:
|
||||
app.kubernetes.io/name: slskd
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: slskd
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: slskd
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-vol
|
||||
nfs:
|
||||
server: 192.168.0.99
|
||||
path: /mnt/test1/media/Music
|
||||
- name: config
|
||||
nfs:
|
||||
server: 192.168.0.99
|
||||
path: /mnt/test1/media/config/slskd/
|
||||
containers:
|
||||
- name: slskd
|
||||
image: slskd/slskd:latest
|
||||
env:
|
||||
- name: SLSKD_REMOTE_CONFIGURATION
|
||||
value: "true"
|
||||
ports:
|
||||
- containerPort: 5030
|
||||
- containerPort: 5031
|
||||
- containerPort: 50300
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: nfs-vol
|
||||
mountPath: /app
|
||||
|
14
k8s_manifests/slskd/service.yaml
Normal file
14
k8s_manifests/slskd/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-slskd
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: slskd
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 5030
|
||||
|
||||
|
Reference in New Issue
Block a user