barman

by Adfinis

Helm chartv0.10.0App v2.19Verified publisher

Chart for Barman PostgreSQL Backup and Recovery Manager

About this chart

barman

Chart for Barman PostgreSQL Backup and Recovery Manager

Homepage: http://www.pgbarman.org/

Maintainers

This chart is maintained by Adfinis.

Source Code

Values

KeyTypeDefaultDescription
barman.backupDirstring"/var/lib/barman"Barman home directory
barman.backupMethodstring"postgres"Barman backup method
barman.backupOptionsstring"concurrent_backup"Barman backup options
barman.backupSchedulestring"0 4 * * *"Barman backup schedule
barman.backups[0]object{"additionalConfiguration":"","backupMethod":"postgres","createDatabaseSlot":true,"databaseSlotName":"barman","lastBackupMaximumAge":"1 day","namespace":"postgresql","postgresql":{"host":"postgresql","port":5432,"replicationPassword":"barman","replicationUser":"barman","superUser":"postgres","superUserDatabase":"postgres","superUserPassword":"postgres"},"retentionPolicy":"RECOVERY WINDOW of 1 MONTH","scopeName":"pg","serviceaccount":"postgresql"}Barman retention policy
barman.backups[0].additionalConfigurationstring""Barman additional Parameters for configuration File
barman.backups[0].backupMethodstring"postgres"Barman backup method
barman.backups[0].createDatabaseSlotbooltrueCreate Database slot
barman.backups[0].databaseSlotNamestring"barman"Database slot name to be created/used
barman.backups[0].lastBackupMaximumAgestring"1 day"Barman last backup maximum age
barman.backups[0].namespacestring"postgresql"namespace where postgresql is deployed, not active when barman.createRbac is false
barman.backups[0].postgresql.hoststring"postgresql"Postgresql host
barman.backups[0].postgresql.portint5432Postgresql port
barman.backups[0].postgresql.replicationPasswordstring"barman"Postgresql replication password
barman.backups[0].postgresql.replicationUserstring"barman"Postgresql replication user
barman.backups[0].postgresql.superUserstring"postgres"Postgresql super user
barman.backups[0].postgresql.superUserDatabasestring"postgres"Postgresql super user database
barman.backups[0].postgresql.superUserPasswordstring"postgres"Postgresql super user password
barman.backups[0].scopeNamestring"pg"Postgresql server scope-name
barman.backups[0].serviceaccountstring"postgresql"service account of the postgresql deployment, not active when barman.createRbac is false
barman.barmanUserstring"barman"Barman user
barman.compressionstring"gzip"Barman backup compression
barman.createDatabaseSlotbooltrueCreate Database slot
barman.databaseSlotNamestring"barman"Database slot name to be created/used
barman.lastBackupMaximumAgestring"1 day"Barman last backup maximum age
barman.postBackupRetryScriptstring""Barman post_backup_retry_script
barman.preRecoveryRetryScriptstring""Barman pre_recovery_retry_script
barman.retentionPolicystring"RECOVERY WINDOW of 1 MONTH"Barman retention policy
deployment.additionalENVsobject{}Specify additional ENVs for the Deployment
deployment.additionalVolumeMountslist[]Specify additional VolumeMounts for the barman container
deployment.additionalVolumeslist[]Specify additional Volumes for the deployment
deployment.annotationsobject{}Specify deployment annotations
deployment.extraContainersobject{}Specify sidecars for the deployment
deployment.imagePullSecretslist[]Specify imagePullSecrets for the deployment
deployment.initContainerslist[]Init containers for the deployment. If the value is a string then it is evaluated as a template.
deployment.podAnnotationsobject{}Specify pod annotations
deployment.strategy.typestring"RollingUpdate"Specify the strategy used to replace old Pods by new ones
image.pullPolicystring"Always"When to pull the container image
image.repositorystring"ubcctlt/barman"Container image to deploy
image.tagstring""Overrides the image tag whose default is the chart version.
persistence.data.accessModestring"ReadWriteOnce"Access mode for persistent storage
persistence.data.annotationsobject{}Add annotations to backup data PVC
persistence.data.enabledbooltrueEnable persistent storage for backup data
persistence.data.sizestring"20Gi"Size of storage volume
persistence.data.storageClassstring""Storage class
persistence.recover.accessModestring"ReadWriteOnce"Access mode for persistent storage
persistence.recover.annotationsobject{}Add annotations to recovery PVC
persistence.recover.enabledboolfalseEnable persistent storage for recovery
persistence.recover.sizestring"4Gi"Size of storage volume
persistence.recover.storageClassstring""Storage class
prometheus.enabledbooltrueEnable Prometheus integration
prometheus.rules.additionalLabelslist[]Additional labels for Alertmanager rules
prometheus.rules.enabledboolfalseEnable Alertmanager rules
prometheus.rules.selectorlist[]Selector labels for Alertmanager rules
prometheus.rules.speclist[]Array of Alertmanager rules
prometheus.service.externalPortint9780Prometheus exporter service external port
prometheus.service.internalPortint9780Prometheus exporter service internal port
prometheus.service.namestring"barman-exporter"Prometheus exporter service name
prometheus.service.typestring"ClusterIP"Prometheus exporter service type
prometheus.serviceMonitor.extraLabelsobject{}Labels to add to service monitor
prometheus.serviceMonitor.intervalstring"30s"Interval at which metrics should be scraped
prometheus.serviceMonitor.metricRelabelingslist[]MetricRelabelConfigs to apply to samples before ingestion
prometheus.serviceMonitor.relabelingslist[]RelabelConfigs to apply to samples before scraping
rbac.createboolfalseWhether to create RBAC or not
resourcesobject{"limits":{"memory":"256Mi"},"requests":{"cpu":"100m","memory":"128Mi"}}Resource limits and requests
secret.createbooltrueWhether to create and manage the barman-pgpass-secret
service.annotationsobject{}Service annotations
service.clusterIPstringnilOnly for type ClusterIP
service.createboolfalseSpecify if a Service should be created
service.loadBalancerIPstringnilOnly for type LoadBalancer
service.ports[0]object{"name":"http","port":80,"protocol":"TCP","targetPort":"http"}specify targetPort
service.ports[0].namestring"http"specify port Name
service.ports[0].portint80specify port
service.ports[0].protocolstring"TCP"specify port protocol
service.typestring"ClusterIP"Type of service

About this chart

Adfinis fights for a software world that is more open, where the quality is better and where software must be accessible to everyone. This chart is part of the action behind this commitment. Feel free to contact us if you have any questions.

License

This Helm chart is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.


Autogenerated from chart metadata using helm-docs

Deploy barman with OpenTenant

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