commiting homarr
This commit is contained in:
parent
db9d40f767
commit
4aaf0907aa
67
namespaces/arr/homarr/homarr-deployment.yaml
Normal file
67
namespaces/arr/homarr/homarr-deployment.yaml
Normal file
|
|
@ -0,0 +1,67 @@
|
||||||
|
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
|
||||||
18
namespaces/arr/homarr/homarr-ingress.yaml
Normal file
18
namespaces/arr/homarr/homarr-ingress.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
***REMOVED***
|
||||||
|
name: homarr
|
||||||
|
namespace: homarr
|
||||||
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
|
rules:
|
||||||
|
- host: homarr.local
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: homarr
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
4
namespaces/arr/homarr/homarr-namespace.yaml
Normal file
4
namespaces/arr/homarr/homarr-namespace.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
***REMOVED***
|
||||||
|
kind: Namespace
|
||||||
|
***REMOVED***
|
||||||
|
name: homarr
|
||||||
38
namespaces/arr/homarr/homarr-pvc.yaml
Normal file
38
namespaces/arr/homarr/homarr-pvc.yaml
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
***REMOVED***
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
***REMOVED***
|
||||||
|
name: homarr-config
|
||||||
|
namespace: homarr
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: ceph-rbd
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 500Mi
|
||||||
|
---
|
||||||
|
***REMOVED***
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
***REMOVED***
|
||||||
|
name: homarr-icons
|
||||||
|
namespace: homarr
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: ceph-rbd
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
---
|
||||||
|
***REMOVED***
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
***REMOVED***
|
||||||
|
name: homarr-data
|
||||||
|
namespace: homarr
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: ceph-rbd
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
13
namespaces/arr/homarr/homarr-service.yaml
Normal file
13
namespaces/arr/homarr/homarr-service.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
***REMOVED***
|
||||||
|
kind: Service
|
||||||
|
***REMOVED***
|
||||||
|
name: homarr
|
||||||
|
namespace: homarr
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 7575
|
||||||
|
protocol: TCP
|
||||||
|
selector:
|
||||||
|
app: homarr
|
||||||
Loading…
Reference in a new issue