-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add logical backup restore complete doc
Signed-off-by: Neaj Morshad <[email protected]>
- Loading branch information
1 parent
4fe12d3
commit 4f0fc71
Showing
6 changed files
with
239 additions
and
297 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
docs/guides/redis/backup/kubestash/logical/examples/backupconfiguration.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
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
18 changes: 10 additions & 8 deletions
18
...ash/logical/examples/sample-postgres.yaml → ...stash/logical/examples/redis-cluster.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,18 +1,20 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Redis | ||
metadata: | ||
name: sample-redis | ||
name: redis-cluster | ||
namespace: demo | ||
spec: | ||
version: "16.1" | ||
replicas: 3 | ||
standbyMode: Hot | ||
streamingMode: Synchronous | ||
version: 7.4.0 | ||
mode: Cluster | ||
cluster: | ||
shards: 3 | ||
replicas: 2 | ||
storageType: Durable | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
storageClassName: "standard" | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
deletionPolicy: WipeOut | ||
accessModes: | ||
- ReadWriteOnce | ||
deletionPolicy: Delete |
18 changes: 10 additions & 8 deletions
18
...h/logical/examples/restored-postgres.yaml → ...ical/examples/restored-redis-cluster.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,20 +1,22 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Redis | ||
metadata: | ||
name: restored-redis | ||
name: restored-redis-cluster | ||
namespace: demo | ||
spec: | ||
init: | ||
waitForInitialRestore: true | ||
version: "16.1" | ||
replicas: 3 | ||
standbyMode: Hot | ||
streamingMode: Synchronous | ||
version: 7.4.0 | ||
mode: Cluster | ||
cluster: | ||
shards: 3 | ||
replicas: 2 | ||
storageType: Durable | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
storageClassName: "standard" | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
deletionPolicy: WipeOut | ||
accessModes: | ||
- ReadWriteOnce | ||
deletionPolicy: Delete |
4 changes: 2 additions & 2 deletions
4
docs/guides/redis/backup/kubestash/logical/examples/restoresession.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
Oops, something went wrong.