Kubernetes / SUSE Virtualziation (Harvester)
Overview
Storware Backup & Recovery supports Kubernetes backups using Velero and a sidecar pod in the backup process.
Backup of the following objects is supported:
Deployment
Stateful set
Daemon set
Virtual machine
Supported features
Supported versions of Kubernetes
1.35, 1.36, 1.37
Supported versions of SUSE Virtualization
1.8.2
The last snapshot is kept on the system for incremental backups
Yes
Access to OS required
No
Proxy VM required
No
Full backup
Supported
Incremental backup
Supported (When using Ceph RBD as Persistent Volume)
Synthetic backups
Supported (When using Ceph RBD as Persistent Volume)
Secondary backup destination
Supported *
File-level restore
Supported (When using Ceph RBD as Persistent Volume)
Volume exclusion
Supported
Quiesced snapshots
Supported (Deployment pause)
Snapshots management
Not supported
Pre/post command execution
Supported (Only a 'post' command)
Access to VM disk backup over iSCSI
Supported (When using Ceph RBD as Persistent Volume)
Name-based policy assignment
Supported
Tag-based policy assignment
Supported
Power-on after restore
Supported
StatefulSet
Supported
Network requirements
Connection URL: https://API_HOST:6443
Node
Kubernetes API host
6443/tcp
API access
Kubernetes Worker
Node
9000/tcp
S3 connection for metadata transfer
Node
Plugin helper pod (via route)
30000-32767/tcp
Ddata transfer
Backup Process
The backup process consists of three main stages:
1. Creating Data Snapshots
Before the backup starts, Storware Backup & Recovery checks whether the underlying storage supports snapshots.
If snapshots are available:
A snapshot of the application data is created.
The backup is performed from the snapshot to ensure data consistency.
If snapshots are not available:
File-based volumes can still be backed up directly.
Some volume types, such as block volumes, require snapshots to perform a backup.
2. Backing Up Application Configuration
In addition to application data, Storware Backup & Recovery also backs up configuration and metadata, including data volumes, persistent volume claims, config maps, secrets, and services.
3. Backing Up Volume Data
Storware Backup & Recovery then exports the data stored on application volumes.
Depending on the storage technology in use, the most appropriate backup method is selected automatically.
Ceph Volume Backup
When an application uses Ceph-based storage, Storware Backup & Recovery utilizes native Ceph capabilities for data export.
Supported backup types:
Full Backup – contains the complete volume content.
Incremental Backup – contains only the data changed since the last backup.
To use this backup method:
Follow the Ceph RBD setup
Make sure to have this setup done for all nodes that will need access to the Ceph monitors.
Make sure that volumes have appeared in the Storage -> Instances tab to confirm connectivity between the node and Ceph monitors
For each Ceph RBD storage, assign your Ceph storage provider and the appropriate Ceph storage pool in Virtual Environments -> Virtualization Providers -> your Kubernetes manager details -> Storage -> Storage Class -> Ceph settings
Block Volume Backup
For other block-based storage volumes, Storware Backup & Recovery:
Creates temporary copies from snapshots.
Reads the volume data.
Exports the data into backup files.
Removes temporary resources after completion.
Supported backup types:
Full Backup – contains the complete volume content.
Incremental Backup – contains only the data changed since the last backup.
Filesystem Volume Backup
For filesystem-based volumes, the Storware Backup & Recovery:
Uses snapshots when available.
Reads the volume contents.
Creates an archive containing all files.
Stores the archive as part of the backup.
Filesystem volumes support full backups only.
Protecting Kubernetes
Requirements
Installed Velero
Service Account with Cluster Admin role
Adding Kubernetes
Log in to the Storware Backup & Recovery WebUI.
Navigate to: Virtual Environments → Virtualization Providers.
Click the Create button to open the Add new Virtualization Provider.
Select Kubernetes from the drop-down menu.
In the General tab:
Specify Node configuration for the nodes communicating with the Kubernetes API
URL - Kubernetes API URL, e.g.
https://10.201.32.40:6443Povide a token for the service account.
Save and run the first inventory synchronization.
Last updated