Difficulty: beginner
Estimated Time: 10-15 minutes

Digital Academy Logo

Welcome to the Digital Academy "Kubernetes CNCF" series. This is Module 2 - Heptio Velero.

Velero gives you tools to back up and restore your Kubernetes cluster resources and persistent volumes. Velero lets you:

  • Take backups of your cluster and restore in case of loss.
  • Copy cluster resources across cloud providers.
  • Replicate your production environment for development and testing environments.

Velero consists of:

  • A server that runs on your cluster
  • A command-line client that runs locally

For more information, the documentation provides a getting started guide, plus information about building from source, architecture, extending Velero, and more.

For more information, see the Velero documentation.

Developer(s): William Hearn and Zachary Seguin

Module 2 - Heptio Velero

Step 1 of 3

Set Up our Environment

Let's pull down the Heptio Velero GitHub repo to help us get started: git clone https://github.com/heptio/velero

Apply some basic prerequisites (e.g. CustomResourceDefinitions, namespaces, and RBAC): kubectl apply -f velero/examples/common/00-prereqs.yaml

Apply a local storage service (e.g. Minio): kubectl apply -f velero/examples/minio/

Deploy an example nginx application: kubectl apply -f velero/examples/nginx-app/base.yaml

Check to see that both Velero and nginx deployments have been successfully created:

kubectl get deployments -l component=velero --namespace=velero

kubectl get deployments --namespace=nginx-example

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]