Infrastructure
LatticeRestore
Triggers a restore from a Velero backup. Creates a Velero Restore resource and tracks its progress. References backups created by LatticeClusterBackup.
group: lattice.dev version: v1alpha1 scope: namespaced
Example
restore.yaml
apiVersion: lattice.dev/v1alpha1
kind: LatticeRestore
metadata:
name: restore-from-daily
namespace: lattice-system
spec:
backupName: daily-backup-20260205020012
clusterBackupRef: daily-backup
restoreVolumes: true Spec
| Field | Type | Description |
|---|---|---|
backupName | string | Name of the Velero backup to restore from. |
clusterBackupRef | string? | Reference to the LatticeClusterBackup that created the backup. |
restoreVolumes | bool | Restore persistent volumes from the backup. Default: true. |
Status
| Field | Type | Description |
|---|---|---|
phase | RestorePhase | Current lifecycle phase of the restore. |
veleroRestoreName | string? | Name of the underlying Velero Restore resource. |
conditions | []Condition | Standard Kubernetes conditions. |
message | string? | Human-readable status message. |
observedGeneration | i64? | Last spec generation processed by the controller. |
RestorePhase
Pending Waiting for the restore to begin.
InProgress Velero restore is actively running.
Completed All resources have been successfully restored.
Failed Has encountered an error during the restore process.