Compare commits

..

1 commit

Author SHA1 Message Date
Renovate bot
b6b4450ced Update Helm release external-dns to v8 2024-12-20 00:00:29 +00:00
15 changed files with 4 additions and 382 deletions

View file

@ -18,7 +18,7 @@ spec:
app: cloudtube
spec:
containers:
- image: abeltramo/cloudtube:be33a66
- image: abeltramo/cloudtube:efcef9b
imagePullPolicy: Always
name: cloudtube
resources: {}

View file

@ -4,7 +4,7 @@ kind: Kustomization
helmCharts:
- name: external-dns
repo: https://charts.bitnami.com/bitnami
version: 8.7.2
version: 8.7.1
releaseName: external-dns
namespace: external-dns
valuesInline:

View file

@ -47,7 +47,7 @@ spec:
requests:
gpu.intel.com/i915: "1"
cpu: 163m
# memory: 3861631195
memory: 3861631195
volumeMounts:
- mountPath: /data2/media
name: runningseries
@ -65,12 +65,9 @@ spec:
name: dev-dri
- mountPath: /mergedseries
name: mergedseries
- mountPath: /youtube
name: youtube
dnsPolicy: ClusterFirst
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
oldname: i9worker
terminationGracePeriodSeconds: 30
volumes:
- persistentVolumeClaim:
@ -98,6 +95,3 @@ spec:
- persistentVolumeClaim:
claimName: smb-mergedseries
name: mergedseries
- persistentVolumeClaim:
claimName: smb-youtube
name: youtube

View file

@ -57,15 +57,3 @@ spec:
requests:
storage: 1Gi
storageClassName: smb-mergedseries
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-youtube
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Ti
storageClassName: smb-youtube

View file

@ -1,17 +0,0 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: smb-youtube
provisioner: smb.csi.k8s.io
parameters:
source: "//172.20.0.70/youtube"
csi.storage.k8s.io/node-stage-secret-name: smb-creds
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
reclaimPolicy: Retain
volumeBindingMode: Immediate
mountOptions:
- dir_mode=0777
- file_mode=0777
- uid=1001
- gid=1001
- noperm

View file

@ -1,87 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: tdarr
name: tdarr
spec:
selector:
matchLabels:
app: tdarr
strategy:
type: Recreate
template:
metadata:
labels:
app: tdarr
spec:
containers:
- env:
- name: TZ
value: "Europe/Berlin"
- name: serverPort
value: "8266"
- name: webUIPort
value: "8265"
- name: internalNode
value: "true"
- name: inContainer
value: "true"
- name: ffmpegVersion
value: "6"
image: ghcr.io/haveagitgat/tdarr:2.27.02
imagePullPolicy: Always
name: tdarr
ports:
- containerPort: 8265
name: http
protocol: TCP
- containerPort: 8266
name: server
protocol: TCP
resources:
limits:
gpu.intel.com/i915: "1"
requests:
gpu.intel.com/i915: "1"
cpu: 25m
memory: 628694953
volumeMounts:
- mountPath: /config
name: config
- mountPath: /app/server
name: config
subPath: server
- mountPath: /app/config
name: config
subPath: config
- mountPath: /app/logs
name: config
subPath: logs
- mountPath: /data
name: data
- mountPath: /media/series
name: combinedseries
- mountPath: /dev/dri
name: dev-dri
dnsPolicy: ClusterFirst
nodeSelector:
intel.feature.node.kubernetes.io/gpu: "true"
oldname: beelink
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- name: config
persistentVolumeClaim:
claimName: tdarr-config-data
- name: combinedseries
persistentVolumeClaim:
claimName: smb-combinedseries
- name: data
persistentVolumeClaim:
claimName: smb-usenet
- hostPath:
path: /dev/dri
type: Directory
name: dev-dri

View file

@ -1,35 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-series
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-series
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-combinedseries
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-combinedseries
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-usenet
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-usenet

View file

@ -1,13 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
app.kubernetes.io/instance: tdarr
name: tdarr-config-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: longhorn-fast

View file

@ -1,19 +0,0 @@
apiVersion: v1
kind: Service
metadata:
annotations:
external-dns.alpha.kubernetes.io/hostname: tdarr.martyn.berlin
labels:
app: tdarr
name: tdarr
spec:
ports:
- targetPort: 8265
port: 80
name: web
- targetPort: 8266
port: 8266
name: s2s
selector:
app: tdarr
type: LoadBalancer

View file

