github kubernetes-csi/external-snapshotter v2.0.0

latest releases: v8.0.1, client/v8.0.0, v8.0.0...
4 years ago

Overall Status

Volume snapshotting is a Beta feature in 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.0.0
docker pull quay.io/k8scsi/csi-snapshotter:v2.0.0

New Features

  • Split the external-snapshotter sidecar controller into two controllers, a snapshot-controller and an external-snapshotter sidecar. Only the external-snapshotter sidecar should be deployed with the CSI driver. (#182, @xing-yang)

Snapshot Controller

  • Add a finalizer on VolumeSnapshot object to protect it from being deleted when it is bound to
    a VolumeSnapshotContent. (#182, @xing-yang)
  • Adds deletion secret as annotation to volume snapshot content. (#165, @xing-yang)

CSI External-Snapshotter Sidecar

  • Add prometheus metrics to CSI external-snapshotter under the /metrics endpoint. This can be enabled via the "--metrics-address" and "--metrics-path" options. (#227, @saad-ali)
  • Adds deletion secret as annotation to volume snapshot content. (#165, @xing-yang)

Breaking Changes

API Changes

  • Changes VolumeSnapshot CRD version from v1alpha1 to v1beta1. v1alpha1 is no longer supported. (#139, @xing-yang)

Snapshot Controller

  • Removes createSnapshotContentRetryCount and createSnapshotContentInterval
    from command line options. (#211, @xing-yang)

CSI External-Snapshotter Sidecar

  • Add a prefix "external-snapshotter-leader" and the driver name to the snapshotter leader election lock name. Rolling update will not work if leader election is enabled because the lock name is changed in v2.0.0. (#129, @zhucan)

Bug Fixes

Snapshot Controller

  • Added extra verification of source PersistentVolumeClaim before creating snapshot. (#172, @xing-yang)
  • Fixes issue when SelfLink removal is turned on in Kubernetes. (#160, @msau42)

CSI External-Snapshotter Sidecar

  • Snapshotter will no longer call ListSnapshots if the CSI Driver does not support this operation. (#138, @ggriffiths)
  • Fixes issue when SelfLink removal is turned on in Kubernetes. (#160, @msau42)

Other Notable Changes

Snapshot Controller

  • Migrated to Go modules, so the source builds also outside of GOPATH. (#179, @pohly)

CSI External-Snapshotter Sidecar

  • Migrated to Go modules, so the source builds also outside of GOPATH. (#179, @pohly)
  • We will now exit the external-snapshotter when the connection to a CSI driver is lost, allowing for another leader to takeover. (#171, @ggriffiths)

Full Changelog

https://github.com/kubernetes-csi/external-snapshotter/blob/v2.0.0/CHANGELOG-2.0.md

Don't miss a new external-snapshotter release

NewReleases is sending notifications on new releases.