Files
homelab-v/k8s/apps/media/arr/prowlarr/deployment.yaml
T
2025-03-24 15:38:53 +01:00

64 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: prowlarr
namespace: arr
labels:
app: prowlarr
spec:
replicas: 1
selector:
matchLabels:
app: prowlarr
strategy:
type: Recreate
template:
metadata:
namespace: prowlarr
labels:
app: prowlarr
spec:
nodeSelector:
topology.kubernetes.io/zone: euclid
securityContext:
runAsNonRoot: true
runAsUser: 2501
runAsGroup: 2501
fsGroup: 2501
fsGroupChangePolicy: OnRootMismatch
seccompProfile:
type: RuntimeDefault
containers:
- name: prowlarr
image: ghcr.io/home-operations/prowlarr:1.32.2 # renovate: docker=ghcr.io/home-operations/prowlarr
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: [ "ALL" ]
ports:
- name: http
containerPort: 9696
envFrom:
- configMapRef:
name: common-env
optional: true
volumeMounts:
- name: prowlarr-config
mountPath: /config
- name: tmp
mountPath: /tmp
resources:
requests:
cpu: 50m
memory: 192Mi
limits:
cpu: 1000m
memory: 256Mi
volumes:
- name: prowlarr-config
persistentVolumeClaim:
claimName: prowlarr-config
- name: tmp
emptyDir: { }