k8s/namespaces/arr/homarr/homarr-deployment.yaml
2026-03-09 21:17:19 +13:00

68 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
***REMOVED***
name: homarr
namespace: homarr
labels:
app: homarr
spec:
replicas: 1
selector:
matchLabels:
app: homarr
template:
***REMOVED***
labels:
app: homarr
spec:
containers:
- name: homarr
image: ghcr.io/ajnart/homarr:latest
ports:
- name: http
containerPort: 7575
protocol: TCP
env:
- name: TZ
value: "UTC"
volumeMounts:
- name: homarr-config
mountPath: /app/data/configs
- name: homarr-icons
mountPath: /app/public/icons
- name: homarr-data
mountPath: /data
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
livenessProbe:
httpGet:
path: /
port: 7575
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: 7575
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
volumes:
- name: homarr-config
persistentVolumeClaim:
claimName: homarr-config
- name: homarr-icons
persistentVolumeClaim:
claimName: homarr-icons
- name: homarr-data
persistentVolumeClaim:
claimName: homarr-data