Compare commits

...

3 commits

Author SHA1 Message Date
60f31d9d99 Update dashboard VolSync Dashboard ( 1 → 3 ) 2024-10-24 02:32:53 +00:00
79716177f6
unnecessary requests 2024-10-23 21:28:27 -05:00
ab782d6386
add jellyfin 2024-10-23 21:27:59 -05:00
7 changed files with 162 additions and 4 deletions

View file

@ -38,7 +38,6 @@ spec:
tag: v0.0.1 tag: v0.0.1
resources: resources:
requests: requests:
nvidia.com/gpu: 1 # requesting 1 GPU
cpu: 500m cpu: 500m
memory: 2Gi memory: 2Gi
limits: limits:

View file

@ -47,7 +47,6 @@ spec:
value: "24h" value: "24h"
resources: resources:
requests: requests:
nvidia.com/gpu: 1 # requesting 1 GPU
cpu: 500m cpu: 500m
memory: 2Gi memory: 2Gi
limits: limits:

View file

@ -0,0 +1,125 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app jellyfin
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
dependsOn:
- name: nvidia-device-plugin
namespace: kube-system
- name: node-feature-discovery
namespace: system
- name: rook-ceph-cluster
namespace: rook-ceph
- name: volsync
namespace: system
values:
controllers:
jellyfin:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/jellyfin/jellyfin
tag: 10.9.11@sha256:fc1b51f4be3fba725e42dae2022d9c6a5b069acce01bef04d32fdee025dc511e
env:
DOTNET_SYSTEM_IO_DISABLEFILELOCKING: "true"
JELLYFIN_FFmpeg__probesize: 50000000
JELLYFIN_FFmpeg__analyzeduration: 50000000
TZ: America/Chicago
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: &port 8096
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
resources:
requests:
cpu: 100m
limits:
nvidia.com/gpu: 1 # requesting 1 GPU
memory: 4Gi
pod:
nodeSelector:
nvidia.com/gpu.present: "true"
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [44, 10000]
service:
app:
controller: *app
type: LoadBalancer
annotations:
io.cilium/lb-ipam-ips: 10.1.1.40
ports:
http:
port: *port
ingress:
app:
annotations:
external-dns.alpha.kubernetes.io/target: external.hsn.dev
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
className: external-nginx
hosts:
- host: "{{ .Release.Name }}.hsn.dev"
paths:
- path: /
service:
identifier: app
port: http
persistence:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /config
media:
type: nfs
server: shadowfax.jahanson.tech
path: /moria/media
globalMounts:
- path: /media
readOnly: true
transcode:
enabled: true
type: emptyDir
globalMounts:
- path: /transcode
cache:
enabled: true
type: emptyDir
globalMounts:
- path: /cache

View file

@ -0,0 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
- ../../../../templates/gatus/external
- ../../../../templates/volsync

View file

@ -0,0 +1,27 @@
---
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app jellyfin
namespace: flux-system
spec:
targetNamespace: anime
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: external-secrets-stores
path: ./kubernetes/apps/anime/jellyfin/app
prune: true
sourceRef:
kind: GitRepository
name: theshire
wait: false
interval: 30m
timeout: 5m
postBuild:
substitute:
APP: *app
GATUS_PATH: /web/index.html
VOLSYNC_CAPACITY: 20Gi

View file

@ -6,7 +6,7 @@ resources:
# Pre Flux-Kustomizations # Pre Flux-Kustomizations
- ./namespace.yaml - ./namespace.yaml
# Flux-Kustomizations # Flux-Kustomizations
# - ./jellyfin/ks.yaml # sqlite - ./jellyfin/ks.yaml # sqlite
# - ./jellyseerr/ks.yaml # sqlite # - ./jellyseerr/ks.yaml # sqlite
- ./radarr/ks.yaml # postgres - ./radarr/ks.yaml # postgres
# - ./shoko/ks.yaml # sqlite # - ./shoko/ks.yaml # sqlite

View file

@ -191,7 +191,7 @@ spec:
volsync: volsync:
# removate: depName="VolSync Dashboard" # removate: depName="VolSync Dashboard"
gnetId: 21356 gnetId: 21356
revision: 1 revision: 3
datasource: datasource:
- { name: DS_PROMETHEUS, value: Prometheus } - { name: DS_PROMETHEUS, value: Prometheus }
- { name: VAR_REPLICATIONDESTNAME, value: .*-dst } - { name: VAR_REPLICATIONDESTNAME, value: .*-dst }