Add 5 example configurations covering popular deployment scenarios: 1. minimal.yaml - Quick start with ephemeral storage 2. production.yaml - Production setup with PVC and resource limits 3. hardware-acceleration.yaml - GPU transcoding (Intel QuickSync) 4. ingress-tls.yaml - External access with HTTPS and cert-manager 5. network-policy.yaml - Secure deployment with network isolation Includes comprehensive README explaining usage and combinations. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
77 lines
1.3 KiB
YAML
77 lines
1.3 KiB
YAML
# Production Jellyfin deployment
|
|
# Persistent storage, resource limits, and health probes
|
|
#
|
|
# Usage:
|
|
# helm install jellyfin jellyfin/jellyfin -f production.yaml
|
|
|
|
# Persistent storage configuration
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
size: 10Gi
|
|
storageClass: "" # Use default storage class
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
|
|
media:
|
|
enabled: true
|
|
size: 500Gi
|
|
storageClass: ""
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
|
|
cache:
|
|
enabled: true
|
|
size: 20Gi
|
|
storageClass: ""
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
|
|
# Resource limits and requests
|
|
resources:
|
|
limits:
|
|
cpu: 4000m
|
|
memory: 8Gi
|
|
requests:
|
|
cpu: 1000m
|
|
memory: 2Gi
|
|
|
|
# Health probes with adjusted timeouts for large libraries
|
|
startupProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 60
|
|
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
|
|
# Security context
|
|
securityContext:
|
|
runAsUser: 1000
|
|
runAsGroup: 1000
|
|
fsGroup: 1000
|
|
runAsNonRoot: true
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
# Service configuration
|
|
service:
|
|
type: ClusterIP
|
|
port: 8096
|