gobackup / gobackup-operator

A k8s backup operator to backup databases and push them to cloud storages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gobackup-operator

Please note: This project is currently under active development.

Handling backup from various storages.

Description

A Kubernetes operator for backing up various storages, including Etcd, based on gobackup.

Getting Started

Prerequisites

  • go version v1.20.0+
  • docker version 17.03+.
  • kubectl version v1.11.3+.
  • Access to a Kubernetes v1.11.3+ cluster.

To Deploy on the cluster

Install the CRDs into the cluster:

make install

Run the operator:

make run

Create instances of your solution You can apply the samples (examples) from the config/sample:

kubectl apply -k config/samples/

To Uninstall

Delete the instances (CRs) from the cluster:

kubectl delete -k config/samples/

Delete the APIs(CRDs) from the cluster:

make uninstall

ToDo

  • Add Github Actions
  • Create a kubernetes secret from goabckup config file
  • Config validations
  • Add backup cronjob

Releases

gobackup-operator 0.1.0-alpha:

This release enables users to backup from PostgreSQL database and push it to S3 storage

Contributing

Just create a new branch (feature-{branch-name}) and push.

When you finish your work, please send a PR.

License

MIT

About

A k8s backup operator to backup databases and push them to cloud storages.


Languages

Language:Go 79.8%Language:Makefile 17.5%Language:Dockerfile 2.7%