0% found this document useful (0 votes)
171 views8 pages

Velero

Velero is a tool that allows you to backup and restore Kubernetes cluster resources and persistent volumes. It consists of a server that runs on the cluster and a command line client that runs locally. Velero allows you to take on-demand or scheduled backups of your Kubernetes objects and persistent volumes to cloud object storage. It also allows restoring from backups, including restoring to different namespaces or clusters for disaster recovery, data migration, or ephemeral clusters.

Uploaded by

Minh Son Bui
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
171 views8 pages

Velero

Velero is a tool that allows you to backup and restore Kubernetes cluster resources and persistent volumes. It consists of a server that runs on the cluster and a command line client that runs locally. Velero allows you to take on-demand or scheduled backups of your Kubernetes objects and persistent volumes to cloud object storage. It also allows restoring from backups, including restoring to different namespaces or clusters for disaster recovery, data migration, or ephemeral clusters.

Uploaded by

Minh Son Bui
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Backup-Restore

Kubernetes Cluster
V1.
0
Velero (formerly Heptio Ark) gives you tools to back up and
Formerly Heptio
restore your Kubernetes cluster resources and persistent
Ark
volumes. You can run Velero with a cloud provider or
on-premises.

Velero consists of: github.com/heptio/veler


• Server that runs on your cluster o
2
• Command-line client that runs locally
Velero Use Case Benefits

Disaster Recovery Data Migration Ephemeral Clusters

Reduces time to recovery Enables cluster portability Provides a reliable tool to


in case of infrastructure by easily migrating unlock new approaches to
loss, data corruption, Kubernetes resources from cluster lifecycle management
and/or service outages one cluster to another treating clusters as “cattle”

3
Velero operation

On-demand backups
● Uploads a tarball of copied Kubernetes objects into cloud object
storage
● Calls the cloud provider API to make disk snapshots of persistent
volumes, if specified
Schedule backups
● Allows you to back up your data at recurring intervals
● These intervals are specified by a Cron expression.
4

Restore
● Allows you to restore all of the objects and persistent volumes from
a previously created backup
Velero Features

Backup and restore of Kubernetes objects Flexibility


• Uses Kubernetes Discovery API - Scheduled backups
• Does not need to talk directly to etcd - Filtering
• Backups stored in Cloud Object Storage
• Namespaces
• Resources
• Label Selectors
Backup and restore persistent volumes
- Restore to different
• Uses cloud provider snapshot APIs
namespaces
• Restic support for file system backups
Simple Velero Workflow
Laboratory

● Backup namespace
● Schedule backup
● Restore namespace
● Restoring Into a Different Namespace

7
Workflow for backup VKE

You might also like