Velero is a backup, recovery, and migration tool for Kubernetes cluster objects, including persistent volumes. With Velero, you can:
- Protect your data from loss using a flexible backup system.
- Recover a cluster faster if it goes down.
- Move your data from one cluster to another.
Velero uses the Container Storage Interface driver to create backups and restore persistent volumes from Yandex Cloud disk snapshots.
-
Create a service account required to access Yandex Object Storage:
yc iam service-account create --name <service account name>
-
Assign the
storage.editor
role to the service account:yc resource-manager folder add-access-binding <folder ID> \ --role storage.editor \ --subject serviceAccount:<service account ID>
-
Create a static access key for the service account in JSON format and save it to the
sa-key.json
file:yc iam access-key create \ --service-account-name=<service account name> \ --format=json > sa-key.json
-
Create an Object Storage bucket for storing backups.
-
Configure the application:
- Namespace: Create a namespace called
velero
. The application uses it by default. If you select a different namespace, you will have to specify it in each command. - Application name: Enter a name for the application.
- Object Storage static access key: Paste the contents of the
sa-key.json
file. - Object Storage bucket name: Specify the name of the bucket in Object Storage.
- Namespace: Create a namespace called
-
Click Install.
-
Wait for the application to change its status to
Deployed
.
- Creating backups for Kubernetes cluster resources and persistent volumes.
- Restoring cluster data from backups.
- Migrating data from one Kubernetes cluster to another.
Yandex Cloud technical support is available 24/7. The types of requests you can submit and the appropriate response time depend on your pricing plan. You can switch to the paid support plan in the management console. You can learn more about the technical support terms here.
Helm chart | Version | Pull-command | Documentation |
---|---|---|---|
yandex-cloud/velero/velero | 2.30.4-1 | Open |
Docker image | Version | Pull-command |
---|---|---|
yandex-cloud/velero/velero1711960953731940668097919485602552329853188167653 | v1.10.0 |