diff --git a/arr-stack/flaresolverr/deployment.yaml b/arr-stack/flaresolverr/deployment.yaml new file mode 100644 index 0000000..d5a72a9 --- /dev/null +++ b/arr-stack/flaresolverr/deployment.yaml @@ -0,0 +1,24 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: flaresolverr +spec: + replicas: 1 + selector: + matchLabels: + app: flaresolverr + template: + metadata: + labels: + app: flaresolverr + spec: + containers: + - name: flaresolverr + image: ghcr.io/flaresolverr/flaresolverr:v3.4.1 + resources: + limits: + memory: "4Gi" + cpu: "1" + requests: + memory: "2Gi" + cpu: "0.5" \ No newline at end of file diff --git a/arr-stack/flaresolverr/svc.yaml b/arr-stack/flaresolverr/svc.yaml new file mode 100644 index 0000000..8a36cee --- /dev/null +++ b/arr-stack/flaresolverr/svc.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: flaresolverr +spec: + selector: + app: flaresolverr + ports: + - port: 8191 + targetPort: 8191 diff --git a/arr-stack/prowlarr/deployment.yaml b/arr-stack/prowlarr/deployment.yaml new file mode 100644 index 0000000..3f525df --- /dev/null +++ b/arr-stack/prowlarr/deployment.yaml @@ -0,0 +1,31 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: prowlarr +spec: + replicas: 1 + selector: + matchLabels: + app: prowlarr + template: + metadata: + labels: + app: prowlarr + spec: + containers: + - name: prowlarr + image: linuxserver/prowlarr:version-2.0.5.5160 + volumeMounts: + - name: config + mountPath: /config + resources: + limits: + memory: "1Gi" + cpu: "1" + requests: + memory: "512Mi" + cpu: "0.5" + volumes: + - name: config + persistentVolumeClaim: + claimName: prowlarr-config \ No newline at end of file diff --git a/arr-stack/prowlarr/ingress.yaml b/arr-stack/prowlarr/ingress.yaml new file mode 100644 index 0000000..1d6f64f --- /dev/null +++ b/arr-stack/prowlarr/ingress.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: prowlarr-ingress + labels: + app.kubernetes.io/name: prowlarr-ingress +spec: + rules: + - host: prowlarr.dubyatp.xyz + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: prowlarr + port: + number: 9696 diff --git a/arr-stack/prowlarr/pvc.yaml b/arr-stack/prowlarr/pvc.yaml new file mode 100644 index 0000000..c39dd08 --- /dev/null +++ b/arr-stack/prowlarr/pvc.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: prowlarr-config +spec: + resources: + requests: + storage: 10Gi + volumeMode: Filesystem + accessModes: + - ReadWriteMany diff --git a/arr-stack/prowlarr/svc.yaml b/arr-stack/prowlarr/svc.yaml new file mode 100644 index 0000000..5e4ef64 --- /dev/null +++ b/arr-stack/prowlarr/svc.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: prowlarr +spec: + selector: + app: prowlarr + ports: + - port: 9696 + targetPort: 9696 diff --git a/arr-stack/radarr/deployment.yaml b/arr-stack/radarr/deployment.yaml index 20972d5..6ff4009 100644 --- a/arr-stack/radarr/deployment.yaml +++ b/arr-stack/radarr/deployment.yaml @@ -16,6 +16,8 @@ spec: - name: radarr image: linuxserver/radarr:version-5.27.5.10198 volumeMounts: + - name: config + mountPath: /config - name: downloads mountPath: /mnt/Downloads - name: movies diff --git a/arr-stack/radarr/ingress.yaml b/arr-stack/radarr/ingress.yaml new file mode 100644 index 0000000..4ae4c5e --- /dev/null +++ b/arr-stack/radarr/ingress.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: radarr-ingress + labels: + app.kubernetes.io/name: radarr-ingress +spec: + rules: + - host: radarr.dubyatp.xyz + http: + paths: + - pathType: Prefix + path: "/" + backend: + service: + name: radarr + port: + number: 7878 diff --git a/arr-stack/radarr/svc.yaml b/arr-stack/radarr/svc.yaml new file mode 100644 index 0000000..6176844 --- /dev/null +++ b/arr-stack/radarr/svc.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: radarr +spec: + selector: + app: radarr + ports: + - port: 7878 + targetPort: 7878