Releases: vmware-tanzu/velero
v0.9.0
Highlights:
- Ark now has support for backing up and restoring Kubernetes volumes using a free open-source backup tool called restic. This provides users an out-of-the-box solution for backing up and restoring almost any type of Kubernetes volume whether or not it has snapshot support integrated with Ark. For more information, see the documentation.
- Support for Prometheus metrics has been added! View total number of backup attempts (including success or failure), total backup size in bytes, and backup durations. More metrics coming in future releases!
All New Features:
- Add restic support (#508 #532 #533 #534 #535 #537 #540 #541 #545 #546 #547 #548 #555 #557 #561 #563 #569 #570 #571 #606 #608 #610 #621 #631 #636, @skriss)
- Add prometheus metrics (#531 #551 #564, @ashish-amarnath @nrb)
- When backing up a service account, include cluster roles/cluster role bindings that reference it (#470, @skriss)
- When restoring service accounts, copy secrets/image pull secrets into the target cluster even if the service account already exists (#403, @nrb)
Bug Fixes / Other Changes:
- Upgrade to Kubernetes 1.10 dependencies (#417, @skriss)
- Upgrade to go 1.10 and alpine 3.7 (#456, @skriss)
- Display no excluded resources/namespaces as
<none>
rather than*
(#453, @nrb) - Skip completed jobs and pods when restoring (#463, @nrb)
- Set namespace correctly when syncing backups from object storage (#472, @skriss)
- When building on macOS, bind-mount volumes with delegated config (#478, @skriss)
- Add replica sets and daemonsets to cohabitating resources so they're not backed up twice (#482 #485, @skriss)
- Shut down the Ark server gracefully on SIGINT/SIGTERM (#483, @skriss)
- Only back up resources that support GET and DELETE in addition to LIST and CREATE (#486, @nrb)
- Show a better error message when trying to get an incomplete restore's logs (#496, @nrb)
- Stop processing when setting a backup deletion request's phase to
Deleting
fails (#500, @nrb) - Add library code to install Ark's server components (#437 #506, @marpaia)
- Properly handle errors when backing up additional items (#512, @carlpett)
- Run post hooks even if backup actions fail (#514, @carlpett)
- GCP: fail backup if upload to object storage fails (#510, @nrb)
- AWS: don't require
region
as part of backup storage provider config (#455, @skriss) - Ignore terminating resources while doing a backup (#526, @yastij)
- Log to stdout instead of stderr (#553, @ncdc)
- Move sample minio deployment's config to an emptyDir (#566, @runyontr)
- Add
omitempty
tag to optional API fields (@580, @nikhita) - Don't restore PVs with a reclaim policy of
Delete
and no snapshot (#613, @ncdc) - Don't restore mirror pods (#619, @ncdc)
Docs Contributors:
Binary Checksums:
17699820f425d836f315323656a78ac38afa8838c128b9225a117473822bd719 ark-v0.9.0-darwin-amd64.tar.gz
1a452cd2b6f2b165da274b7b293c6a1f96c9020cd82a07f911a123634b82308f ark-v0.9.0-linux-amd64.tar.gz
92d62649fe6b3ec1a3c7ecab347fd0941b858a2caee53d28137b088ff3e95b0d ark-v0.9.0-linux-arm.tar.gz
ea2668b68cc1c54fa186ad0fb3cb82b251a41ac987584346116b73487613a2a8 ark-v0.9.0-linux-arm64.tar.gz
efce4ee9d41811385bbfb7a7e435631ac68df3573386655a852fa1f844ae1dc0 ark-v0.9.0-windows-amd64.tar.gz
cc14fa331ff780be409696a0ee176489c79e252a1470215a0a070aea230b9b6a CHECKSUM
v0.9.0-alpha.3
Binary checksums:
5b94e1a3d8025fa86b4e1a7b619c437cddf4f13613ca5bc72d6f63635aa679c7 ark-v0.9.0-alpha.3-darwin-amd64.tar.gz
f08348511e8497260428769ad46a52c81d8e62a368de5d76d579e58b59f7a3f9 ark-v0.9.0-alpha.3-linux-amd64.tar.gz
3cdbc6d246f47e8231c1a6bea30b3b8deede11166ca9042ca897f6da4871b184 ark-v0.9.0-alpha.3-linux-arm.tar.gz
36296b5aea23f785d4ea12de35a7a0b0b415e57d9c740c2e1ead3b28397d9fbd ark-v0.9.0-alpha.3-linux-arm64.tar.gz
74c60de63c13ae5680e55a6ebcf1488f510dbc379e863f01ddcb7d79cbec80f4 ark-v0.9.0-alpha.3-windows-amd64.tar.gz
273792e6787c2bfb437ace5d51511f115b21a12019bb858520cdfb30c1446c94 CHECKSUM
v0.8.3
Bug Fixes:
Binary checksums:
0e00a5d41f1bd4a3e625b2e96844b44e213f6e701604820445f6900a1c12ca89 ark-v0.8.3-darwin-amd64.tar.gz
42d38700ad4c0a7bd9e25183d31707f49e1e5d4d27ad7aa6dd5f8c765138081b ark-v0.8.3-linux-amd64.tar.gz
dd12ff96784693c5c0f66c31b1838a4325970b246589dd61812a9b359dd96f13 ark-v0.8.3-linux-arm.tar.gz
b4707139f0acabfbbc52b61c05dd1eaaf3c659d3f64c0b871f2d4bd998bc16f4 ark-v0.8.3-linux-arm64.tar.gz
c5031f644411b5ba286540b9c742fe4569b0c629f44935e973e85e363b34e66a ark-v0.8.3-windows-amd64.tar.gz
7786e4efff3cf51569d1017068fb925d80bbae89fb418fce5c0db8d153d25a8e CHECKSUM
v0.9.0-alpha.2
Binary checksums:
90a8f76cee2c0e444e07c02d78e5c4135c2190ae74ed3b2ba44a32ecea7edd10 ark-v0.9.0-alpha.2-darwin-amd64.tar.gz
654f553f41d7eda60c7dee600f20654894cd38412e85be1cd0b5964447a4099b ark-v0.9.0-alpha.2-linux-amd64.tar.gz
aca7622ca4b998d3f1849a6dad43b775a9481b68ff37fadc2513bbde65185f24 ark-v0.9.0-alpha.2-linux-arm.tar.gz
18f2df29ed18a4324d7e3f37fbd124e56726f3bbb6a93cb6c6fdaaf922335a1e ark-v0.9.0-alpha.2-linux-arm64.tar.gz
bea73d249e8cb6c7fe69034b52caa9527c2e3835195ac9afdf6c9ab87b01128a ark-v0.9.0-alpha.2-windows-amd64.tar.gz
498e85137b926de481853064dc3118bbc0a496e9ef228c9c8f9c8e23a7b78d12 CHECKSUM
v0.9.0-alpha.1
Binary checksums:
31f6dbf8fa8b42108076aa85468de9ce808d1ba31199c9af0c297ac08662c0c9 ark-v0.9.0-alpha.1-darwin-amd64.tar.gz
0d92382e5ea45b32e09e5ad94523b4246da1dabc0e766a72bd97c43a87d05bfc ark-v0.9.0-alpha.1-linux-amd64.tar.gz
2ed1fbf57d510b627e8644f01408370a26f0c3198088a614d66c3241ce481a6f ark-v0.9.0-alpha.1-linux-arm.tar.gz
7c1dc94ca62964f29d3113df5fd517786bdfb13d50eeb536440221415ba48a89 ark-v0.9.0-alpha.1-linux-arm64.tar.gz
5b25f291fee428da1fae71822edcc4437b287fb57ddf2496841d87c90c36cd98 ark-v0.9.0-alpha.1-windows-amd64.tar.gz
b379664d3846e014740835b6ebaf1d975fe5deb45fd0ab1029cd4554b6956961 CHECKSUM
v0.8.2
Bug Fixed:
Binary checksums:
69eb688a868e0da120c55830972ed0552763cbdb4655f93cf3cbdc19cef450aa ark-v0.8.2-darwin-amd64.tar.gz
6ce965c1ae715e3153ae920af2fff4c4319fb8e137159a786d2993ecf63c660e ark-v0.8.2-linux-amd64.tar.gz
6e02530e29b852f4a3b69eb3fdd2cb22dc2206f10904da3b866ccc4fd87c1d02 ark-v0.8.2-linux-arm.tar.gz
9dbb1fd8e1c482cadfc7a38ed14ebe72882fa7557e8434bebb60c2fab0c5acea ark-v0.8.2-linux-arm64.tar.gz
7aecc1228fafb18b1293d839dea7c68571bcfc2fe9f46930ae042d139298dd90 ark-v0.8.2-windows-amd64.tar.gz
87c40e64738530f4490cc50e6357d9d50743f0a277dbf19ba190ae16ca106123 CHECKSUM
v0.8.1
Bug Fixed:
Binary checksums:
89ffa58534a0249b2f94071c5d1aed29c32fdba351d9be0639ac75e684ed7304 ark-v0.8.1-darwin-amd64.tar.gz
174650898e3c09b7055cf1696e7e3470e97df46651e4ac590c2bbd6e99bae4c1 ark-v0.8.1-linux-amd64.tar.gz
fcfb16b3e5e9965fb4d91037e38a79eb261c41ee20cb59ac19a15304efbfd768 ark-v0.8.1-linux-arm.tar.gz
e0ba9e0170ec3c59d7a1eb139aacbfacb7863af849d1120dd81ed081c7f934ed ark-v0.8.1-linux-arm64.tar.gz
2ee9393441512fd18b7d1a0f3b68732b42c878dd77d1676347a599d96bdc208a ark-v0.8.1-windows-amd64.tar.gz
16f5364714b2f69dc2af9af6021dba32b05384f4c991cf57c768e7204d20cdf8 CHECKSUM
v0.8.0
Highlights:
- Backup deletion has been completely revamped to make it simpler and less error-prone. As a user, you still use the
ark backup delete
command to request deletion of a backup and its associated cloud resources; behind the scenes, we've switched to using a newDeleteBackupRequest
Custom Resource and associated controller for processing deletion requests. - We've reduced the number of required fields in the Ark config. For Azure,
location
is no longer required, and for GCP,project
is not needed. - Ark now copies tags from volumes to snapshots during backup, and from snapshots to new volumes during restore.
Breaking Changes:
- Ark has moved back to a single namespace (
heptio-ark
by default) as part of #383.
All New Features:
- Add global
--kubecontext
flag to Ark CLI (#296, @blakebarnett) - Azure: support cross-resource group restores of volumes (#356 #378, @skriss)
- AWS/Azure/GCP: copy tags from volumes to snapshots, and from snapshots to volumes (#341, @skriss)
- Replace finalizer for backup deletion with
DeleteBackupRequest
custom resource & controller (#383 #431, @ncdc @nrb) - Don't log warnings during restore if an identical object already exists in the cluster (#405, @nrb)
- Add bash & zsh completion support (#384, @containscafeine)
Bug Fixes / Other Changes:
- Error from the Ark CLI if attempting to restore a non-existent backup (#302, @ncdc)
- Enable running the Ark server locally for development purposes (#334, @ncdc)
- Add examples to
ark schedule create
documentation (#331, @lypht) - GCP: Remove
project
requirement from Ark config (#345, @skriss) - Add
--from-backup
flag toark restore create
and allow custom restore names (#342 #409, @skriss) - Azure: remove
location
requirement from Ark config (#344, @skriss) - Add documentation/examples for storing backups in IBM Cloud Object Storage (#321, @roytman)
- Reduce verbosity of hooks logging (#362, @skriss)
- AWS: Add minimal IAM policy to documentation (#363 #419, @hopkinsth)
- Don't restore events (#374, @sanketjpatel)
- Azure: reduce API polling interval from 60s to 5s (#359, @skriss)
- Switch from hostPath to emptyDir volume type for minio example (#386, @containscafeine)
- Add limit ranges as a prioritized resource for restores (#392, @containscafeine)
- AWS: Add documentation on using Ark with kube2iam (#402, @domderen)
- Azure: add node selector so Ark pod is scheduled on a linux node (#415, @ffd2subroutine)
- Error from the Ark CLI if attempting to get logs for a non-existent restore (#391, @containscafeine)
- GCP: Add minimal IAM policy to documentation (#429, @skriss @jody-frankowski)
Upgrading from v0.7.1:
Ark v0.7.1 moved the Ark server deployment into a separate namespace, heptio-ark-server
. As of v0.8.0 we've returned to a single namespace, heptio-ark
, for all Ark-related resources. If you're currently running v0.7.1, here are the steps you can take to upgrade:
-
Execute the steps from the Credentials and configuration section for your cloud:
When you get to the secret creation step, if you don't have your
credentials-ark
file handy,
you can copy the existing secret from yourheptio-ark-server
namespace into theheptio-ark
namespace:kubectl get secret/cloud-credentials -n heptio-ark-server --export -o json | \ jq '.metadata.namespace="heptio-ark"' | \ kubectl apply -f -
-
You can now safely delete the
heptio-ark-server
namespace:kubectl delete namespace heptio-ark-server
-
Execute the commands from the Start the server section for your cloud:
Thanks as always to all our contributors!!
Binary checksums:
59e0481d059619c618376f9209d308fb2d23ce6cf3bfe9224c5b46de27ff8090 ark-v0.8.0-darwin-amd64.tar.gz
51a4d4792254d2f8962818f5ba03a49df04c1885ba59a21bbee5a50a3462fb08 ark-v0.8.0-linux-amd64.tar.gz
0977b58ab53634799abebd148311f04f166d270be7cef9dcf1000065d58c9606 ark-v0.8.0-linux-arm.tar.gz
b719452fb5abd1f793e2159c97678b16de149efcf744f022b07a705cc2930587 ark-v0.8.0-linux-arm64.tar.gz
5e157bc684d5fc70279cf29d5ff9ec7b745c377ed7df1199ef68b6e69d7c8080 ark-v0.8.0-windows-amd64.tar.gz
164a335f8e7798350d3b1a221573c65505d03029f58d0811fae6a2b007498c35 CHECKSUM
v0.8.0-rc.1
Highlights:
- Backup deletion has been completely revamped to make it simpler and less error-prone. As a user, you still use the
ark backup delete
command to request deletion of a backup and its associated cloud
resources; behind the scenes, we've switched to using a newDeleteBackupRequest
Custom Resource and associated controller for processing deletion requests. - We've reduced the number of required fields in the Ark config. For Azure,
location
is no longer required, and for GCP,project
is not needed. - Ark now copies tags from volumes to snapshots during backup, and from snapshots to new volumes during restore.
Breaking Changes:
- Ark has moved back to a single namespace (
heptio-ark
by default) as part of #383.
All New Features:
- Add global
--kubecontext
flag to Ark CLI (#296, @blakebarnett) - Azure: support cross-resource group restores of volumes (#356 #378, @skriss)
- AWS/Azure/GCP: copy tags from volumes to snapshots, and from snapshots to volumes (#341, @skriss)
- Replace finalizer for backup deletion with
DeleteBackupRequest
custom resource & controller (#383, @ncdc) - Don't log warnings during restore if an identical object already exists in the cluster (#405, @nrb)
Bug Fixes / Other Changes:
- Error from the Ark CLI if attempting to restore a non-existent backup (#302, @ncdc)
- Enable running the Ark server locally for development purposes (#334, @ncdc)
- Add examples to
ark schedule create
documentation (#331, @lypht) - GCP: Remove
project
requirement from Ark config (#345, @skriss) - Add
--from-backup
flag toark restore create
and allow custom restore names (#342 #409, @skriss) - Azure: remove
location
requirement from Ark config (#344, @skriss) - Add documentation/examples for storing backups in IBM Cloud Object Storage (#321, @roytman)
- Reduce verbosity of hooks logging (#362, @skriss)
- AWS: Add minimal IAM policy to documentation (#363, @hopkinsth)
- Don't restore events (#374, @sanketjpatel)
- Azure: reduce API polling interval from 60s to 5s (#359, @skriss)
- Switch from hostPath to emptyDir volume type for minio example (#386, @containscafeine)
- Add limit ranges as a prioritized resource for restores (#392, @containscafeine)
Thanks as always to all our contributors!
Binary checksums:
01a8ce1bb5030fb47efc772417eaa60f9ccd26c10649dbd406a9edd54304c4dc ark-v0.8.0-rc.1-darwin-amd64.tar.gz
10ffb3b2fbb2411b7301beff0a2d4c394ba4d9902bd5ad61066809b212bb77c4 ark-v0.8.0-rc.1-linux-amd64.tar.gz
19033aea696359f04396461ea8d63773ce860fe583278660cdbd304337b798b1 ark-v0.8.0-rc.1-linux-arm.tar.gz
b911b810f51dad4d1b9acd7aae8e37f805692fb2c60db33859d9dfac62ad4493 ark-v0.8.0-rc.1-linux-arm64.tar.gz
e468fcd44f698580b21e8a22897507da4df8a65d734c7b0b5178839658251f13 ark-v0.8.0-rc.1-windows-amd64.tar.gz
b8ab0464bfdc96dd38ce49a1ca84388899d2a20f39eb42678a4a54fc8610eb28 CHECKSUM
v0.7.1
Bug fixed:
- Install the Ark server in its own namespace, separate from backups/schedules/restores/config. This helps avoid the situation where it's impossible to delete the
heptio-ark
namespace and/or backups in that namespace. (#322 #323, @ncdc @Bradamant3)
Binary checksums:
09cdd26b71ddc3474992dd95f77df984d3de21415c4b9f313a32117c94e78aee ark-v0.7.1-darwin-amd64.tar.gz
0b13a7b50b4ec263f4dbce7d631192166f329730c6edfe4fba0ed6a53a0793ec ark-v0.7.1-linux-amd64.tar.gz
532ee9e6b94190e7248511997fcd89b459526cc7caa89ad32dc23bec574fca57 ark-v0.7.1-linux-arm64.tar.gz
18e262668093953249c7d492b254ef00afcbe9f0f1ac05ec5ca40ed137a02b79 ark-v0.7.1-linux-arm.tar.gz
f35d836da06d00cd3598dc07bf4388a05ff9bcf2561c1fcaf56aa024f4865429 ark-v0.7.1-windows-amd64.tar.gz
da423b746a1c45c461cf59d4da31a766ca8c6661dd032238707d5422113a6f9d CHECKSUM