47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
keel.sh/policy: minor
|
|
keel.sh/trigger: poll
|
|
keel.sh/pollSchedule: "@every 6h"
|
|
labels:
|
|
io.kompose.service: searcharr
|
|
name: searcharr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: searcharr
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: searcharr
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: TZ
|
|
value: Asia/Kuwait
|
|
image: toddrob/searcharr:latest
|
|
name: searcharr
|
|
volumeMounts:
|
|
- mountPath: /app/data
|
|
name: ssd
|
|
subPath: configs/searcharr/data
|
|
- mountPath: /app/logs
|
|
name: ssd
|
|
subPath: configs/searcharr/logs
|
|
- mountPath: /app/settings.py
|
|
name: ssd
|
|
subPath: configs/searcharr/settings.py
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: ssd
|
|
persistentVolumeClaim:
|
|
claimName: nfs-ssd-pvc
|
|
- name: hdd
|
|
persistentVolumeClaim:
|
|
claimName: nfs-hdd-pvc
|
|
|