47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: rdtclient
|
|
labels:
|
|
app: rdtclient
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: rdtclient
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: rdtclient
|
|
annotations:
|
|
spec:
|
|
volumes:
|
|
- name: rdtclient-data
|
|
persistentVolumeClaim:
|
|
claimName: mediaserver-rdtclient-data-pvc
|
|
- name: rdtclient-downloads
|
|
persistentVolumeClaim:
|
|
claimName: mediaserver-rdtclient-downloads-pvc
|
|
containers:
|
|
- name: rdtclient
|
|
image: rogerfar/rdtclient
|
|
resources:
|
|
requests:
|
|
cpu: 1
|
|
memory: 512Mi
|
|
ports:
|
|
- name: web
|
|
containerPort: 6500
|
|
env:
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: Europe/Amsterdam
|
|
volumeMounts:
|
|
- mountPath: /data/downloads
|
|
name: rdtclient-downloads
|
|
- mountPath: /data/db
|
|
name: rdtclient-data
|