Stash v2021.10.11 - Introducing NATS & ETCD Add-ons

We are very excited to announce Stash v2021.10.11. In this release, we are introducing NATS and ETCD add-ons for Stash. We have also added TLS support for Redis Add-on.

In this post, we are going to highlight the major changes. You can find the complete changelog here.

Introducing NATS Add-on

In this release, we have added NATS to our Stash add-ons family. Now, you can backup your NATS Jetstream server running inside Kubernetes using Stash. We have added the add-on version 2.6.1 for NATS. You should be able to backup any NATS server of 2.x.x series.

Related resources:

Introducing ETCD Add-on

In this release, we have also added ETCD add-on. Now, you can backup your ETCD database running inside Kubernetes using Stash. We have added the add-on versioned 3.5.0 for ETCD. You should be able to backup your ETCD 3.x.x series ETCD database using this add-on.

Bug Fix and Enhancements

We have also squashed a few bugs and added a few enhancements in this release. Here are some of the highlighting fixes & enhancements.

  • Support passing args to restic backup/restore command: We have added the support for passing arguments to restic backup and restore command. Now User can pass optional arguments to the restic backup/restore process via spec.target.args field of BackupConfiguration/RestoreSession. Here are some examples:

    Pass args to restic backup command:

    apiVersion: stash.appscode.com/v1beta1
    kind: BackupConfiguration
    metadata:
      name: sample-deployment-backup
      namespace: demo
    spec:
      repository:
        name: deployment-backup-repo
      schedule: "*/5 * * * *"
      target:
        ref:
          apiVersion: apps/v1
          kind: Deployment
          name: sample-deployment
        volumeMounts:
          - name: source-data
            mountPath: /source/data
        paths:
          - /source/data
        args: ["--ignore-inode", "--tag=t1,t2"]
      retentionPolicy:
        name: "keep-last-5"
        keepLast: 5
        prune: true
    

    Pass args to restic restore command:

    apiVersion: stash.appscode.com/v1beta1
    kind: RestoreSession
    metadata:
      name: sample-deployment-restore
      namespace: demo
    spec:
      repository:
        name: deployment-backup-repo
      target:
        ref:
          apiVersion: apps/v1
          kind: Deployment
          name: sample-deployment
        volumeMounts:
          - name: source-data
            mountPath: /source/data
        rules:
          - paths:
              - /source/data/
        args: ["--tag=t1,t2"]
    
  • Fix license-reader ClusterRoleBinding cleaning: Some of our users were facing issues with license-reader ClusterRoleBinding not getting deleted after deleting the respective RestoreSession. We have fixed the issue in this release. Now, the ClusterRoleBinding should get deleted when a user deletes the respective RestoreSession.

  • Use restic v0.12.1: In this release, we have upgraded the restic version to v0.12.1.

  • Show actual repository size instead of logical size: Previously, Stash showed the logical size of the repository which did not reflect the actual repository size. We have fixed this issue. Now, your Repository size should be the same as how much actual data is in the backend.

  • Update restic docker image in Stash kubectl plugin: We have upgraded the underlying restic docker image used by Stash kubectl plugin.

  • TLS support in Redis add-on: We have added the TLS support for redis add-on in this release.

  • MongoDB 5.0.3 and PostgreSQL 14.0 support: We have added support for MongoDB 5.0.3. Now, you can backup your MongoDB 5.x.x using this add-on. We have also added support for PostgreSQL 14.0.

What Next?

Please try the latest release and give us your valuable feedback.

  • If you want to install Stash in a clean cluster, please follow the installation instruction from here .
  • If you want to upgrade Stash from a previous version, please follow the upgrade instruction from here .

Support

To speak with us, please leave a message on our website .

To receive product announcements, follow us on Twitter .

If you have found a bug with Stash or want to request new features, please file an issue .


TAGS

Get Up and Running Quickly

Deploy, manage, upgrade Kubernetes on any cloud and automate deployment, scaling, and management of containerized applications.