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 k8s.gcr.io/sig-storage/snapshot-controller:v4.0.0
docker pull k8s.gcr.io/sig-storage/csi-snapshotter:v4.0.0
docker pull k8s.gcr.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