githubEdit

Velero

Backup and migrate Kubernetes applications and their persistent volumes

Install

Prerequisites

  • Access to a Kubernetes cluster, v1.16 or later, with DNS and container networking enabled. For more information on supported Kubernetes versions, see the Velero compatibility matrix.

  • kubectl installed locally

Basic install

  1. install minio / s3

# start minio server
docker run --rm --name minio-server \
  -p 9000-9001:9000-9001 \
  -v $(pwd)/data/minio/:/data \
  quay.io/minio/minio server /data --console-address ":9001"

# create credentials file
cat > ~/.credentials-velero << "EOF"
[default]
aws_access_key_id = your-access-key-id
aws_secret_access_key = your-secret-access-key
EOF
  1. install cli

  1. install and configure the server components

Use

Backup && Restore

Cluster migration

Reference:

Last updated