Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 976 Bytes

File metadata and controls

27 lines (18 loc) · 976 Bytes

Snapshot controller maintenance

To maintain the Snapshot controller package, you should follow this steps.

Download the latest release for the CSI snapshotter component here: https://github.com/kubernetes-csi/external-snapshotter and extract it on /tmp folder.

wget -P /tmp https://github.com/kubernetes-csi/external-snapshotter/archive/refs/tags/v8.1.0.tar.gz
tar -xf /tmp/v8.1.0.tar.gz -C /tmp

Build manifests for the CRDs and the snapshotter with (for example):

kustomize build /tmp/external-snapshotter-8.1.0/client/config/crd > built-crds.yaml
kustomize build /tmp/external-snapshotter-8.1.0/deploy/kubernetes/snapshot-controller > built-snapshot-controller.yaml

Check the differences between:

  • built-crds.yaml and ./crds/crds.yaml
  • built-snapshot-controller.yaml and ./deploy-snapshot-controller.yaml

What was changed:

  • snapshot-controller Deployment replicas from 2 to 1
  • labels from app.kubernetes.io/name to app