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: jfa-go
|
|
name: jfa-go
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: jfa-go
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: jfa-go
|
|
spec:
|
|
containers:
|
|
- image: hrfee/jfa-go:latest
|
|
name: jfa-go
|
|
ports:
|
|
- containerPort: 8056
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: ssd
|
|
subPath: configs/jfa-go/config/jfa-go
|
|
- mountPath: /jf
|
|
name: ssd
|
|
subPath: configs/jellyarr/jellyfin_config
|
|
- mountPath: /etc/localtime
|
|
name: ssd
|
|
subPath: configs/jfa-go/localtime
|
|
readOnly: true
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: ssd
|
|
persistentVolumeClaim:
|
|
claimName: nfs-ssd-pvc
|
|
- name: hdd
|
|
persistentVolumeClaim:
|
|
claimName: nfs-hdd-pvc
|