add doc for maintenance history

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
pull/8747/head
Lyndon-Li 2025-02-28 19:01:03 +08:00
parent 3821906ffa
commit 88455b1e83
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1 @@
Add doc for maintenance history

View File

@ -131,10 +131,32 @@ velero install --default-repo-maintain-frequency <DURATION>
For Kopia the default maintenance frequency is 1 hour, and Restic is 7 * 24 hours.
### Full Maintenance Interval customization
See [backup repository configuration][3]
See [backup repository configuration][3]
### Maintenance History
You can view the maintenance history by describing the corresponding backupRepository CR:
```
Status:
Last Maintenance Time: <timestamp>
Recent Maintenance:
Complete Timestamp: <timestamp>
Result: Succeeded
Start Timestamp: <timestamp>
Complete Timestamp: <timestamp>
Result: Succeeded
Start Timestamp: <timestamp>
Message: <error message>
Result: Failed
Start Timestamp: <timestamp>
```
- `Last Maintenance Time` indicates the time of the latest successful maintenance job
- `Recent Maintenance` keeps the status of the recent 3 maintenance jobs, including its start time, result (succeeded/failed), completion time (if the maintenance job succeeded), or error message (if the maintenance failed)
### Others
Maintenance jobs will inherit the labels, annotations, toleration, nodeSelector, service account, image, environment variables, cloud-credentials etc. from Velero deployment.
Maintenance jobs will inherit the labels, annotations, toleration, nodeSelector, service account, image, environment variables, cloud-credentials etc. from Velero deployment.
Maintenance jobs will not run for backup repositories whose backup storage location is set as readOnly.
[1]: velero-install.md#usage
[2]: node-agent-concurrency.md