Files
kubernetes/audiobookshelf/deployment.yaml
T
2025-11-07 09:21:52 +00:00

51 lines
1.2 KiB
YAML

# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: audiobookshelf
namespace: audiobookshelf
labels:
app: audiobookshelf
spec:
replicas: 1
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
selector:
matchLabels:
app: audiobookshelf
template:
metadata:
labels:
app: audiobookshelf
spec:
containers:
- name: audiobookshelf
env:
- name: TZ
value: Europe/Berlin
image: ghcr.io/advplyr/audiobookshelf:2.30.0
volumeMounts:
- name: config
mountPath: /config
- name: metadata
mountPath: /metadata
- name: podcasts
mountPath: /podcasts
- name: audiobooks
mountPath: /audiobooks
volumes:
- name: config
persistentVolumeClaim:
claimName: audiobookshelf-config
- name: metadata
persistentVolumeClaim:
claimName: audiobookshelf-metadata
- name: audiobooks
persistentVolumeClaim:
claimName: audiobookshelf-audiobooks
- name: podcasts
persistentVolumeClaim:
claimName: audiobookshelf-podcasts