diff --git a/cluster/apps/download/bazarr/helm-release.yaml b/cluster/apps/download/bazarr/helm-release.yaml new file mode 100644 index 0000000..ffdbbe3 --- /dev/null +++ b/cluster/apps/download/bazarr/helm-release.yaml @@ -0,0 +1,66 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: bazarr + namespace: download +spec: + interval: 5m + chart: + spec: + chart: app-template + version: 1.3.x + sourceRef: + kind: HelmRepository + name: bjws-charts + namespace: flux-system + + values: + image: + repository: lscr.io/linuxserver/bazarr + tag: latest + env: + TZ: America/New_York + service: + main: + ports: + http: + port: 6767 + probes: + liveness: + enabled: true + custom: true + spec: + httpGet: + path: /ping + port: 6767 + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 + startup: + enabled: false + ingress: + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-production" + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd + hosts: + - host: "k3ssub.***REMOVED***" + paths: + - path: / + pathType: Prefix + persistence: + config: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Kubernetes/bazarr + mountPath: /config + + resources: + requests: + cpu: 5m + memory: 175Mi + limits: + memory: 750Mi \ No newline at end of file diff --git a/cluster/apps/download/bazarr/kustomization.yaml b/cluster/apps/download/bazarr/kustomization.yaml new file mode 100644 index 0000000..ea3145d --- /dev/null +++ b/cluster/apps/download/bazarr/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- ./helm-release.yaml \ No newline at end of file diff --git a/cluster/apps/download/kustomization.yaml b/cluster/apps/download/kustomization.yaml index f10a8a1..95cba52 100644 --- a/cluster/apps/download/kustomization.yaml +++ b/cluster/apps/download/kustomization.yaml @@ -6,4 +6,6 @@ resources: - ./qbittorrent - ./radarr - ./sonarr -- ./prowlarr \ No newline at end of file +- ./prowlarr +- ./bazarr +- ./readarr \ No newline at end of file diff --git a/cluster/apps/download/prowlarr/helm-release.yaml b/cluster/apps/download/prowlarr/helm-release.yaml index ee07b22..c93ed4c 100644 --- a/cluster/apps/download/prowlarr/helm-release.yaml +++ b/cluster/apps/download/prowlarr/helm-release.yaml @@ -60,7 +60,7 @@ spec: resources: requests: - cpu: 10m - memory: 250Mi + cpu: 2m + memory: 150Mi limits: - memory: 1000Mi \ No newline at end of file + memory: 500Mi \ No newline at end of file diff --git a/cluster/apps/download/radarr/helm-release.yaml b/cluster/apps/download/radarr/helm-release.yaml index cfd7b73..cfb7d16 100644 --- a/cluster/apps/download/radarr/helm-release.yaml +++ b/cluster/apps/download/radarr/helm-release.yaml @@ -67,7 +67,7 @@ spec: resources: requests: - cpu: 10m + cpu: 1m memory: 350Mi limits: memory: 1500Mi \ No newline at end of file diff --git a/cluster/apps/download/readarr/audiobook-helm.yaml b/cluster/apps/download/readarr/audiobook-helm.yaml new file mode 100644 index 0000000..22b0ae1 --- /dev/null +++ b/cluster/apps/download/readarr/audiobook-helm.yaml @@ -0,0 +1,71 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: readarr-audiobooks + namespace: download +spec: + interval: 5m + chart: + spec: + chart: app-template + version: 1.3.x + sourceRef: + kind: HelmRepository + name: bjws-charts + namespace: flux-system + + values: + image: + repository: lscr.io/linuxserver/readarr + tag: latest + env: + TZ: America/New_York + service: + main: + ports: + http: + port: 8787 + probes: + liveness: + enabled: true + custom: true + spec: + httpGet: + path: /ping + port: 8787 + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 + startup: + enabled: false + ingress: + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-production" + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd + hosts: + - host: "k3sabook.***REMOVED***" + paths: + - path: / + pathType: Prefix + persistence: + config: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Kubernetes/readarr-audiobooks + mountPath: /config + storage: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Media + mountPath: /storage + + resources: + requests: + cpu: 1m + memory: 150Mi + limits: + memory: 2000Mi \ No newline at end of file diff --git a/cluster/apps/download/readarr/ebook-helm.yaml b/cluster/apps/download/readarr/ebook-helm.yaml new file mode 100644 index 0000000..3bd1710 --- /dev/null +++ b/cluster/apps/download/readarr/ebook-helm.yaml @@ -0,0 +1,71 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: readarr-ebooks + namespace: download +spec: + interval: 5m + chart: + spec: + chart: app-template + version: 1.3.x + sourceRef: + kind: HelmRepository + name: bjws-charts + namespace: flux-system + + values: + image: + repository: lscr.io/linuxserver/readarr + tag: latest + env: + TZ: America/New_York + service: + main: + ports: + http: + port: 8787 + probes: + liveness: + enabled: true + custom: true + spec: + httpGet: + path: /ping + port: 8787 + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 3 + startup: + enabled: false + ingress: + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-production" + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd + hosts: + - host: "k3sebook.***REMOVED***" + paths: + - path: / + pathType: Prefix + persistence: + config: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Kubernetes/readarr-ebooks + mountPath: /config + storage: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Media + mountPath: /storage + + resources: + requests: + cpu: 1m + memory: 150Mi + limits: + memory: 2000Mi \ No newline at end of file diff --git a/cluster/apps/download/readarr/kustomization.yaml b/cluster/apps/download/readarr/kustomization.yaml new file mode 100644 index 0000000..771f8d3 --- /dev/null +++ b/cluster/apps/download/readarr/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- ./audiobook-helm.yaml +- ./ebook-helm.yaml \ No newline at end of file diff --git a/cluster/apps/download/sonarr/helm-release.yaml b/cluster/apps/download/sonarr/helm-release.yaml index 33ea8a0..3329c60 100644 --- a/cluster/apps/download/sonarr/helm-release.yaml +++ b/cluster/apps/download/sonarr/helm-release.yaml @@ -67,7 +67,7 @@ spec: resources: requests: - cpu: 10m + cpu: 2m memory: 350Mi limits: memory: 2500Mi \ No newline at end of file