backrest

by RobertoBochet

Helm chartv0.7.0App 1.14.1GPL-3.0-or-laterVerified publisher

Backrest (unofficial) helm chart

About this chart

Backrest (unofficial) Helm Chart

Backrest is a web UI and orchestrator for restic backup.

Deploy

  1. Add the repository to helm
    helm repo add robertobochet https://robertobochet.github.io/charts
    helm repo update
    
  2. Retrieve the default values file
    helm show values robertobochet/backrest > values.yaml
    
  3. Customize the values.yaml
  4. Install backrest
    helm install scraper-bot robertobochet/backrest -f values.yaml
    

Parameters

Common parameters

NameDescriptionValue
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
imagePullSecretsSecret to use for pulling the image[]
replicaCountnumber of replicas for the deployment1

strategy

NameDescriptionValue
strategy.typestrategy typeRecreate
strategy.rollingUpdate.maxSurgemaxSurge100%
strategy.rollingUpdate.maxUnavailablemaxUnavailable0

Image

NameDescriptionValue
image.registryimage registry, e.g. gcr.io,docker.iodocker.io
image.repositoryImage to start for this podgarethgeorge/backrest
image.tagVisit: Image tag. Defaults to appVersion within Chart.yaml.""
image.pullPolicyImage pull policyIfNotPresent

Security

NameDescriptionValue
podSecurityContextPod security context{}
containerSecurityContextSecurity context{}

Service

NameDescriptionValue
service.typeKubernetes service type for http trafficClusterIP
service.portPort number for web traffic9898
service.clusterIPClusterIP setting for http autosetup for deployment is NoneNone
service.loadBalancerIPLoadBalancer IP setting""
service.nodePortNodePort for http service""
service.externalTrafficPolicyIf service.type is NodePort or LoadBalancer, set this to Local to enable source IP preservation""
service.externalIPsExternal IPs for service[]
service.ipFamilyPolicyHTTP service dual-stack policy""
service.ipFamiliesHTTP service dual-stack familiy selection,for dual-stack parameters see official kubernetes dual-stack concept documentation.[]
service.loadBalancerSourceRangesSource range filter for http loadbalancer[]
service.annotationsHTTP service annotations{}
service.labelsHTTP service additional labels{}
service.loadBalancerClassLoadbalancer class""

Ingress

NameDescriptionValue
ingress.enabledEnable ingressfalse
ingress.classNameIngress class name""
ingress.annotationsIngress annotations{}
ingress.hosts[0].hostDefault Ingress hostbackrest.example.local
ingress.hosts[0].paths[0].pathDefault Ingress path/
ingress.hosts[0].paths[0].pathTypeIngress path typePrefix
ingress.tlsIngress tls settings[]
ingress.apiVersionSpecify APIVersion of ingress object. Mostly would only be used for argocd.

Gateway-API HTTPRoute

NameDescriptionValue
httpRoute.enabledEnables Gateway API HTTPRoutefalse
httpRoute.annotationsAnnotations to add to the HTTPRoute resource{}
httpRoute.parentRefsList of parentRefs for the HTTPRoute, typically referencing the Gateway(name, namespace)[]
httpRoute.hostnamesHostnames this HTTPRoute applies to[]
httpRoute.matches.path.typeType of path match (e.g., PathPrefix or Exact or RegularExpression)PathPrefix
httpRoute.matches.path.valuePath value for matching incoming requests/
httpRoute.matches.timeouts.requestMaximum time the Gateway waits to complete the full client request and response cycle.
httpRoute.matches.timeouts.backendRequestMaximum time the Gateway waits for a response from the backend service.
httpRoute.filtersFilters to apply on HTTP requests, such as header rewrites or request redirects[]

deployment

NameDescriptionValue
resourcesKubernetes resources{}
podAnnotationsAnnotations{}
startupProbe.enabledEnable startupProbetrue
startupProbe.initialDelaySecondsInitial delay seconds for startupProbe10
startupProbe.periodSecondsPeriod seconds for startupProbe10
startupProbe.timeoutSecondsTimeout seconds for startupProbe1
startupProbe.failureThresholdFailure threshold for startupProbe3
startupProbe.successThresholdSuccess threshold for startupProbe1
livenessProbe.enabledEnable livenessProbetrue
livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe10
livenessProbe.periodSecondsPeriod seconds for livenessProbe10
livenessProbe.timeoutSecondsTimeout seconds for livenessProbe1
livenessProbe.failureThresholdFailure threshold for livenessProbe3
livenessProbe.successThresholdSuccess threshold for livenessProbe1
readinessProbe.enabledEnable readinessProbetrue
readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe10
readinessProbe.periodSecondsPeriod seconds for readinessProbe10
readinessProbe.timeoutSecondsTimeout seconds for readinessProbe1
readinessProbe.failureThresholdFailure threshold for readinessProbe3
readinessProbe.successThresholdSuccess threshold for readinessProbe1
nodeSelectorNodeSelector for the d

Deploy backrest with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has backrest 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 chartbackrest is pinned at v0.7.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