BackupRepo
| API version | kobblestone.io/v1alpha1 |
|---|---|
| Kind | BackupRepo |
| Scope | Namespaced |
| kubectl | kubectl get backuprepos |
A BackupRepo defines where Backups store their snapshots.
Types:
PersistentVolumeClaim: Snapshots are stored in a volume in the same namespace.S3: Snapshots are uploaded to an S3-compatible bucket.
Note: A volume that does not support ReadWriteMany can only be used by one backup, restore or snapshot cleanup at a time. Others wait until it is free.
spec
persistentVolumeClaimobjectConfigures the volume. Required for type PersistentVolumeClaim.
4 fields
Name of the PersistentVolumeClaim. It is created if it does not exist.
sizestringSize of the PersistentVolumeClaim, e.g. 50Gi.
Required if the claim does not exist yet. Only applied to claims created by the operator.
storageClassNamestringStorage class used if the operator creates the claim.
Default is the default storage class of the cluster.
subPathstringPath inside the volume under which snapshots are stored.
Default is the root of the volume.
s3objectConfigures the bucket. Required for type S3.
3 fields
Name of the bucket.
Reference to a Secret containing the credentials in the keys access-key and secret-key.
1 field
namestringURL of the S3 endpoint.
Type of the repository.
Values:
PersistentVolumeClaim: Configured viapersistentVolumeClaim.S3: Configured vias3.
- One of:
PersistentVolumeClaim,S3
status
conditions[]objectConditions of the BackupRepo.
6 fields
lastTransitionTimestring- Format:
date-time
messagestringobservedGenerationint64reasonstringstatusstringtypestring