Skip to content

Commit

Permalink
Added PITR doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hossainemruz committed Jan 7, 2019
1 parent e98d128 commit f0c0139
Show file tree
Hide file tree
Showing 4 changed files with 402 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/examples/postgres/initialization/pitr/pg-original.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: pg-original
namespace: demo
spec:
version: "10.2-v1"
replicas: 1
terminationPolicy: Delete
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
archiver:
storage:
storageSecretName: s3-secret
s3:
bucket: kubedb
24 changes: 24 additions & 0 deletions docs/examples/postgres/initialization/pitr/pitr-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: pitr-1
namespace: demo
spec:
version: "10.2-v1"
replicas: 1
terminationPolicy: Delete
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
init:
postgresWAL:
storageSecretName: s3-secret
s3:
bucket: kubedb
prefix: 'kubedb/demo/pg-original/archive'
pitr:
targetTime: "2019-01-07 08:30:00+00"
24 changes: 24 additions & 0 deletions docs/examples/postgres/initialization/pitr/pitr-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: kubedb.com/v1alpha1
kind: Postgres
metadata:
name: pitr-2
namespace: demo
spec:
version: "10.2-v1"
replicas: 1
terminationPolicy: Delete
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
init:
postgresWAL:
storageSecretName: s3-secret
s3:
bucket: kubedb
prefix: 'kubedb/demo/pg-original/archive'
pitr:
targetTime: "2019-01-07 08:40:00+00"
Loading

0 comments on commit f0c0139

Please sign in to comment.