kubernetes-etcd-backup

by Adfinis

Helm chartv1.6.2App v1.4.6Verified publisher

Chart for kubernetes-etcd-backup solution

About this chart

kubernetes-etcd-backup

Chart for kubernetes-etcd-backup solution

Homepage: https://github.com/adfinis/kubernetes-etcd-backup

Maintainers

This chart is maintained by Adfinis.

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
backup.dirnamestring"+etcd-backup-%FT%T%:z"Directory name of single backup
backup.expiretypestring"days"expiretype could be days (keep backups newer than backup.keepdays, count (keep a number of backups with backup.keepcount), never (do not expire backups, keep all of them)
backup.keepcountstring"10"Count retention if expiretype set to count
backup.keepdaysstring"30"Retention period
backup.schedulestring"0 0 * * *"Backup schedule
backup.subdirstring"/"Sub directory path
backup.umaskstring"0027"Set umask during the backup
etcdCertification.etcdPeerTlsNamestring"changeme"etcd-peer-tls secret name
etcdCertification.etcdServerCaNamestring"changeme"etcd-server-ca secret name
etcdConfiguration.endpointstring"changeme"Etcd endpoint ip or hostname without protocol or port Example: etcd.kube-system.svc.cluster.local
etcdConfiguration.insecureSkipTlsVerifyboolfalseSkip server certificate verification Useful for scenarios where etcd nodes are external endpoints (access through etcd service in kube-system namespace) and have a different CN/SAN in the certificate . Otherwise, "failed to verify certificate: x509: certificate is valid for etcd-2, etc., not etcd.kube-system.svc.cluster.local"
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
image.pullPolicystring"Always"Image pull policy configuration
image.repositorystring"ghcr.io/adfinis/kubernetes-etcd-backup"Repository image to use
image.tagstring""Overrides the image tag whose default is the chart appVersion.
monitoring.additionalRulesstringnilProvide custom recording or alerting rules to be deployed into the cluster.
monitoring.enabledboolfalseDeploy PrometheusRule to be alerted in case of backup fails as decribed here.
monitoring.rules.cronjobMonitorbooltrueDeploy PrometheusRule to check for cronjob fails.
nameOverridestring""
persistence.capacitystring"10Gi"Define the storage size
persistence.existingClaimstring""Use an exising PVC
persistence.nfs.enabledboolfalseEnable nfs backend storage
persistence.nfs.pathstring"nfs/example/path"NFS server path
persistence.nfs.serverstring"example.com"NFS server name or IP
persistence.provisioning.enabledboolfalseEnable provisioned backend storage with default or configured storageClass
persistence.provisioning.storageClassstring""
persistence.reclaimPolicystring"Retain"Set reclaim policy (Retain or Delete)
persistence.s3.accessKeystring"mysuperaccesskey"S3 access key
persistence.s3.bucketstring"etcd-backup"S3 bucket name
persistence.s3.ca.enabledboolfalse
persistence.s3.ca.secretNamestring"changeme"
persistence.s3.enabledboolfalseEnable S3 backend storage
persistence.s3.existingSecretstring""S3 use an existing Secret instead of creating one
persistence.s3.hoststring"https://minio.local:9000"S3 endpoint host
persistence.s3.namestring"etcd-backup"S3 endpoint name
persistence.s3.secretKeystring"mysupersecretkey"S3 secret key
podAnnotationsobject{}Custom pod annotations for the running pod
podSecurityContext.fsGroupint1000
podSecurityContext.runAsUserint1000
resourcesstringnil
securityContextobject{}

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 kubernetes-etcd-backup with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubernetes-etcd-backup 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 chartkubernetes-etcd-backup is pinned at v1.6.2 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