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 togs|azure:container:/[prefix]
.spec.backend.repositorySecretName
is renamed tospec.backend.storageSecretName
spec.backend.local.Volume
is now a VolumeSource and is renamed tospec.backend.local.VolumeSource
. WhenLocal
backend is used, Stash mounts thelocal.VoumeSource
with volume namestash-local
.
Actions Required
If you are using previous version of Stash, please follow the steps below to upgrade.
- Get all your Restic objects.
$ kubectl get restic.stash.appscode.com --all-namespaces -o yaml > data.yaml
- 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
- 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
-
Now uninstall the Stash operator following the steps here.
-
Now reinstall Stash operator following the steps here.
-
Update your Restic objects in data.yaml as needed.
-
Recreate your new Restics.
kubectl create -f data.yaml
If you are using Stash with StatefulSet workloads, please update them accordingly.