The battle rages on
This commit is contained in:
parent
d2c050d4a6
commit
cd12f736ee
5 changed files with 120 additions and 2 deletions
55
apps-kustomized/prowlarr/deploy.yaml
Normal file
55
apps-kustomized/prowlarr/deploy.yaml
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: prowlarr
|
||||||
|
name: prowlarr
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: prowlarr
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: prowlarr
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: hotio/prowlarr:release-1.31.2.4975
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: prowlarr
|
||||||
|
ports:
|
||||||
|
- containerPort: 9696
|
||||||
|
name: http
|
||||||
|
protocol: TCP
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 25m
|
||||||
|
memory: 628694953
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config
|
||||||
|
name: config
|
||||||
|
- mountPath: /data
|
||||||
|
name: data
|
||||||
|
- mountPath: /series
|
||||||
|
name: series
|
||||||
|
- mountPath: /combinedseries
|
||||||
|
name: combinedseries
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
restartPolicy: Always
|
||||||
|
schedulerName: default-scheduler
|
||||||
|
terminationGracePeriodSeconds: 30
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: prowlarr-config-data
|
||||||
|
- name: series
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: smb-series
|
||||||
|
- name: combinedseries
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: smb-combinedseries
|
||||||
|
- name: data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: smb-usenet
|
||||||
35
apps-kustomized/prowlarr/pvc-smb.yaml
Normal file
35
apps-kustomized/prowlarr/pvc-smb.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: smb-series
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: smb-series
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: smb-combinedseries
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: smb-combinedseries
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: smb-usenet
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: smb-usenet
|
||||||
13
apps-kustomized/prowlarr/pvc.yaml
Normal file
13
apps-kustomized/prowlarr/pvc.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: prowlarr
|
||||||
|
name: prowlarr-config-data
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: longhorn-fast
|
||||||
15
apps-kustomized/prowlarr/svc.yaml
Normal file
15
apps-kustomized/prowlarr/svc.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: prowlarr.martyn.berlin
|
||||||
|
labels:
|
||||||
|
app: prowlarr
|
||||||
|
name: prowlarr
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- targetPort: 9696
|
||||||
|
port: 80
|
||||||
|
selector:
|
||||||
|
app: prowlarr
|
||||||
|
type: LoadBalancer
|
||||||
|
|
@ -25,9 +25,9 @@ spec:
|
||||||
- name: WHOOGLE_CONFIG_SEARCH_LANGUAGE
|
- name: WHOOGLE_CONFIG_SEARCH_LANGUAGE
|
||||||
value: en
|
value: en
|
||||||
- name: WHOOGLE_USER_AGENT
|
- name: WHOOGLE_USER_AGENT
|
||||||
value: BlackBerry7100/4.0.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
|
value: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC; 240x320) Opera 8.65 [nl]
|
||||||
- name: WHOOGLE_MOBILE_USER_AGENT
|
- name: WHOOGLE_MOBILE_USER_AGENT
|
||||||
value: BlackBerry7100/4.0.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
|
value: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; PPC; 240x320) Opera 8.65 [nl]
|
||||||
image: benbusby/whoogle-search:0.9.4
|
image: benbusby/whoogle-search:0.9.4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue