Velero: Kubernetes Backup, Recovery, and Migration

Shriira Press

Preface

A practical guide to backing up, restoring, and migrating Kubernetes clusters with Velero.

Welcome to Velero: Kubernetes Backup, Recovery, and Migration.

Velero is an open-source tool that protects what lives inside a Kubernetes cluster: the API objects that describe your applications and the persistent volumes that hold their data. When a cluster is lost, a namespace is deleted by accident, or an upgrade goes wrong, Velero is what lets you recover. It also turns a backup into a portability tool, letting you lift workloads from one cluster and drop them into another. This book starts with the problem Velero exists to solve and the shape of its solution, then works through its architecture as a set of Kubernetes controllers and custom resources. From there it covers how cluster objects are captured and stored, how persistent volume data is protected through both cloud snapshots and file-system backup, and how the newer CSI snapshot data movement path works. Later chapters walk through restores, scheduled backups and retention, hooks and resource filtering, and finally how to run Velero well in production and where it fits in the cloud-native ecosystem.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — Why Kubernetes Needs Backup
  2. Chapter 2 — How Velero Works
  3. Chapter 3 — Architecture and Custom Resources
  4. Chapter 4 — Backing Up Cluster Resources
  5. Chapter 5 — Protecting Persistent Volumes
  6. Chapter 6 — File System Backup with the Node Agent
  7. Chapter 7 — CSI Snapshots and Data Movement
  8. Chapter 8 — Restoring and Migrating
  9. Chapter 9 — Schedules, Retention, Hooks, and Filtering
  10. Chapter 10 — Velero in Practice
0%
1/1