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