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