diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 25b717f2..9dc099bd 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 9.4.1 +version: 9.5.0 # renovate: image=docker.io/library/nextcloud appVersion: 35.0.2 description: A file sharing server that puts the control and security of your own data back into your hands. diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index bd94bb23..d61f02bd 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -533,24 +533,27 @@ The nextcloud deployment includes a series of different probes you can use to de | Parameter | Description | Default | | ------------------------------------ | ------------------------------------------- | ------- | -| `livenessProbe.enabled` | Turn on and off liveness probe | `true` | -| `livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `10` | -| `livenessProbe.periodSeconds` | How often to perform the probe | `10` | -| `livenessProbe.timeoutSeconds` | When the probe times out | `5` | -| `livenessProbe.failureThreshold` | Minimum consecutive failures for the probe | `3` | -| `livenessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` | -| `readinessProbe.enabled` | Turn on and off readiness probe | `true` | -| `readinessProbe.initialDelaySeconds` | Delay before readiness probe is initiated | `10` | -| `readinessProbe.periodSeconds` | How often to perform the probe | `10` | -| `readinessProbe.timeoutSeconds` | When the probe times out | `5` | -| `readinessProbe.failureThreshold` | Minimum consecutive failures for the probe | `3` | -| `readinessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` | -| `startupProbe.enabled` | Turn on and off startup probe | `false` | -| `startupProbe.initialDelaySeconds` | Delay before readiness probe is initiated | `30` | -| `startupProbe.periodSeconds` | How often to perform the probe | `10` | -| `startupProbe.timeoutSeconds` | When the probe times out | `5` | -| `startupProbe.failureThreshold` | Minimum consecutive failures for the probe | `30` | -| `startupProbe.successThreshold` | Minimum consecutive successes for the probe | `1` | +| `livenessProbe.enabled` | Turn on and off liveness probe | `true` | +| `livenessProbe.path` | HTTP GET request path for liveness probe | `"/status.php"`| +| `livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `10` | +| `livenessProbe.periodSeconds` | How often to perform the probe | `10` | +| `livenessProbe.timeoutSeconds` | When the probe times out | `5` | +| `livenessProbe.failureThreshold` | Minimum consecutive failures for the probe | `3` | +| `livenessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` | +| `readinessProbe.enabled` | Turn on and off readiness probe | `true` | +| `readinessProbe.path` | HTTP GET request path for readiness probe | `"/status.php"`| +| `readinessProbe.initialDelaySeconds` | Delay before readiness probe is initiated | `10` | +| `readinessProbe.periodSeconds` | How often to perform the probe | `10` | +| `readinessProbe.timeoutSeconds` | When the probe times out | `5` | +| `readinessProbe.failureThreshold` | Minimum consecutive failures for the probe | `3` | +| `readinessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` | +| `startupProbe.enabled` | Turn on and off startup probe | `false` | +| `startupProbe.path` | HTTP GET request path for startup probe | `"/status.php"`| +| `startupProbe.initialDelaySeconds` | Delay before readiness probe is initiated | `30` | +| `startupProbe.periodSeconds` | How often to perform the probe | `10` | +| `startupProbe.timeoutSeconds` | When the probe times out | `5` | +| `startupProbe.failureThreshold` | Minimum consecutive failures for the probe | `30` | +| `startupProbe.successThreshold` | Minimum consecutive successes for the probe | `1` | > [!Note] > If you are getting errors on initialization (such as `Fatal error: require_once(): Failed opening required '/var/www/html/lib/versioncheck.php'`, but you can get other errors as well), a good first step is to try and enable the startupProbe and/or increase the `initialDelaySeconds` for the `livenessProbe` and `readinessProbe` to something much greater (consider using `120` seconds instead of `10`. This is an especially good idea if your cluster is running on older hardware, has a slow internet connection, or you're using a slower storage class, such as NFS that's running with older disks or a slow connection. diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index ab2ddc3e..a8c6b068 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -94,7 +94,7 @@ spec: {{- if .enabled }} livenessProbe: httpGet: - path: /status.php + path: {{ .path | default "/status.php" }} port: {{ $.Values.nextcloud.containerPort }} httpHeaders: - name: Host @@ -110,7 +110,7 @@ spec: {{- if .enabled }} readinessProbe: httpGet: - path: /status.php + path: {{ .path | default "/status.php" }} port: {{ $.Values.nextcloud.containerPort }} httpHeaders: - name: Host @@ -126,7 +126,7 @@ spec: {{- if .enabled }} startupProbe: httpGet: - path: /status.php + path: {{ .path | default "/status.php" }} port: {{ $.Values.nextcloud.containerPort }} httpHeaders: - name: Host @@ -155,7 +155,7 @@ spec: {{- if .enabled }} livenessProbe: httpGet: - path: /status.php + path: {{ .path | default "/status.php" }} port: {{ $.Values.nextcloud.containerPort }} httpHeaders: - name: Host @@ -171,7 +171,7 @@ spec: {{- if .enabled }} readinessProbe: httpGet: - path: /status.php + path: {{ .path | default "/status.php" }} port: {{ $.Values.nextcloud.containerPort }} httpHeaders: - name: Host @@ -187,7 +187,7 @@ spec: {{- if .enabled }} startupProbe: httpGet: - path: /status.php + path: {{ .path | default "/status.php" }} port: {{ $.Values.nextcloud.containerPort }} httpHeaders: - name: Host diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 860ad7ad..ea259278 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -844,6 +844,7 @@ priorityClassName: "" ## livenessProbe: enabled: true + path: /status.php initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 5 @@ -851,6 +852,7 @@ livenessProbe: successThreshold: 1 readinessProbe: enabled: true + path: /status.php initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 5 @@ -858,6 +860,7 @@ readinessProbe: successThreshold: 1 startupProbe: enabled: false + path: /status.php initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 5