mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * backup_and_restore/application_backup_and_restore/troubleshooting/oadp-timeouts.adoc
|
|
//
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="csisnapshot-timeout_{context}"]
|
|
= Implementing CSI snapshot timeout
|
|
|
|
[role="_abstract"]
|
|
`CSISnapshotTimeout` specifies the time during creation to wait until the `CSI VolumeSnapshot` status becomes `ReadyToUse`, before returning error as timeout. The default value is `10m`.
|
|
|
|
Use the `CSISnapshotTimeout` for the following scenarios:
|
|
|
|
* With the CSI plugin.
|
|
* For very large storage volumes that may take longer than 10 minutes to snapshot. Adjust this timeout if timeouts are found in the logs.
|
|
|
|
[NOTE]
|
|
====
|
|
Typically, the default value for `CSISnapshotTimeout` does not require adjustment, because the default setting can accommodate large storage volumes.
|
|
====
|
|
|
|
.Procedure
|
|
|
|
* Edit the values in the `spec.csiSnapshotTimeout` block of the `Backup` CR manifest, as shown in the following example:
|
|
+
|
|
[source,yaml]
|
|
----
|
|
apiVersion: velero.io/v1
|
|
kind: Backup
|
|
metadata:
|
|
name: <backup_name>
|
|
spec:
|
|
csiSnapshotTimeout: 10m
|
|
# ...
|
|
---- |