Releases: kubernetes-csi/external-snapshotter
v2.1.5
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Minimum CSI Spec Version
1.0.0
Minimum Kubernetes version
1.17
Maximum Kubernetes version
1.21 which is scheduled to be released on April 8, 2021.
Note: The v1beta1 version of CustomResourceDefinition is being removed in 1.22 after six releases of deprecation. In 1.22, the kube-apiserver will no longer serve the v1beta1 version of these resources and the only way to access them will be through the v1 APIs, available since 1.16.
Recommended Kubernetes version
1.17: For Beta
Container
docker pull k8s.gcr.io/sig-storage/snapshot-controller:v2.1.5
docker pull k8s.gcr.io/sig-storage/csi-snapshotter:v2.1.5
Changes
- Cherry pick of #413:
Bug fix to allow creation of snapshot content if pvc finalizer exists, even if
pvc is marked for deletion. (#488,
@mattcary) - Cherry pick of #334:
Call dynamic VS content creation unconditionally.
(#478,
@saikat-royc)
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v2.1.5/CHANGELOG-2.1.md
v2.1.4
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Minimum CSI Spec Version
1.0.0
Minimum Kubernetes version
1.17
Maximum Kubernetes version
1.21 which is scheduled to be released on April 8, 2021.
Note: The v1beta1 version of CustomResourceDefinition is being removed in 1.22 after six releases of deprecation. In 1.22, the kube-apiserver will no longer serve the v1beta1 version of these resources and the only way to access them will be through the v1 APIs, available since 1.16.
Recommended Kubernetes version
1.17: For Beta
Container
docker pull k8s.gcr.io/sig-storage/snapshot-controller:v2.1.4
docker pull k8s.gcr.io/sig-storage/csi-snapshotter:v2.1.4
Changes
- Cherry pick of #287: Allows the sidecar to delete volume snapshots if the volume snapshot class is not found. (#466, @ialidzhikov)
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v2.1.4/CHANGELOG-2.1.md
v4.0.0
Overall Status
Volume snapshotting has been a GA feature since Kubernetes v1.20.
Supported CSI Spec Versions
1.0.0, 1.1.0, 1.2.0, 1.3.0
Minimum Kubernetes version
1.20
Recommended Kubernetes version
1.20
Container
docker pull registry.k8s.io/sig-storage/snapshot-controller:v4.0.0
docker pull registry.k8s.io/sig-storage/csi-snapshotter:v4.0.0
docker pull registry.k8s.io/sig-storage/snapshot-validation-webhook:v4.0.0
Breaking Changes
-
Update to client/v4 (#451, @xing-yang)
-
Update snapshot-controller, CSI snapshotter sidecar, and validation webhook based on V1 APIs. This requires V1 snapshot APIs to be installed. (#425, @xing-yang)
Deprecations
CSI Snapshotter Sidecar
metrics-address
flag is deprecated and replaced byhttp-endpoint
, which enables handlers from both metrics manager and leader election health check. (#439, @xing-yang)
Feature
API Changes
- Move Snapshot APIs to V1. (#419, @xing-yang)
CSI Snapshotter Sidecar
- Add
process_start_time_seconds
metric. (#387, @Jiawei0227) - The CSI snapshotter has a new
--extra-create-metadata
flag.
When set to true, the name and namespace of the source VolumeSnapshot, and the name of the source VolumeSnapshotContent will be passed as parameters to the CSI driver in CreateSnapshotRequest. (#375, @chrishenzie) - Added leader election health check at the metrics port + path "/healthz/leader-election".
metrics-address
flag is deprecated and replaced byhttp-endpoint
, which enables handlers from both metrics manager and leader election health check. (#439, @xing-yang)
Snapshot Controller
- The
http-endpoint
andmetrics-path
flags have been added to support metrics for the snapshot-controller. (#409, @ggriffiths)
Bug or Regression
Snapshot Controller
- Bug fix to allow creation of snapshot content if pvc finalizer exists, even if pvc is marked for deletion. (#413, @RaunakShah)
- Fixed crash of snapshot-controller when source PVC of a snapshot to take does not exist. (#381, @jsafrane)
Validation Webhook
- The validation-webhook server will now watch for changes to --tls-cert-file and --tls-private-key-file and update the server's TLS config accordingly. (#429, @ggriffiths)
Other (Cleanup or Flake)
- Increased the default re-sync period to 15 minutes for the snapshotter sidecar and snapshot controller. (#447, @ggriffiths)
- klog/v2 is used for logging. (#439, @xing-yang)
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v4.0.0/CHANGELOG/CHANGELOG-4.0.md
client/v4.0.0
The release tag client/v4.0.0 is for VolumeSnapshot APIs and client library which are in a separate go package.
v3.0.3
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Supported CSI Spec Versions
1.0.0, 1.1.0, 1.2.0
Minimum Kubernetes version
1.17
Recommended Kubernetes version
1.17
Container
docker pull registry.k8s.io/sig-storage/snapshot-controller:v3.0.3
docker pull registry.k8s.io/sig-storage/csi-snapshotter:v3.0.3
docker pull registry.k8s.io/sig-storage/snapshot-validation-webhook:v3.0.3
Bug or Regression
Cherry-pick of #429. The validation-webhook server will now watch for changes to --tls-cert-file and --tls-private-key-file and update the server's TLS config accordingly. (#435, @ggriffiths)
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v3.0.3/CHANGELOG/CHANGELOG-3.0.md
v2.1.3
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Minimum CSI Spec Version
1.0.0
Minimum Kubernetes version
1.17
Maximum Kubernetes version
1.21 which is scheduled to be released on April 8, 2021.
Note: The v1beta1 version of CustomResourceDefinition is being removed in 1.22 after six releases of deprecation. In 1.22, the kube-apiserver will no longer serve the v1beta1 version of these resources and the only way to access them will be through the v1 APIs, available since 1.16.
Recommended Kubernetes version
1.17: For Beta
Container
docker pull quay.io/k8scsi/snapshot-controller:v2.1.3
docker pull quay.io/k8scsi/csi-snapshotter:v2.1.3
Changes
- Backports fix #381 for crashloop when there are errors in the VolumeSnapshot, like a missing VolumeSnapshotClass. (#446, @mattcary)
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v2.1.3/CHANGELOG-2.1.md
v3.0.2
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Supported CSI Spec Versions
1.0.0, 1.1.0, 1.2.0
Minimum Kubernetes version
1.17
Recommended Kubernetes version
1.17
Container
docker pull registry.k8s.io/sig-storage/snapshot-controller:v3.0.2
docker pull registry.k8s.io/sig-storage/csi-snapshotter:v3.0.2
docker pull registry.k8s.io/sig-storage/snapshot-validation-webhook:v3.0.2
Bug or Regression
-
Cherry-pick from #413. Bug fix to allow creation of snapshot content if pvc finalizer exists, even if pvc is marked for deletion. (#414, @RaunakShah)
-
Cherry-pick PR (#381, @jsafrane). Fix crash of snapshot-controller when source PVC of a snapshot to take does not exist. (#416, @xing-yang).
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v3.0.2/CHANGELOG/CHANGELOG-3.0.md
v3.0.1
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Supported CSI Spec Versions
1.0.0, 1.1.0, 1.2.0
Minimum Kubernetes version
1.17
Recommended Kubernetes version
1.17
Container
docker pull registry.k8s.io/sig-storage/snapshot-controller:v3.0.1
docker pull registry.k8s.io/sig-storage/csi-snapshotter:v3.0.1
docker pull registry.k8s.io/sig-storage/snapshot-validation-webhook:v3.0.1
Bug or Regression
Cherry-pick from #387. Add process_start_time_seconds metric so that we can properly extrapolate the beginning part of the histogram data. (#388, @Jiawei0227)
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v3.0.1/CHANGELOG/CHANGELOG-3.0.md
v2.1.2
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Minimum CSI Spec Version
1.0.0
Minimum Kubernetes version
1.17
Maximum Kubernetes version
1.21 which is scheduled to be released on April 8, 2021.
Note: The v1beta1 version of CustomResourceDefinition is being removed in 1.22 after six releases of deprecation. In 1.22, the kube-apiserver will no longer serve the v1beta1 version of these resources and the only way to access them will be through the v1 APIs, available since 1.16.
Recommended Kubernetes version
1.17: For Beta
Container
docker pull quay.io/k8scsi/snapshot-controller:v2.1.2
docker pull quay.io/k8scsi/csi-snapshotter:v2.1.2
Changes
- release-2.1: update release-tools (#392, @Jiawei0227)
- Build with Go 1.15
Dependencies
Changed
- github.com/kubernetes-csi/csi-lib-utils: v0.7.0 → v0.7.1
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v2.1.2/CHANGELOG-2.1.md
v3.0.0
Overall Status
Volume snapshotting has been a Beta feature since Kubernetes v1.17.
Supported CSI Spec Versions
1.0.0, 1.1.0, 1.2.0
Minimum Kubernetes version
1.17
Recommended Kubernetes version
1.17
Container
docker pull registry.k8s.io/sig-storage/snapshot-controller:v3.0.0
docker pull registry.k8s.io/sig-storage/csi-snapshotter:v3.0.0
docker pull registry.k8s.io/sig-storage/snapshot-validation-webhook:v3.0.0
Breaking Changes
-
Update volume snapshot APIs and client library to v3. Volume snapshot APIs and client library are in a separate sub-module:
github.com/kubernetes-csi/external-snapshotter/client/v3
. (#373, @xing-yang) -
Added Go Module for APIs and Client. Volume snapshot APIs and client library are now in a separate sub-module. (#307, @Kartik494)
-
With kubernetes 1.18 release of client-go, signatures on methods in generated clientsets, dynamic, metadata, and scale clients have been modified to accept context.Context as a first argument. Signatures of Create, Update, and Patch methods have been updated to accept CreateOptions, UpdateOptions and PatchOptions respectively. Signatures of Delete and DeleteCollection methods now accept DeleteOptions by value instead of by reference. These changes are now accommodated with this PR and client-go and dependencies are updated to v1.18.0 (#286, @humblec)
New Features
-
The validation for volume snapshot objects (VolumeSnapshot and VolumeSnapshotContent) is getting more strict. Due to backwards compatibility this change will occur over multiple releases. The following key changes are highlighted.
- As part of the first phase of the multi-phased release process, a validating
webhook server has been added. This server will perform additional validation (strict) which was not done during the beta release of volume snapshots. It will prevent the cluster from gaining (via create or update) invalid objects. - The controller will label objects which fail the additional validation. The label "snapshot.storage.kubernetes.io/invalid-snapshot-content-resource" will be added to invalid VolumeSnapshotContent objects. The label "snapshot.storage.kubernetes.io/invalid-snapshot-resource" will be added to invalide VolumeSnapshot objects.
The combination of 1 and 2 will allow cluster admins to stop the increase of invalid objects, and provide a way to easily list all objects which currently fail the strict validation. It is the kubernets distribution and cluster admin's responsibility to install the webhook and to ensure all the invalid objects in the cluster have been deleted or fixed. See the KEP at https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/177-volume-snapshot/tighten-validation-webhook-crd.md (#353, @AndiLi99)
- As part of the first phase of the multi-phased release process, a validating
Snapshot Controller
- With the addition of the validating webhook server, the snapshot controller is modified to label objects which fail the additional validation. The label "snapshot.storage.kubernetes.io/invalid-snapshot-content-resource" will be added to invalid VolumeSnapshotContent objects. The label "snapshot.storage.kubernetes.io/invalid-snapshot-resource" will be added to invalide VolumeSnapshot objects. (#353, @AndiLi99)
- Snapshot APIs and Client are now in a separate go package. The snapshot controller is modified to use the new package. (#307, @Kartik494)
CSI External-Snapshotter Sidecar
- Snapshot APIs and Client are now in a separate go package. The CSI external-snapshotter sidecar is modified to use the new package. (#307, @Kartik494)
Full Changelog
https://github.com/kubernetes-csi/external-snapshotter/blob/v3.0.0/CHANGELOG/CHANGELOG-3.0.md