renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (push) Successful in 10s
ci / lint-actionlint (push) Successful in 4s
ci / lint-shellcheck (push) Successful in 6s
ci / lint-prettier (push) Successful in 16s
ci / lint-ruff (push) Successful in 6s
ci / lint-yaml (push) Successful in 11s
ci / lint-dockerfiles (push) Successful in 5s
ci / validate (push) Successful in 6s
ci / build (push) Skipped
ci / lint-compose (pull_request) Successful in 8s
ci / lint-actionlint (pull_request) Successful in 4s
ci / lint-shellcheck (pull_request) Successful in 7s
ci / lint-prettier (pull_request) Successful in 13s
ci / lint-ruff (pull_request) Successful in 6s
ci / lint-yaml (pull_request) Successful in 11s
ci / lint-dockerfiles (pull_request) Successful in 6s
ci / validate (pull_request) Successful in 9s
ci / build (pull_request) Skipped
renovate-ci / validate-renovate (pull_request) Successful in 10s
82 lines
1.7 KiB
YAML
82 lines
1.7 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: homarr-service
|
|
namespace: homarr
|
|
spec:
|
|
selector:
|
|
app: homarr
|
|
ports:
|
|
- port: 7575
|
|
targetPort: 7575
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: homarr-deployment
|
|
namespace: homarr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: homarr
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: homarr
|
|
spec:
|
|
serviceAccountName: homarr
|
|
containers:
|
|
- name: homarr
|
|
image: ghcr.io/homarr-labs/homarr:v2.2.0
|
|
envFrom:
|
|
- configMapRef:
|
|
name: homarr-config
|
|
- secretRef:
|
|
name: homarr-secrets
|
|
ports:
|
|
- containerPort: 7575
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 7575
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
failureThreshold: 6
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 7575
|
|
initialDelaySeconds: 60
|
|
periodSeconds: 30
|
|
failureThreshold: 3
|
|
volumeMounts:
|
|
- name: homarr-data
|
|
mountPath: /appdata
|
|
resources:
|
|
requests:
|
|
cpu: "250m"
|
|
memory: "350Mi"
|
|
limits:
|
|
cpu: "500m"
|
|
memory: "700Mi"
|
|
volumes:
|
|
- name: homarr-data
|
|
persistentVolumeClaim:
|
|
claimName: homarr-pvc
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: homarr-pvc
|
|
namespace: homarr
|
|
spec:
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|
|
volumeMode: Filesystem
|
|
accessModes:
|
|
- ReadWriteOnce
|