中文版： 使用Velero Restic集成备份及恢复Kubernetes数据卷 – Frank’s Weblog
I built a Kubernetes cluster using OpenEBS as the storage backend. I selected Jiva as the storage engine, Jiva is a high-available storage controller, data is replicated to all nodes. To ensure the safety of the data, I used Velero and its Restic integration to backup the volumes to AWS S3.
To install Velero CLI on your computer, see Velero Docs – Basic Install for install instructions.
Prepare the kubeconfig. The kubeconfig should be placed in
.kube/config and make sure
kubectl get pod returns the correct result.
Create an AWS credentials file with the following format, this credential should have access to the s3 bucket you provide below, note down the path to the file.(more…)