Files
homelab-v/k8s/apps/media/jellyfin/deployment.yaml
T
renovate[bot]andVegard Hagen acd6052af7 chore(deps): merge renovate PRs
chore(deps): update keycloak docker tag to v24

chore(deps): update sealed-secrets docker tag to v2.4.11

chore(deps): update ghcr.io/lldap/lldap docker tag to v2024-11-17-debian-rootless

chore(deps): update helm release argo-cd to v7.7.3

chore(deps): update netbird to v0.32.0

chore(deps): update dependency siderolabs/talos to v1.8.3

chore(deps): update media containers
2024-11-17 17:03:36 +01:00

66 lines
1.7 KiB
YAML

kind: Deployment
apiVersion: apps/v1
metadata:
name: jellyfin
namespace: jellyfin
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: jellyfin
template:
spec:
nodeSelector:
topology.kubernetes.io/zone: euclid
securityContext:
runAsNonRoot: true
runAsUser: 2501
runAsGroup: 2501
fsGroup: 2501
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [ 44, 104 ]
seccompProfile:
type: RuntimeDefault
containers:
- name: jellyfin
image: ghcr.io/jellyfin/jellyfin:10.10.2 # renovate: docker=ghcr.io/jellyfin/jellyfin
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: [ "ALL" ]
resources:
requests:
cpu: 500m
memory: 2Gi
limits:
cpu: 6000m
memory: 6Gi
gpu.intel.com/i915: 1000m
envFrom:
- configMapRef:
name: jellyfin-env
ports:
- name: http
containerPort: 8096
volumeMounts:
- name: config
mountPath: /config
- name: media
mountPath: /mnt/media
- name: cache
mountPath: /cache
volumes:
- name: config
persistentVolumeClaim:
claimName: jellyfin-config
- name: media
nfs:
server: 192.168.1.117
path: /mnt/pool-0/data/media
- name: cache
emptyDir:
medium: Memory