Releases: vmware-tanzu/velero
Releases · vmware-tanzu/velero
v0.7.0
New Features:
- Run the Ark server in any namespace (#272, @ncdc)
- Add ability to delete backups and their associated data (#252, @skriss)
- Support both pre and post backup hooks (#243, @ncdc)
Bug Fixes / Other Changes:
- Switch from Update() to Patch() when updating Ark resources (#241, @skriss)
- Don't fail the backup if a PVC is not bound to a PV (#256, @skriss)
- Restore serviceaccounts prior to workload controllers (#258, @ncdc)
- Stop removing annotations from PVs when restoring them (#263, @skriss)
- Update GCP client libraries (#249, @skriss)
- Clarify backup and restore creation messages (#270, @nrb)
- Update S3 bucket creation docs for us-east-1 (#285, @lypht)
Thanks as always to all our contributors!
Binary checksums:
d9c5479dce1f7afffa370dd33def4ea3a8531181296c8b0fe0c60bb5d587a030 ark-v0.7.0-darwin-amd64.tar.gz
6def17fb54b439103a68f8aa1be18481a9e45b852bc6eda3e545b15168243582 ark-v0.7.0-linux-amd64.tar.gz
8c7a8007716c2ff4887c2a056fb7e8662965bb0e846a82626a3f034575c6fc80 ark-v0.7.0-linux-arm64.tar.gz
c506ddffaa7a00a60efa0584147df150cf6af0d0f57dd3ac7e3bd8eaaa288a72 ark-v0.7.0-linux-arm.tar.gz
1008fc128b37b758338f3bb735fea7697ece55154650f1ea8d57f1ce58fb2fdc ark-v0.7.0-windows-amd64.tar.gz
c682b46a3e16f30dc2dc34f96f5f8257210570a0cd4c5ea37f8044c55cbc0d73 CHECKSUM
v0.6.0
Highlights:
- Plugins - We now support user-defined plugins that can extend Ark functionality to meet your custom backup/restore needs without needing to be compiled into the core binary. We support pluggable block and object stores as well as per-item backup and restore actions that can execute arbitrary logic, including modifying the items being backed up or restored. For more information see the documentation, which includes a reference to a fully-functional sample plugin repository. (#174 #188 #206 #213 #215 #217 #223 #226)
- Describers - The Ark CLI now includes
describe
commands forbackups
,restores
, andschedules
that provide human-friendly representations of the relevant API objects.
Breaking Changes:
- The config object format has changed. In order to upgrade to v0.6.0, the config object will have to be updated to match the new format. See the examples and documentation for more information.
- The restore object format has changed. The
warnings
anderrors
fields are now ints containing the counts, while full warnings and errors are now stored in the object store instead of etcd. Restore objects created prior to v.0.6.0 should be deleted, or a new bucket used, and the old restore objects deleted from Kubernetes (kubectl -n heptio-ark delete restore --all
).
All New Features:
- Add
ark plugin add
andark plugin remove
commands #217, @skriss - Add plugin support for block/object stores, backup/restore item actions #174 #188 #206 #213 #215 #223 #226, @skriss @ncdc
- Improve Azure deployment instructions #216, @ncdc
- Change default TTL for backups to 30 days #204, @nrb
- Improve logging for backups and restores #199, @ncdc
- Add
ark backup describe
,ark schedule describe
#196, @ncdc - Add
ark restore describe
and move restore warnings/errors to object storage #173 #201 #202, @ncdc - Upgrade to client-go v5.0.1, kubernetes v1.8.2 #157, @ncdc
- Add Travis CI support #165 #166, @ncdc
Bug Fixes:
- Fix log location hook prefix stripping #222, @ncdc
- When running
ark backup download
, remove file if there's an error #154, @ncdc - Update documentation for AWS KMS Key alias support #163, @lli-hiya
- Remove clock from
volume_snapshot_action
#137, @athampy
Thanks as always to all our contributors!
Binary checksums:
1cf92a0000334d883286784cf4e19b52539365f4ef41d6f8ca3ca5e3643d9a02 ark-v0.6.0-darwin-amd64.tar.gz
8a7982ff5372eeae7575d081ff5a3cce6d19ea189e969f2253a293428d22f7e7 ark-v0.6.0-linux-amd64.tar.gz
7c2fcfb2b315e3a8bf7abfc6b1ce357f42a397196d963c3f1435e34be73eb604 ark-v0.6.0-linux-arm64.tar.gz
6dbcad17e55b06f7a3613caf27314634c785fac9b7c308b805cbfa11ff9c04f4 ark-v0.6.0-linux-arm.tar.gz
a8627977c6909861ac433587346851519ae5fc0ed76d7e62762a3d9b120cfab0 ark-v0.6.0-windows-amd64.tar.gz
d72b0fdd06e220d284d6920ccf628764b9ecd42d77e97556d45af2f3b2bb0942 CHECKSUM
v0.5.1
A few bugs squeaked their way in to v0.5.0. This release hopefully squashes them!
Bugs fixed:
- Headless services were incorrectly restored as cluster-ip services (backport of #171, @nrb)
- Label selectors were not being honored when listing backups, schedules, and restores (backport of #169, @nrb)
- Restore namespace mappings were inadvertently broken (backport of #179, @skriss)
- Namespace objects were not always included in the backup (backport of #182, @dgoodwin and @ncdc)
- Namespace objects that should have been excluded were incorrectly included (backport of #182, @dgoodwin and @ncdc)
Binary checksums:
0a764974a633a640af86f3162711b7539b0e442232de76d13317364011b004ed ark-darwin-amd64.tar.gz
78f7eea1a5886e4ca883b76a95dc7e8fe8df9b2f4504c2a146ac9cb26cc640a1 ark-linux-amd64.tar.gz
c2a9ff6910b687179125d6cdc1f36eaebcaca15cb3a2c6e6c158f7d36cd225b3 ark-linux-arm64.tar.gz
da6e73086742b94804bc62fcc3c84c3a0fbdd8596bedee6d214c9840a76a5b11 ark-linux-arm.tar.gz
15918c07bdafc8947ee8f690294fccd32108a2840a67e000c794aec63133c844 ark-windows-amd64.tar.gz
4b9aaac97f21f92c6916cb44d95b7b32476f0a5255f7d29e7670ff3e4ba4b95e CHECKSUM
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
v0.4.0
Breaking changes:
- Snapshot and restore volumes by default (#45)
ark restore create
:--namespaces
replaced by--include-namespaces
and--exclude-namespaces
(#59)
New features:
- Add support for S3 SSE with KMS (#29)
- Validate cloud provider configurations & make persistentVolumeProvider optional (#35)
- Add garbage collection of Restore objects (#63)
- Save logs per backup (#40)
- Save logs per restore (#79)
- Add
--include-resources/--exclude-resources
for restores (#78)
Bug fixes:
- Only save/use iops for io1 volumes on AWS (#37)
- When restoring, try to retrieve the Backup directly from object storage if it's not found (#57)
- When syncing Backups from object storage to Kubernetes, don't return at the first error encountered (#66)
- More closely match how
kubectl
performs kubeconfig resolution (#62) - Increase default Azure API request timeout to 2 minutes (#90)
- Update Azure diskURI to match diskName (#89)
Thanks again to @jrnt30 for contributing to this release!