@ -38,7 +38,7 @@ spec:
- name: TS_KUBE_SECRET
value: tailscale
- name: TS_USERSPACE
value: "false"
value: "true"
- name: TS_OUTBOUND_HTTP_PROXY_LISTEN
value: "localhost:1055"
- name: TS_SOCKS5_SERVER
@ -51,14 +51,6 @@ spec:
key: TS_AUTHKEY
name: tailscale-auth
optional: true
livenessProbe:
exec:
command:
- ping
- -c1
- 100.100.100.100
initialDelaySeconds: 120
periodSeconds: 5
image: ghcr.io/tailscale/tailscale:latest
name: ts-sidecar
securityContext:

View file

@ -1,75 +0,0 @@
apiVersion: v1
data:
config.yaml: |
configuration:
working_directory: ".ytdl-sub-working-directory"
presets:
TV Shows:
preset:
- "Jellyfin TV Show by Date"
- "Max 1080p"
embed_thumbnail: True
throttle_protection:
sleep_per_download_s:
min: 2.2
max: 10.8
sleep_per_subscription_s:
min: 9.0
max: 14.1
max_downloads_per_subscription:
min: 10
max: 36
ytdl_options:
source_address: '0.0.0.0'
cookiefile: /config/cookies.txt
date_range:
after: "now-1year"
chapters:
# Embedded Chapter Fields
embed_chapters: True
allow_chapters_from_comments: False
remove_chapters_regex:
- "Intro"
- "Outro"
# Sponsorblock Fields
sponsorblock_categories:
- "outro"
- "selfpromo"
- "preview"
- "interaction"
- "sponsor"
- "music_offtopic"
- "intro"
remove_sponsorblock_categories: "sponsor"
TV Shows Fortnight:
preset:
- "TV Shows"
date_range:
after: "now-14days"
subscriptions.yaml: |
__preset__:
overrides:
tv_show_directory: "/youtube/tv_shows"
music_directory: "/youtube/tv_shows"
"TV Shows":
= Documentaries:
"Technogy Connections": "https://www.youtube.com/@TechnologyConnections"
"Adam Savage's Tested": "https://www.youtube.com/@tested"
"TV Shows Fortnight":
= Music:
"Rick Beato": "https://www.youtube.com/@RickBeato"
run_cron: |
#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
echo 'Cron started, running ytdl-sub...'
cd /config/
ytdl-sub --config=config.yaml sub subscriptions.yaml
abc: |
0 */6 * * * /config/ytdl-sub-configs/run_cron
kind: ConfigMap
metadata:
creationTimestamp: null
name: ytdl-sub-config

View file

@ -1,77 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: ytdl-sub
name: ytdl-sub
spec:
selector:
matchLabels:
app: ytdl-sub
strategy:
type: Recreate
template:
metadata:
labels:
app: ytdl-sub
spec:
containers:
- env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Europe/Berlin"
- name: DOCKER_MODS
value: "linuxserver/mods:universal-cron"
image: ghcr.io/jmbannon/ytdl-sub:ubuntu-2024.12.27
imagePullPolicy: Always
name: ytdl-sub
ports:
- containerPort: 8443
name: http
protocol: TCP
volumeMounts:
- mountPath: /config
name: config
- mountPath: /youtube
name: youtube
initContainers:
- image: busybox
name: copy-config
command:
- /bin/sh
- -c
- "cp /config_src/config.yaml /config/;
cp /config_src/subscriptions.yaml /config/;
cp /secret/cookies.txt /config/;
mkdir /config/ytdl-sub-configs ;
cp /config_src/run_cron /config/ytdl-sub-configs/ ;
chmod +x /config/ytdl-sub-configs/run_cron ;
mkdir /config/crontabs ;
cp /config_src/abc /config/crontabs/ ;
chown -R 1000:1000 /config"
volumeMounts:
- mountPath: /config_src
name: config-src
- mountPath: /config
name: config
- mountPath: /secret
name: cookie
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- name: config
emptyDir: {}
- name: cookie
secret:
secretName: cookie-secret
- name: config-src
configMap:
name: ytdl-sub-config
- name: youtube
persistentVolumeClaim:
claimName: smb-youtube

View file

@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smb-youtube
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storageClassName: smb-youtube

View file

@ -1,15 +0,0 @@
apiVersion: v1
kind: Service
metadata:
annotations:
external-dns.alpha.kubernetes.io/hostname: ytdl-sub.martyn.berlin
labels:
app: ytdl-sub
name: ytdl-sub
spec:
ports:
- targetPort: 8989
port: 80
selector:
app: ytdl-sub
type: LoadBalancer

View file

@ -61,9 +61,6 @@ spec:
- name: moreoldseries
size: 1Ti
storageClass: longhorn-spinny
- name: youtube
size: 1Ti
storageClass: longhorn-spinny
- name: evenmoreoldseries
size: 1Ti
storageClass: longhorn-spinny