github stashed/stash 0.4.0

latest releases: v0.34.0, v0.33.0, v0.33.0-rc.0...
6 years ago

Stash 0.4.0 comes with improved support for Azure Storage backend. We recommend updating Stash operator if you are using it currently. For new users, please follow the installation guide here. For existing users, please first read the Actions Required section below.

Download Docker images via:

docker pull appscode/stash:0.4.0

Changelog

  • restic updated to https://github.com/appscode/restic/tree/stash-0.4.0 . This includes an updated Azure-sdk-fo-go with support for reading partial blobs. This should improve backup speed for Azure backend. The repository URL format is also updated to gs|azure:container:/[prefix].
  • spec.backend.repositorySecretName is renamed to spec.backend.storageSecretName
  • spec.backend.local.Volume is now a VolumeSource and is renamed to spec.backend.local.VolumeSource. When Local backend is used, Stash mounts the local.VoumeSource with volume name stash-local.

Actions Required
If you are using previous version of Stash, please follow the steps below to upgrade.

  1. Get all your Restic objects.
$ kubectl get restic.stash.appscode.com --all-namespaces -o yaml > data.yaml
  1. Delete the old Restic objects from all namespaces one by one. Please make sure you exported the existing Restic objects correctly in Step 1.
$ kubectl delete restic.stash.appscode.com --all --cascade=false
  1. Now wait for Stash operator to remove stash sidecar container from your workloads. Run the following command to confirm:
$ kubectl get pods --all-namespaces --watch
  1. Now uninstall the Stash operator following the steps here.

  2. Now reinstall Stash operator following the steps here.

  3. Update your Restic objects in data.yaml as needed.

  4. Recreate your new Restics.

kubectl create -f data.yaml

If you are using Stash with StatefulSet workloads, please update them accordingly.

Don't miss a new stash release

NewReleases is sending notifications on new releases.