velero
by HelmForge
Velero Helm Chart for Kubernetes backup, restore, and migration with S3-compatible object storage
About this chart
Velero Helm Chart
Deploy Velero on Kubernetes for cluster backup, restore, migration, and filesystem backup workflows.
This chart uses the official velero/velero image and is intentionally centered on a clear v1 scope:
- explicit plugin init containers
- S3-compatible object storage as the main path
- optional
BackupStorageLocation,VolumeSnapshotLocation, andScheduleresources - optional node-agent DaemonSet for filesystem backup
Features
- Official
velero/veleroimage pinned to the latest stable Velero release - Official CRDs included through the chart
crds/directory - AWS plugin by default for AWS S3 and S3-compatible providers such as MinIO
- BackupStorageLocation resources rendered directly from chart values
- VolumeSnapshotLocation resources rendered when snapshot providers are configured
- Schedule resources for recurring backups
- Optional node-agent for filesystem backup workflows
- Optional ServiceMonitor for Prometheus Operator
- Restricted server and plugin containers with non-root identities, read-only root filesystems, dropped capabilities, and RuntimeDefault seccomp
- NetworkPolicy enabled by default for the server metrics endpoint
- Configurable metrics listener and Service ports connected by a named target port
- Startup, readiness, and liveness probes against the metrics listener
- Extra objects support for carefully reviewed provider-specific resources
Installation
HTTPS repository
helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install velero helmforge/velero -n velero --create-namespace -f values.yaml
OCI registry
helm install velero oci://ghcr.io/helmforgedev/helm/velero -n velero --create-namespace -f values.yaml
S3-Compatible Example
credentials:
secretContents: |
[default]
aws_access_key_id=minioadmin
aws_secret_access_key=minioadmin123
configuration:
backupStorageLocations:
- name: default
provider: aws
bucket: velero
default: true
config:
region: minio
s3Url: http://minio.minio.svc.cluster.local:9000
s3ForcePathStyle: true
checksumAlgorithm: ""
insecureSkipTLSVerify: true
nodeAgent:
enabled: true
Scheduled Backup Example
schedules:
- name: daily
schedule: "0 3 * * *"
template:
ttl: 168h
includedNamespaces:
- apps
snapshotVolumes: false
defaultVolumesToFsBackup: true
For a complete hardened configuration, see
examples/production.yaml.
Metrics Port Example
The process listener is independent from the Service port. The Service uses a named target so both values can change safely:
metrics:
containerPort: 9085
service:
port: 9090
Key Values
| Key | Default | Description |
|---|---|---|
commonAnnotations | {} | Annotations added to chart-owned resource metadata, excluding pod templates |
image.repository | docker.io/velero/velero | Velero server image |
image.tag | v1.19.0 | Velero server image tag |
plugins.aws.tag | v1.14.0 | Default AWS/S3 plugin image tag |
credentials.useSecret | true | Mount credentials when existingSecret, name, or secretContents is set |
credentials.existingSecret | "" | Existing credentials secret |
configuration.backupStorageLocations | one empty default entry | Backup storage definitions |
configuration.backupStorageLocations[].config.checksumAlgorithm | unset (CRC32 upstream) | S3 checksum algorithm; set "" to disable checksum headers |
configuration.volumeSnapshotLocations | [] | Snapshot storage definitions |
configuration.defaultVolumesToFsBackup | false | Default filesystem backup mode |
nodeAgent.enabled | false | Deploy filesystem backup DaemonSet |
schedules | [] | Schedule resources created by the chart |
metrics.containerPort | 8085 | Port listened on by the Velero process |
metrics.service.port | 8085 | Metrics Service port |
service.ipFamilyPolicy | "" | Optional metrics Service IP family policy |
metrics.serviceMonitor.enabled | false | Create a ServiceMonitor |
networkPolicy.enabled | true | Isolate the Velero server pod |
networkPolicy.allowExternalEgress | true | Allow Kubernetes API and object-storage egress |
extraManifests | [] | Additional manifests rendered with tpl |
Architecture Guides
- Design
- Operations
- Security
- S3-compatible storage
- Filesystem backup
Resources Generated
| Resource | Condition |
|---|---|
| ServiceAccount | serviceAccount.server.create |
| ClusterRoleBinding | rbac.create and rbac.clusterAdministrator |
| Secret | credentials.useSecret and no credentials.existingSecret |
| Deployment | Always |
DaemonSet node-agent | nodeAgent.enabled |
| Service | metrics.enabled |
| ServiceMonitor | metrics.serviceMonitor.enabled |
| NetworkPolicy | networkPolicy.enabled |
| BackupStorageLocation | one per configuration.backupStorageLocations entry |
| VolumeSnapshotLocation | one per configuration.volumeSnapshotLocations entry |
| Schedule | one per schedules entry |
| Extra manifests | one per extraManifests entry |
Notes
- this v1 chart is intentionally focused on clear install and configuration flows, not on abstracting every Velero provider combination
- for S3-compatible storage, use the AWS plugin with explicit
s3Urlands3ForcePathStylesettings when required by the provider - if you enable
nodeAgent, validate hostPath and Pod Security expectations in your cluster before relying on filesystem backups - the server and default AWS plugin run as non-root with restricted security contexts; the optional node-agent runs as UID 0 because filesystem backup requires kubelet host-path access
- NetworkPolicy egress is open by default because the Kubernetes API and
object-storage endpoints are installation-specific; set
networkPolicy.allowExternalEgress=falsebefore adding a restrictive environment-specific policy, because NetworkPolicy rules are additive - when the node-agent uses Kopia, the chart mounts ephemeral writable
/home/cnb/udmrepoand/home/cnb/.cachepaths in the server and node-agent while keeping their root filesystems read-only
Velero v1.19.0 introduces block data mover support, volume in-place restore, and fine-grained backup filters. Review the upstream release before upgrading production recovery infrastructure.
Troubleshooting
If the Deployment is not ready, inspect the server logs and the status of the configured backup storage locations:
kubectl logs deployment/velero -n velero --all-containers
kubectl get backupstoragelocations.velero.io -n velero -o yaml
An unavailable backup storage location normally indicates invalid provider
credentials, an unreachable endpoint, a missing bucket, or an incompatible
plugin. If probes fail after changing ports, confirm
metrics.containerPort matches the --metrics-address argument in the pod;
metrics.service.port affects only the Service-facing port. See the
operations guide for recovery checks and upgrade notes.
Security Scan
Security Scan: velero
| Framework | Score |
|---|---|
| MITRE + NSA + SOC2 | 77.27273% |
Security posture acceptable.
More Information
- S3-compatible setup
- Filesystem backup
- Operations guide
- Security guide
- Source code
Deploy velero with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has velero 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartvelero is pinned at v1.7.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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