added radarr kids
This commit is contained in:
@@ -250,6 +250,8 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
- name: 3hdd
|
||||||
|
mountPath: /mnt/3_hdd
|
||||||
- name: 2hdd
|
- name: 2hdd
|
||||||
mountPath: /mnt/2_hdd
|
mountPath: /mnt/2_hdd
|
||||||
- name: 1hdd
|
- name: 1hdd
|
||||||
@@ -258,6 +260,10 @@ spec:
|
|||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: qbittorrent-config-pvc
|
claimName: qbittorrent-config-pvc
|
||||||
|
- name: 3hdd
|
||||||
|
hostPath:
|
||||||
|
path: /mnt/3_hdd
|
||||||
|
type: Directory
|
||||||
- name: 2hdd
|
- name: 2hdd
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /mnt/2_hdd
|
path: /mnt/2_hdd
|
||||||
@@ -614,3 +620,151 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
|
---
|
||||||
|
# Radarr - Movie Manager
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: radarrkids
|
||||||
|
app.kubernetes.io/instance: servarr
|
||||||
|
app.kubernetes.io/name: radarrkids
|
||||||
|
name: radarrkids
|
||||||
|
namespace: servarr-system
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: radarrkids
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: radarrkids
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: radarr
|
||||||
|
image: linuxserver/radarr:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
|
env:
|
||||||
|
- name: PUID
|
||||||
|
value: "1000"
|
||||||
|
- name: PGID
|
||||||
|
value: "1000"
|
||||||
|
- name: TZ
|
||||||
|
value: Europe/Budapest
|
||||||
|
ports:
|
||||||
|
- containerPort: 7878
|
||||||
|
protocol: TCP
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /ping
|
||||||
|
port: 7878
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 10
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
volumeMounts:
|
||||||
|
- name: config
|
||||||
|
mountPath: /config
|
||||||
|
- name: kids
|
||||||
|
mountPath: /mnt/3_hdd
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 1000
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: radarrkids-config-pvc
|
||||||
|
- name: kids
|
||||||
|
hostPath:
|
||||||
|
path: /mnt/3_hdd
|
||||||
|
type: Directory
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: radarrkids
|
||||||
|
name: radarrkids
|
||||||
|
namespace: servarr-system
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 7879
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 7878
|
||||||
|
selector:
|
||||||
|
app: radarrkids
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
external-dns.alpha.kubernetes.io/hostname: radarrkids.dooplex.hu,radarrkids.home
|
||||||
|
nginx.ingress.kubernetes.io/auth-response-headers: Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email
|
||||||
|
nginx.ingress.kubernetes.io/auth-signin: https://radarrkids.dooplex.hu/outpost.goauthentik.io/start?rd=$escaped_request_uri
|
||||||
|
nginx.ingress.kubernetes.io/auth-snippet: |
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
|
if ($request_uri ~ "^/.well-known/acme-challenge/") {
|
||||||
|
return 200;
|
||||||
|
}
|
||||||
|
nginx.ingress.kubernetes.io/auth-url: http://ak-outpost-arr-outpost.auth-system.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
name: radarrkids
|
||||||
|
namespace: servarr-system
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx-internal
|
||||||
|
rules:
|
||||||
|
- host: radarrkids.dooplex.hu
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: radarrkids
|
||||||
|
port:
|
||||||
|
number: 7879
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
- host: radarrkids.home
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- backend:
|
||||||
|
service:
|
||||||
|
name: radarrkids
|
||||||
|
port:
|
||||||
|
number: 7879
|
||||||
|
path: /
|
||||||
|
pathType: Prefix
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- radarrkids.dooplex.hu
|
||||||
|
secretName: radarrkids-tls
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: Prune=false
|
||||||
|
labels:
|
||||||
|
app: radarrkids
|
||||||
|
recurring-job-group.longhorn.io/needbackup: enabled
|
||||||
|
recurring-job.longhorn.io/source: enabled
|
||||||
|
name: radarrkids-config-pvc
|
||||||
|
namespace: servarr-system
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 3Gi
|
||||||
|
storageClassName: longhorn
|
||||||
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user