gemini

by Fairwinds

Helm chartv2.2.0App v2.1.0Verified publisher

Automated backup and restore of PersistentVolumes using the VolumeSnapshot API

About this chart

Intro

This is a Helm chart for the Fairwinds Gemini project. It provides a Kubernetes CRD and operator for managing VolumeSnapshots, allowing you to back up your PersistentVolumes on a regular schedule, retire old backups, and restore backups with minimal downtime.

See the Gemini README for more information.

Installation

helm repo add fairwinds-stable https://charts.fairwinds.com/stable
helm install gemini fairwinds-stable/gemini --namespace gemini --create-namespace

Requirements

Your cluster must support the VolumeSnapshot API

Upgrading to V2

Version 2.0 of Gemini updates the CRD from v1beta1 to v1. There are no substantial changes, but v1 adds better support for PersistentVolumeClaims on Kubernetes 1.25.

If you want to keep the v1beta1 CRD available, you can run:

kubectl apply -f https://raw.githubusercontent.com/FairwindsOps/gemini/main/pkg/types/snapshotgroup/v1beta1/crd-with-beta1.yaml

before upgrading, and add --skip-crds when running helm install.

Values

KeyTypeDefaultDescription
image.pullPolicystring"Always"imagePullPolicy - Highly recommended to leave this as Always
image.repositorystring"us-docker.pkg.dev/fairwinds-ops/oss/gemini"Repository for the gemini image
image.tagstringnilThe gemini image tag to use. Defaults to .Chart.appVersion
rbac.createbooltrueIf true, create a new ServiceAccount and attach permissions
rbac.serviceAccountNamestringnil
verbosityint5How verbose the controller logs should be
resourcesobject{"limits":{"cpu":"200m","memory":"512Mi"},"requests":{"cpu":"25m","memory":"64Mi"}}The resources block for the controller pods
tolerationslist[]Taint tolerations for nodes
nodeSelectorobject{}Select nodes to deploy which matches the following labels
affinityobject{}Pod affinity and pod anti-affinity allow you to specify rules about how pods should be placed relative to other pods.
additionalPodLabelsobject{}Additional labels added on pod
additionalPodAnnotationsobject{}Additional annotations added on pod

Deploy gemini with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gemini on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgemini is pinned at v2.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply