fix(homarr): try controller.probes syntax for probe customization
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
# Patch to add proper liveness/readiness probes to Homarr deployment
|
|
||||||
# App takes 30-45s to fully initialize (DB migrations, Redis, icon cache)
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: homarr
|
|
||||||
namespace: dashboard
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: homarr
|
|
||||||
livenessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /api/health/live
|
|
||||||
port: 7575
|
|
||||||
initialDelaySeconds: 60
|
|
||||||
periodSeconds: 30
|
|
||||||
timeoutSeconds: 5
|
|
||||||
failureThreshold: 3
|
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /api/health/ready
|
|
||||||
port: 7575
|
|
||||||
initialDelaySeconds: 45
|
|
||||||
periodSeconds: 15
|
|
||||||
timeoutSeconds: 5
|
|
||||||
failureThreshold: 3
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# Homarr landing page - minimal working config
|
# Homarr landing page
|
||||||
# App takes ~30 seconds to fully initialize (DB migrations, Redis, icon cache)
|
# Chart version: 8.23.0 from homarr-labs/charts
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/homarr-labs/homarr
|
repository: ghcr.io/homarr-labs/homarr
|
||||||
@@ -8,13 +8,25 @@ image:
|
|||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
# Disable default probes - they kill the container before it finishes startup
|
# Override probe timing - app needs 30-45s to fully initialize
|
||||||
# Will add custom probes via Kustomize patch with proper timing
|
controller:
|
||||||
livenessProbe:
|
probes:
|
||||||
enabled: false
|
liveness:
|
||||||
|
enabled: true
|
||||||
readinessProbe:
|
custom: false
|
||||||
enabled: false
|
spec:
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
readiness:
|
||||||
|
enabled: true
|
||||||
|
custom: false
|
||||||
|
spec:
|
||||||
|
initialDelaySeconds: 45
|
||||||
|
periodSeconds: 15
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: node-role.kubernetes.io/control-plane
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
|||||||
@@ -3,10 +3,5 @@ kind: Kustomization
|
|||||||
namespace: dashboard
|
namespace: dashboard
|
||||||
resources:
|
resources:
|
||||||
- homarr-secrets.enc.yaml
|
- homarr-secrets.enc.yaml
|
||||||
|
# Homarr deployed via Helm chart (values in 60-applications.yaml multi-source Application).
|
||||||
# Patch Homarr deployment with proper probe timing
|
# This kustomization just holds the SOPS-encrypted secrets.
|
||||||
patches:
|
|
||||||
- path: deployment-probes-patch.yaml
|
|
||||||
target:
|
|
||||||
kind: Deployment
|
|
||||||
name: homarr
|
|
||||||
|
|||||||
Reference in New Issue
Block a user