diff --git a/charts/homarr/Chart.yaml b/charts/homarr/Chart.yaml index 064fc50..a18bee0 100644 --- a/charts/homarr/Chart.yaml +++ b/charts/homarr/Chart.yaml @@ -3,7 +3,7 @@ name: homarr description: A Helm chart to deploy homarr for Kubernetes home: https://homarr-labs.github.io/charts/charts/homarr/ type: application -version: 8.4.1 +version: 8.4.2 # renovate datasource=docker depName=ghcr.io/homarr-labs/homarr appVersion: "v1.45.1" icon: https://raw.githubusercontent.com/homarr-labs/charts/refs/heads/main/charts/homarr/icon.svg @@ -21,8 +21,8 @@ annotations: fingerprint: 36F9A886ABA6AA4C1588B942E7EC1AA0EFD54840 url: https://homarr-labs.github.io/charts/pgp_keys.asc artifacthub.io/changes: |- - - kind: changed - description: Update ghcr.io/homarr-labs/homarr docker tag to v1.45.1 + - kind: fixed + description: fix probes artifacthub.io/links: |- - name: App Source url: https://github.com/homarr-labs/homarr diff --git a/charts/homarr/README.md b/charts/homarr/README.md index b54dafb..dfa0e95 100644 --- a/charts/homarr/README.md +++ b/charts/homarr/README.md @@ -2,7 +2,7 @@ homarr logo -![Version: 8.4.1](https://img.shields.io/badge/Version-8.4.1-informational?style=flat) +![Version: 8.4.2](https://img.shields.io/badge/Version-8.4.2-informational?style=flat) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat) ![AppVersion: v1.45.1](https://img.shields.io/badge/AppVersion-v1.45.1-informational?style=flat) @@ -435,8 +435,12 @@ All available values are listed on the [artifacthub](https://artifacthub.io/pack | ingress.hosts | list | `[{"host":"chart-example.local","paths":[{"path":"/"}]}]` | Ingress hosts configuration | | ingress.ingressClassName | string | `""` | Ingress class name | | ingress.tls | list | `[]` | Ingress TLS configuration | +| livenessProbe.failureThreshold | int | `3` | Failure threshold for liveness probe - number of consecutive failures before pod is restarted | | livenessProbe.httpGet.path | string | `"/api/health/live"` | This is the liveness check endpoint used by Kubernetes to determine if the application is still running. | | livenessProbe.httpGet.port | int | `7575` | The port on which the liveness check will be performed. This must be the same as the container port exposed by the application. | +| livenessProbe.initialDelaySeconds | int | `10` | Initial delay in seconds before the liveness probe starts | +| livenessProbe.periodSeconds | int | `10` | Period in seconds between liveness probe checks | +| livenessProbe.timeoutSeconds | int | `1` | Timeout in seconds for each liveness probe check | | nameOverride | string | `""` | Overrides chart's name | | nodeSelector | object | `{}` | Node selectors for pod scheduling | | persistence.homarrDatabase.accessMode | string | `"ReadWriteOnce"` | homarr-database access mode | @@ -457,8 +461,12 @@ All available values are listed on the [artifacthub](https://artifacthub.io/pack | podSecurityContext | object | `{}` | Pod security context | | rbac | object | `{"enabled":false}` | Enable RBAC resources for Kubernetes integration Creates Role, ClusterRole, and associated bindings for Homarr's Kubernetes features | | rbac.enabled | bool | `false` | Enable to create RBAC resources and activate Kubernetes integration | +| readinessProbe.failureThreshold | int | `3` | Failure threshold for readiness probe - number of consecutive failures before pod is considered unready | | readinessProbe.httpGet.path | string | `"/api/health/ready"` | This is the readiness check endpoint used by Kubernetes to determine if the application is ready to handle traffic. | | readinessProbe.httpGet.port | int | `7575` | The port on which the readiness check will be performed. This must match the container's exposed port. | +| readinessProbe.initialDelaySeconds | int | `10` | Initial delay in seconds before the readiness probe starts. increase this value if the pod is slow to fully start. | +| readinessProbe.periodSeconds | int | `10` | Period in seconds between readiness probe checks | +| readinessProbe.timeoutSeconds | int | `1` | Timeout in seconds for each readiness probe check | | replicaCount | int | `1` | Number of replicas | | resources | object | `{}` | Resource configuration | | securityContext | object | `{}` | Security context | diff --git a/charts/homarr/templates/homarr-dc.yaml b/charts/homarr/templates/homarr-dc.yaml index 77bc9bd..f5e267f 100644 --- a/charts/homarr/templates/homarr-dc.yaml +++ b/charts/homarr/templates/homarr-dc.yaml @@ -49,21 +49,13 @@ spec: protocol: {{ $portSpec.protocol }} {{- end }} {{- end }} - {{- if .Values.livenessProbe }} + {{- with .Values.livenessProbe }} livenessProbe: -{{ toYaml .Values.livenessProbe | indent 12 }} - initialDelaySeconds: 10 - timeoutSeconds: 1 - periodSeconds: 10 - failureThreshold: 3 + {{- toYaml . | nindent 12 }} {{- end }} - {{- if .Values.readinessProbe }} + {{- with .Values.readinessProbe }} readinessProbe: -{{ toYaml .Values.readinessProbe | indent 12 }} - initialDelaySeconds: 10 - timeoutSeconds: 1 - periodSeconds: 10 - failureThreshold: 3 + {{- toYaml . | nindent 12 }} {{- end }} env: {{- if .Values.rbac.enabled }} diff --git a/charts/homarr/values.yaml b/charts/homarr/values.yaml index 2a88af3..33c27c4 100644 --- a/charts/homarr/values.yaml +++ b/charts/homarr/values.yaml @@ -160,13 +160,30 @@ service: ipFamilies: [ ] livenessProbe: + # -- Failure threshold for liveness probe - number of consecutive failures before pod is restarted + failureThreshold: 3 + # -- Initial delay in seconds before the liveness probe starts + initialDelaySeconds: 10 + # -- Timeout in seconds for each liveness probe check + timeoutSeconds: 1 + # -- Period in seconds between liveness probe checks + periodSeconds: 10 httpGet: # -- This is the liveness check endpoint used by Kubernetes to determine if the application is still running. path: /api/health/live # -- The port on which the liveness check will be performed. This must be the same as the container port exposed by the application. port: 7575 + # -- Initial delay before readiness probe is executed. increase this value if the pod is slow to fully start. readinessProbe: + # -- Failure threshold for readiness probe - number of consecutive failures before pod is considered unready + failureThreshold: 3 + # -- Initial delay in seconds before the readiness probe starts. increase this value if the pod is slow to fully start. + initialDelaySeconds: 10 + # -- Timeout in seconds for each readiness probe check + timeoutSeconds: 1 + # -- Period in seconds between readiness probe checks + periodSeconds: 10 httpGet: # -- This is the readiness check endpoint used by Kubernetes to determine if the application is ready to handle traffic. path: /api/health/ready