-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Doc for volumesnapshot deployment & statefulset
Signed-off-by: Anisur Rahman <[email protected]>
- Loading branch information
1 parent
7d2295d
commit fcffb6b
Showing
25 changed files
with
857 additions
and
784 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
docs/guides/volumesnapshot/pvc/examples/backupstorage.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: storage.kubestash.com/v1alpha1 | ||
kind: BackupStorage | ||
metadata: | ||
name: gcs-storage | ||
namespace: demo | ||
spec: | ||
storage: | ||
provider: gcs | ||
gcs: | ||
bucket: kubestash-qa | ||
prefix: demo | ||
secretName: gcs-secret | ||
usagePolicy: | ||
allowedNamespaces: | ||
from: All | ||
default: true | ||
deletionPolicy: WipeOut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
docs/guides/volumesnapshot/pvc/examples/retentionpolicy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: storage.kubestash.com/v1alpha1 | ||
kind: RetentionPolicy | ||
metadata: | ||
name: demo-retention | ||
namespace: demo | ||
spec: | ||
default: true | ||
failedSnapshots: | ||
last: 2 | ||
maxRetentionPeriod: 2mo | ||
successfulSnapshots: | ||
last: 5 | ||
usagePolicy: | ||
allowedNamespaces: | ||
from: Same |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
docs/guides/volumesnapshot/pvc/examples/volumesnapshot.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
apiVersion: snapshot.storage.k8s.io/v1 | ||
kind: VolumeSnapshot | ||
metadata: | ||
creationTimestamp: "2024-01-12T10:48:31Z" | ||
creationTimestamp: "2024-01-16T11:00:08Z" | ||
finalizers: | ||
- snapshot.storage.kubernetes.io/volumesnapshot-as-source-protection | ||
- snapshot.storage.kubernetes.io/volumesnapshot-bound-protection | ||
generation: 1 | ||
name: source-pvc-1705056499 | ||
name: source-pvc-1705402801 | ||
namespace: demo | ||
resourceVersion: "57330" | ||
uid: 1fa0a06c-80bb-4e7c-b584-579ddceb649d | ||
resourceVersion: "11593" | ||
uid: b5692a5b-8834-48dc-9185-56ed9a2fa124 | ||
spec: | ||
source: | ||
persistentVolumeClaimName: source-pvc | ||
volumeSnapshotClassName: csi-snapshot-class | ||
status: | ||
boundVolumeSnapshotContentName: snapcontent-1fa0a06c-80bb-4e7c-b584-579ddceb649d | ||
creationTime: "2024-01-12T10:48:32Z" | ||
boundVolumeSnapshotContentName: snapcontent-b5692a5b-8834-48dc-9185-56ed9a2fa124 | ||
creationTime: "2024-01-16T11:00:10Z" | ||
readyToUse: true | ||
restoreSize: 1Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.