From c225aa5965a26c059f52e82ce0ff64ff69a25de9 Mon Sep 17 00:00:00 2001 From: Thomas Mueller Date: Fri, 13 Dec 2024 08:40:26 +0100 Subject: [PATCH] Default Annotation for VolumeSnapshotClasses are per CSI driver Each CSI driver can have a default VolumeSnapshotClass defined. Closes #49069 --- content/en/docs/concepts/storage/volume-snapshot-classes.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/en/docs/concepts/storage/volume-snapshot-classes.md b/content/en/docs/concepts/storage/volume-snapshot-classes.md index 48d48b81f46f7..95f744ac41d16 100644 --- a/content/en/docs/concepts/storage/volume-snapshot-classes.md +++ b/content/en/docs/concepts/storage/volume-snapshot-classes.md @@ -51,7 +51,7 @@ deletionPolicy: Delete parameters: ``` -Administrators can specify a default VolumeSnapshotClass for VolumeSnapshots +Administrators can specify a default VolumeSnapshotClass per CSI driver for VolumeSnapshots that don't request any particular class to bind to by adding the `snapshot.storage.kubernetes.io/is-default-class: "true"` annotation: @@ -67,6 +67,9 @@ deletionPolicy: Delete parameters: ``` +If more than one default annotation per CSI driver is found, the snapshot +will fail. + ### Driver Volume snapshot classes have a driver that determines what CSI volume plugin is