From ac8e5cc08443ede2e6e388e1d06da172c472d610 Mon Sep 17 00:00:00 2001 From: bsctl Date: Tue, 13 Aug 2024 08:02:19 +0200 Subject: [PATCH] fix: default defrag schedule --- charts/kamaji-etcd/README.md | 4 ++-- charts/kamaji-etcd/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kamaji-etcd/README.md b/charts/kamaji-etcd/README.md index 88900e7..a594bda 100644 --- a/charts/kamaji-etcd/README.md +++ b/charts/kamaji-etcd/README.md @@ -67,8 +67,8 @@ Here the values you can override: | clusterDomain | string | `"cluster.local"` | Domain of the Kubernetes cluster. | | datastore.enabled | bool | `false` | Create a datastore custom resource for Kamaji | | datastore.name | string | `""` | Name of Kamaji datastore, set to fully qualified etcd name when null or not provided | -| defragmentation | object | `{"schedule":"*/15 * * * *"}` | Enable storage defragmentation | -| defragmentation.schedule | string | `"*/15 * * * *"` | The job scheduled maintenance time for defrag (empty to disable) | +| defragmentation | object | `{"schedule":"0 0 * * *"}` | Enable storage defragmentation | +| defragmentation.schedule | string | `"0 0 * * *"` | The job scheduled maintenance time for defrag (empty to disable) | | extraArgs | list | `[]` | A list of extra arguments to add to the etcd default ones | | fullnameOverride | string | `""` | | | image.pullPolicy | string | `"IfNotPresent"` | Pull policy to use | diff --git a/charts/kamaji-etcd/values.yaml b/charts/kamaji-etcd/values.yaml index bf0b6cc..39f7991 100644 --- a/charts/kamaji-etcd/values.yaml +++ b/charts/kamaji-etcd/values.yaml @@ -79,7 +79,7 @@ persistentVolumeClaim: # -- Enable storage defragmentation defragmentation: # -- The job scheduled maintenance time for defrag (empty to disable) - schedule: "*/15 * * * *" # https://crontab.guru/ + schedule: "0 0 * * *" # Default cron schedule (daily at midnight), see https://crontab.guru/ # -- Labels to add to all etcd pods podLabels: