You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// +kubebuilder:printcolumn:name="Generation",type="integer",JSONPath=".metadata.generation",description="Latest generation of the spec",priority=0
35
35
// +kubebuilder:printcolumn:name="Reconciled",type="integer",JSONPath=".status.generations.reconciled",description="Last reconciled generation of the spec",priority=0
36
+
// +kubebuilder:printcolumn:name="Restorable",type="boolean",JSONPath=".status.backupDetails.restorable",description="If the backup is restorable",priority=0
Copy file name to clipboardExpand all lines: docs/backup_spec.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,12 @@ BackupGenerationStatus stores information on which generations have reached diff
38
38
39
39
[Back to TOC](#table-of-contents)
40
40
41
+
## BackupMode
42
+
43
+
BackupMode defines the mode of backup operation.
44
+
45
+
[Back to TOC](#table-of-contents)
46
+
41
47
## BackupState
42
48
43
49
BackupState defines the desired state of a backup
@@ -108,6 +114,7 @@ FoundationDBBackupSpec describes the desired state of the backup for a cluster.
108
114
| imageType | ImageType defines the image type that should be used for the FoundationDBCluster deployment. When the type is set to \"unified\" the deployment will use the new fdb-kubernetes-monitor. Otherwise the main container and the sidecar container will use different images. Default: split |*ImageType | false |
109
115
| backupType | BackupType defines the backup type that should be used for the backup. When the BackupType is set to BackupTypePartitionedLog, it's expected that the FoundationDBCluster creates and manages the additional backup worker processes. A migration to a different backup type is not yet supported in the operator. Default: \"backup_agent\". |*[BackupType](#backuptype)| false |
110
116
| deletionPolicy | DeletionPolicy defines the deletion policy for this backup. The BackupDeletionPolicy defines the actions that should be taken when the FoundationDBBackup resource has a deletion timestamp. |*[BackupDeletionPolicy](#backupdeletionpolicy)| false |
117
+
| backupMode | BackupMode defines the backup mode that should be used for the backup. When the BackupMode is set to BackupModeOneTime, the backup will create a single snapshot and then stop. When set to BackupModeContinuous, the backup will run continuously, creating snapshots at regular intervals defined by SnapshotPeriodSeconds. Default: \"Continuous\". |*[BackupMode](#backupmode)| false |
111
118
112
119
[Back to TOC](#table-of-contents)
113
120
@@ -134,6 +141,7 @@ FoundationDBBackupStatusBackupDetails provides information about the state of th
134
141
| running || bool | false |
135
142
| paused || bool | false |
136
143
| snapshotTime || int | false |
144
+
| restorable || bool | false |
137
145
138
146
[Back to TOC](#table-of-contents)
139
147
@@ -147,6 +155,8 @@ FoundationDBLiveBackupStatus describes the live status of the backup for a clust
147
155
| SnapshotIntervalSeconds | SnapshotIntervalSeconds provides the interval of the snapshots. | int | false |
148
156
| Status | Status provides the current state of the backup. |[FoundationDBLiveBackupStatusState](#foundationdblivebackupstatusstate)| false |
149
157
| BackupAgentsPaused | BackupAgentsPaused describes whether the backup agents are paused. | bool | false |
158
+
| Restorable | Restorable if true, the backup can be restored |*bool | false |
159
+
| LatestRestorablePoint | LatestRestorablePoint contains information about the latest restorable point if any exists. |*[LatestRestorablePoint](#latestrestorablepoint)| false |
150
160
151
161
[Back to TOC](#table-of-contents)
152
162
@@ -157,8 +167,6 @@ FoundationDBLiveBackupStatusState provides the state of a backup in the backup s
157
167
| Field | Description | Scheme | Required |
158
168
| ----- | ----------- | ------ | -------- |
159
169
| Running | Running determines whether the backup is currently running. | bool | false |
160
-
| Restorable | Restorable if true, the backup can be restored |*bool | false |
161
-
| LatestRestorablePoint | LatestRestorablePoint contains information about the latest restorable point if any exists. |*[LatestRestorablePoint](#latestrestorablepoint)| false |
0 commit comments