You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>**Tip**: You can use the default [values.yaml](values.yaml)
412
395
396
+
397
+
### Probes Configurations
398
+
399
+
The nextcloud deployment includes a series of different probes you can use to determine if a pod is ready or not. You can learn more in the [Configure Liveness, Readiness and Startup Probes Kubernetes docs](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/).
|`livenessProbe.enabled`| Turn on and off liveness probe |`true`|
405
+
|`livenessProbe.initialDelaySeconds`| Delay before liveness probe is initiated |`10`|
406
+
|`livenessProbe.periodSeconds`| How often to perform the probe |`10`|
407
+
|`livenessProbe.timeoutSeconds`| When the probe times out |`5`|
408
+
|`livenessProbe.failureThreshold`| Minimum consecutive failures for the probe |`3`|
409
+
|`livenessProbe.successThreshold`| Minimum consecutive successes for the probe |`1`|
410
+
|`readinessProbe.enabled`| Turn on and off readiness probe |`true`|
411
+
|`readinessProbe.initialDelaySeconds`| Delay before readiness probe is initiated |`10`|
412
+
|`readinessProbe.periodSeconds`| How often to perform the probe |`10`|
413
+
|`readinessProbe.timeoutSeconds`| When the probe times out |`5`|
414
+
|`readinessProbe.failureThreshold`| Minimum consecutive failures for the probe |`3`|
415
+
|`readinessProbe.successThreshold`| Minimum consecutive successes for the probe |`1`|
416
+
|`startupProbe.enabled`| Turn on and off startup probe |`false`|
417
+
|`startupProbe.initialDelaySeconds`| Delay before readiness probe is initiated |`30`|
418
+
|`startupProbe.periodSeconds`| How often to perform the probe |`10`|
419
+
|`startupProbe.timeoutSeconds`| When the probe times out |`5`|
420
+
|`startupProbe.failureThreshold`| Minimum consecutive failures for the probe |`30`|
421
+
|`startupProbe.successThreshold`| Minimum consecutive successes for the probe |`1`|
422
+
423
+
> [!Note]
424
+
> 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.
425
+
413
426
## Cron jobs
414
427
415
428
To execute [background tasks](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/background_jobs_configuration.html) by using system cron instead of default Ajax cron, set`cronjob.enabled` parameter to `true`. Background jobs are important for tasks that do not necessarily need user intervention, but still need to be executed frequently (cleaning up, sending some notifications, pulling RSS feeds, etc.).
0 commit comments