Posts

Configure Velero backup and restore with Min.io as the local object store

Image
[Note:  This is the second article in a series on setting up your Velero development environment.  In the first article , we setup your development environment and connected to AWS S3 as the object store] During development and testing of a plugin for Velero, I blew through my monthly AWS “allowance” in a little over two weeks. When I thought about it, I had a few options to pursue. I could wait until the end of the billing cycle to refresh my funds, get approval for a larger allowance (not happening!), or figure out another option for a cloud provider. I started thinking about object stores and persistent volumes and had a conversation with Rafael Brito ( http://www.rafaelbrito.com/ ). He pointed me to a blog he did back in 2019 using Minio + NFS ( http://www.rafaelbrito.com/2019/11/project-velero-12-on-openshift-311.html ). I did some research into Minio ( https://min.io/ ) and realized there was a simple way to use Minio + a local directory on the Mac to mimic using AWS as a cloud p

Developers Guide to Velero (Mac OSX version)

Image
velero.io One of the things I find frustrating when starting a new project is struggling to get the development environment setup correctly. For the past 4–5 months I’ve been working with the Office of the CTO at VMware on developing plugins in the Go programming language for project Velero. Velero (velero.io) is an open source project designed to backup and migrate Kubernetes resources and persistent volumes. With that in mind, here’s a handy guide to getting started developing with Velero. This guide walks you through required tools and configurations that are needed from a developers standpoint. This guide makes some assumptions on tools (Docker, Dockerhub, AWS, Mac OSX). You are free to swap in the tools of your choosing. Install Prerequisite tools and Configuration Tool versions used in creating this document Docker 19.03.12 KIND 0.8.1 Kubectl 1.18.2 Mac OSX 10.15.6 Velero 1.5 Install and/or make sure docker desktop is running on the Mac Install docker desktop if needed https://ww