This commit is contained in:
parent
fb74b6c6d7
commit
0a626e7b0e
37
torrenter/prowlarr/prowlarr-deployment.yaml
Normal file
37
torrenter/prowlarr/prowlarr-deployment.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: prowlarr
|
||||
namespace: torrent-ns
|
||||
labels:
|
||||
app: prowlarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: torrenter-apps
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: torrenter-apps
|
||||
spec:
|
||||
containers:
|
||||
- name: prowlarr
|
||||
image: lscr.io/linuxserver/prowlarr:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
ports:
|
||||
- containerPort: 9696
|
||||
volumeMounts:
|
||||
- name: prowlarr-data
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: prowlarr-data
|
||||
persistentVolumeClaim:
|
||||
claimName: prowlarr-pvc
|
||||
|
13
torrenter/prowlarr/prowlarr-pvc.yaml
Normal file
13
torrenter/prowlarr/prowlarr-pvc.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: prowlarr-pvc
|
||||
namespace: torrent-ns
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
|
13
torrenter/torrenter-service.yaml
Normal file
13
torrenter/torrenter-service.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: torrenter-service
|
||||
namespace: torrent-ns
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 9696
|
||||
targetPort: 9696
|
||||
selector:
|
||||
app: torrenter-apps
|
||||
|
Loading…
Reference in New Issue
Block a user