v0.5.0
Highlights:
- Backup hooks - users can now specify that custom scripts within their containers should be executed during Pod backups. This is particularly useful for stateful workloads where disk buffers need to be flushed, database commands need to be issued, etc. (#112)
- Multi-AZ cluster support - we now support backups including PV snapshots for clusters spanning multiple AZs. Ark no longer expects an AZ to be specified in the config; the AZ for each PV will be recorded during backup execution and used for subsequent restores. (#102)
- Easier backups of individual namespaces - it's now possible to backup one or more namespaces, including any PVs used by them, without having to explicitly exclude cluster-scoped resources. Simply use:
ark backup create <backup-name> --include-namespaces=<ns1,ns2,...>
, and Ark will automatically exclude irrelevant cluster-scoped resources. (#65, #128, #147) - Ark CLI binaries - Going forward, we recommend running the Ark CLI binary directly rather than in a container. We're now publishing these as part of releases. (#148)
Breaking Changes:
- The backup tar file format has changed. Backups created using previous versions of Ark cannot be restored using v0.5.0.
- When backing up one or more specific namespaces, cluster-scoped resources are no longer backed up by default, with the exception of PVs that are used within the target namespace(s). Cluster-scoped resources can still be included by explicitly specifying
--include-cluster-resources
.
All New Features:
- Add customized user-agent string #69, @jrnt30
- Switch from glog to logrus #98 #126 #122 #123, @skriss
- Exclude nodes from restoration #99, @jrnt30
- Add a FAQ #113, @julia-stripe
- Record PV availability zone and use it when restoring #102, @ashish-amarnath
- Back up the PV associated with a PVC #65, @skriss
- Add
--include-cluster-resources
flag toark backup create
#128, @skriss - Add
--include-cluster-resources
flag toark restore create
#147, @skriss - Properly support resource restore priorities across cluster-scoped and namespace-scoped resources #132, @dgoodwin
- Support
ark create ...
andark get ...
#81, @ncdc - Make ark run as cluster-admin #145, @skriss
- Add pod exec backup hooks #112, @ncdc
- Support cross-compilation & upgrade to go 1.9 #148, @ncdc
Bug Fixes:
Thanks as always to all our contributors!
Binary checksums:
2c06f433c4cc1a131aaf6edab847a0d76a5210f957a31175264ed583febbd9a8 ark-darwin-amd64.tar.gz
0a6dbe96bbfef7b9967320cd0a5202e6e32367547ec2bbbeccecf679bcb179a2 ark-linux-amd64.tar.gz
39238693c524c9867274bcee6b369ac8ab9f88947f64d20a0dd95d3c82055a50 ark-linux-arm64.tar.gz
83071421a05ad442e4ad86fcc8b1a6a8f1ab8be0860328823ae6df4eca311e3b ark-linux-arm.tar.gz
1331b07294e9893c726fde38dbaf038b26b9c405bf02daa5652936b31945b7a2 ark-windows-amd64.tar.gz
c0bcbdef8d50b59ad9621722ebb6a9c40d16f7ad00b654987db59db66019911d CHECKSUM