qbittorrent

This commit is contained in:
Michael Thomson
2023-12-19 15:17:44 -05:00
parent 1783a0a6b7
commit c18b630e72
9 changed files with 20 additions and 23 deletions

View File

@@ -1,26 +1,26 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: deluge name: qbittorrent
namespace: media namespace: media
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: deluge app: qbittorrent
template: template:
metadata: metadata:
labels: labels:
app: deluge app: qbittorrent
spec: spec:
containers: containers:
- name: deluge - name: qbittorrent
image: lscr.io/linuxserver/deluge:latest image: lscr.io/linuxserver/qbittorrent:latest
envFrom: envFrom:
- configMapRef: - configMapRef:
name: deluge-config name: qbittorrent-config
optional: false optional: false
ports: ports:
- containerPort: 8112 - containerPort: 8080
name: http name: http
protocol: TCP protocol: TCP
- containerPort: 6881 - containerPort: 6881
@@ -29,11 +29,8 @@ spec:
- containerPort: 6881 - containerPort: 6881
name: tcp name: tcp
protocol: TCP protocol: TCP
- containerPort: 58846
name: thinclient
protocol: TCP
volumeMounts: volumeMounts:
- name: deluge-config - name: qbittorrent-config
mountPath: /config mountPath: /config
- mountPath: /data/downloads - mountPath: /data/downloads
name: data name: data
@@ -78,9 +75,9 @@ spec:
- mountPath: /data - mountPath: /data
name: data name: data
volumes: volumes:
- name: deluge-config - name: qbittorrent-config
persistentVolumeClaim: persistentVolumeClaim:
claimName: deluge-config claimName: qbittorrent-config
- name: wireguard-config - name: wireguard-config
persistentVolumeClaim: persistentVolumeClaim:
claimName: wireguard-config claimName: wireguard-config

View File

@@ -1,11 +1,11 @@
apiVersion: externaldns.k8s.io/v1alpha1 apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint kind: DNSEndpoint
metadata: metadata:
name: deluge.michaelthomson.dev name: qbittorrent.michaelthomson.dev
namespace: media namespace: media
spec: spec:
endpoints: endpoints:
- dnsName: deluge.michaelthomson.dev - dnsName: qbittorrent.michaelthomson.dev
recordTTL: 180 recordTTL: 180
recordType: CNAME recordType: CNAME
targets: targets:

View File

@@ -1,7 +1,7 @@
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: deluge name: qbittorrent
namespace: media namespace: media
annotations: annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
@@ -9,17 +9,17 @@ metadata:
traefik.ingress.kubernetes.io/router.tls: "true" traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
rules: rules:
- host: deluge.michaelthomson.dev - host: qbittorrent.michaelthomson.dev
http: http:
paths: paths:
- pathType: ImplementationSpecific - pathType: ImplementationSpecific
path: / path: /
backend: backend:
service: service:
name: deluge name: qbittorrent
port: port:
name: http name: http
tls: tls:
- hosts: - hosts:
- deluge.michaelthomson.dev - qbittorrent.michaelthomson.dev
secretName: letsencrypt-wildcard-cert-michaelthomson.dev secretName: letsencrypt-wildcard-cert-michaelthomson.dev

View File

@@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
metadata: metadata:
name: deluge-config name: qbittorrent-config
namespace: media namespace: media
spec: spec:
resources: resources:

View File

@@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: deluge-config name: qbittorrent-config
namespace: media namespace: media
data: data:
PUID: "1000" PUID: "1000"

View File

@@ -1,11 +1,11 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: deluge name: qbittorrent
namespace: media namespace: media
spec: spec:
selector: selector:
app: deluge app: qbittorrent
ports: ports:
- port: 80 - port: 80
targetPort: http targetPort: http