From f65f18ae55ff1b432d504881e2fd4ee3aa56428e Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sun, 27 Oct 2024 13:47:16 +0100 Subject: [PATCH] add flaresolverr --- .../mediaserver-flaresolverr-deployment.yaml | 30 +++++++++++++++++++ .../base/mediaserver-flaresolverr-svc.yaml | 11 +++++++ mediaserver/kustomization.yaml | 2 ++ 3 files changed, 43 insertions(+) create mode 100644 mediaserver/base/mediaserver-flaresolverr-deployment.yaml create mode 100644 mediaserver/base/mediaserver-flaresolverr-svc.yaml diff --git a/mediaserver/base/mediaserver-flaresolverr-deployment.yaml b/mediaserver/base/mediaserver-flaresolverr-deployment.yaml new file mode 100644 index 0000000..f939499 --- /dev/null +++ b/mediaserver/base/mediaserver-flaresolverr-deployment.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: flaresolverr + labels: + app: flaresolverr +spec: + replicas: 1 + selector: + matchLabels: + app: flaresolverr + template: + metadata: + labels: + app: flaresolverr + annotations: + spec: + containers: + - name: flaresolverr + image: ghcr.io/flaresolverr/flaresolverr:latest@sha256:f104ee51e5124d83cf3be9b37480649355d223f7d8f9e453d0d5ef06c6e3b31b + resources: + requests: + cpu: 1 + memory: 2Gi + ports: + - name: web + containerPort: 8191 + env: + - name: LOG_LEVEL + value: info diff --git a/mediaserver/base/mediaserver-flaresolverr-svc.yaml b/mediaserver/base/mediaserver-flaresolverr-svc.yaml new file mode 100644 index 0000000..c7a6104 --- /dev/null +++ b/mediaserver/base/mediaserver-flaresolverr-svc.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: Service +metadata: + name: mediaserver-flaresolverr +spec: + ports: + - name: web + port: 80 + targetPort: web + selector: + app: flaresolverr diff --git a/mediaserver/kustomization.yaml b/mediaserver/kustomization.yaml index a0413e0..f3bb346 100644 --- a/mediaserver/kustomization.yaml +++ b/mediaserver/kustomization.yaml @@ -21,3 +21,5 @@ resources: - ./base/mediaserver-radarr-ingress.yaml - ./base/mediaserver-radarr-pvc.yaml - ./base/mediaserver-radarr-svc.yaml +- ./base/mediaserver-flaresolverr-deployment.yaml +- ./base/mediaserver-flaresolverr-svc.yaml