Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions docs/examples/oracle/dataguard/dataguard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
apiVersion: kubedb.com/v1alpha2
kind: Oracle
metadata:
name: oracle-sample
namespace: demo
spec:
dataGuard:
applyLagThreshold: 0
fastStartFailover:
fastStartFailoverThreshold: 15
observer:
podTemplate:
spec:
containers:
- name: observer
resources:
limits:
cpu: "1"
memory: 2Gi
requests:
cpu: 500m
memory: 2Gi
initContainers:
- name: observer-init
resources:
limits:
memory: 512Mi
requests:
cpu: 200m
memory: 256Mi
podPlacementPolicy:
name: default
storage:
resources:
requests:
storage: 1Gi
protectionMode: MaximumProtection
standbyType: PHYSICAL
syncMode: SYNC
transportLagThreshold: 0
deletionPolicy: Delete
edition: enterprise
mode: DataGuard
podTemplate:
spec:
containers:
- name: oracle
resources:
limits:
cpu: "4"
memory: 10Gi
requests:
cpu: "1500m"
memory: 4Gi
- name: oracle-coordinator
resources:
limits:
memory: 256Mi
requests:
cpu: 200m
memory: 256Mi
initContainers:
- name: oracle-init
resources:
limits:
memory: 512Mi
requests:
cpu: 200m
memory: 256Mi
podPlacementPolicy:
name: default
securityContext:
fsGroup: 54321
runAsGroup: 54321
runAsUser: 54321
serviceAccountName: oracle-sample
replicas: 3
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 30Gi
storageType: Durable
version: 21.3.0
41 changes: 41 additions & 0 deletions docs/examples/oracle/quickstart/standalone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: kubedb.com/v1alpha2
kind: Oracle
metadata:
name: oracle
namespace: demo
spec:
deletionPolicy: Delete
edition: enterprise
mode: Standalone
podTemplate:
spec:
containers:
- name: oracle
resources:
limits:
cpu: "4"
memory: 10Gi
requests:
cpu: "2"
memory: 3Gi
initContainers:
- name: oracle-init
resources:
limits:
memory: 512Mi
requests:
cpu: 200m
memory: 256Mi
securityContext:
fsGroup: 54321
runAsGroup: 54321
runAsUser: 54321
replicas: 1
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 30Gi
storageType: Durable
version: 21.3.0
4 changes: 2 additions & 2 deletions docs/guides/mysql/failure-and-disaster-recovery/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ha-mysql-2 2/2 Running 0 34m app.kubernetes.io/component=data
The pod having `kubedb.com/role=primary` is the primary and `kubedb.com/role=standby` are the standby's.


Lets create a table in the primary.
Let's create a table in the primary.

```shell
# find the primary pod
Expand Down Expand Up @@ -239,7 +239,7 @@ ha-mysql-2 standby

#### Case 1: Delete the current primary

Lets delete the current primary and see how the role change happens almost immediately.
Let's delete the current primary and see how the role change happens almost immediately.

```shell
$ kubectl delete pods -n demo ha-mysql-0
Expand Down
41 changes: 41 additions & 0 deletions docs/guides/oracle/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: Oracle
menu:
docs_{{ .version }}:
identifier: oracle-readme
name: Oracle
parent: guides-oracle
weight: 10
menu_name: docs_{{ .version }}
section_menu_id: guides
url: /docs/{{ .version }}/guides/oracle/
aliases:
- /docs/{{ .version }}/guides/oracle/README/
---

> New to KubeDB? Please start [here](/docs/README.md).

## Supported PostgreSQL Features

| Features | Availability |
|------------------------------------|:------------:|
| Clustering | ✓ |
| Data Guard | ✓ |
| Synchronous Replication | ✓ |
| Streaming Replication | ✓ |
| Automatic Failover | ✓ |
| Persistent Volume | ✓ |
| Initialization using Script | ✓ |
| Using Custom docker image | ✓ |

## Life Cycle of a PostgreSQL Object

<p align="center">
<img alt="lifecycle" src="/docs/images/postgres/lifecycle.png">
</p>

## User Guide

- [Quickstart PostgreSQL](/docs/guides/postgres/quickstart/quickstart.md) with KubeDB Operator.


10 changes: 10 additions & 0 deletions docs/guides/oracle/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Oracle
menu:
docs_{{ .version }}:
identifier: guides-oracle
name: Oracle
parent: guides
weight: 1
menu_name: docs_{{ .version }}
---
Loading
Loading