Skip to content

Commit 614863e

Browse files
authored
Docusuarus upgrade ans doc updates (#1128)
Signed-off-by: Andy Tael <[email protected]>
1 parent 0b1ec1a commit 614863e

File tree

13 files changed

+2068
-838
lines changed

13 files changed

+2068
-838
lines changed

docs-source/site/docs/intro.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,39 @@
11
---
22
sidebar_position: 1
33
---
4-
54
# Oracle Backend for Microservices and AI
65

7-
Oracle Backend for Microservices and AI allows developers to build microservices in Helidon and/or Spring Boot and provisions a “backend as a service” with Oracle Database and other infrastructure components that operate on multiple clouds. Oracle Backend for Microservices and AI vastly simplifies the task of building, testing, and operating microservices platforms for reliable, secure, and scalable enterprise applications.
6+
## Accelerate Your Journey to Cloud-Native Applications
7+
8+
Oracle Backend for Microservices and AI (OBaaS) is a comprehensive platform that transforms how developers build, deploy, and scale modern applications. By combining the power of Oracle Database with a complete microservices infrastructure, OBaaS eliminates the complexity of cloud-native development and empowers teams to focus on innovation rather than infrastructure.
9+
10+
## Build Faster, Scale Smarter
11+
12+
Whether you're building with Helidon, Spring Boot, or integrating AI capabilities, OBaaS provides a production-ready "backend as a service" that handles the heavy lifting. Deploy across multiple clouds with confidence, knowing that your platform is built on proven Oracle technology designed for enterprise-grade reliability, security, and performance.
13+
14+
## Why Choose Oracle Backend for Microservices and AI?
15+
16+
### Developer Experience First
17+
18+
Write code in your preferred framework—Helidon or Spring Boot—while OBaaS handles service discovery, configuration management, API gateways, and data persistence. Spend less time configuring infrastructure and more time building features that matter to your business.
19+
20+
### Enterprise-Grade Infrastructure
21+
22+
Built on Oracle Database and designed for mission-critical workloads, OBaaS provides:
23+
24+
- **Reliability**: High availability and disaster recovery built in
25+
- **Security**: Enterprise-grade security controls and compliance
26+
- **Scalability**: Elastic scaling to meet demand automatically
27+
- **Performance**: Optimized for low latency and high throughput
28+
29+
### AI-Ready Platform
30+
31+
Leverage the power of Oracle Database 23ai to integrate artificial intelligence and machine learning directly into your applications. Build intelligent services that learn and adapt without the complexity of managing separate AI infrastructure.
32+
33+
### Multi-Cloud Flexibility
34+
35+
Deploy on Oracle Cloud Infrastructure, other cloud providers, or hybrid environments. OBaaS provides consistent operations and portability across clouds, giving you freedom from vendor lock-in.
36+
37+
### Simplified Operations
38+
39+
OBaaS vastly simplifies the task of building, testing, and operating microservices platforms. From development through production, automated workflows and integrated tooling streamline every phase of the application lifecycle.
Lines changed: 85 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,67 @@
11
---
2-
title: Prepare and Install the OBaaS Database Helm chart
2+
title: Prepare and Install the OBaaS Database Helm Chart
33
sidebar_position: 9
44
---
5-
## Prepare and Install the OBaaS Database Helm chart
5+
## Prepare and Install the OBaaS Database Helm Chart
66

7-
For this step, you will need the **obaas-db** directory in which you will see the following files:
7+
## Overview
8+
9+
This guide provides instructions for preparing and installing the OBaaS Database Helm chart in your Kubernetes cluster.
10+
11+
## Prerequisites
12+
13+
Navigate to the `obaas-db` directory containing the Helm chart files:
814

915
```bash
1016
cd obaas-db/
1117
ls
12-
Chart.yaml scripts templates values.yaml
1318
```
1419

15-
You must edit the **values.yaml** file as follows:
20+
Expected output:
21+
22+
```text
23+
Chart.yaml scripts templates values.yaml
24+
```
25+
26+
## Configuration
27+
28+
### Editing values.yaml
29+
30+
Before installation, edit the `values.yaml` file according to your environment requirements.
31+
32+
#### Private Repository Configuration
1633

17-
- If you are using a private repository, you must update each **image** entry to point to your private repository instead of the public repositories.
34+
If you are using a private repository, update each `image` entry to point to your private repository instead of the public repositories.
1835

19-
- (Optional) If you want to install any components in this chart into their own separate namespace, you can override the global namespace by setting a value in the **namespace** property inside the section for that component.
36+
#### Namespace Configuration (Optional)
2037

21-
**Important note**: Please pause to double check all of the values are correct. If there are any errors here, the database provisioning will fail.
38+
To install components into separate namespaces, override the global namespace by setting a value in the `namespace` property inside the component's section.
2239

23-
Install the Helm chart using the following command (The `--debug` flag is optional and enables verbose output from Helm).
40+
:::warning Important
41+
Double-check all values before proceeding. Incorrect values will cause the database provisioning to fail.
42+
:::
2443

25-
- global.obaasName="obaas-dev" - Sets the OBaaS instance name.
26-
- global.targetNamespace="obaas-dev" - Specifies the target namespace (*OPTIONAL*, only needed if you want to override the default namespace).
44+
## Installation
2745

28-
**Note**: If you are installing multiple OBaaS instances in your cluster, each one MUST have a different release name, `obaasName` and `targetNamespace`.
46+
### Single Instance Installation
47+
48+
Install the Helm chart using the following command:
2949

3050
```bash
31-
helm --debug install obaas-db --set global.obaasName="obaas-dev" --set global.targetNamespace="obaas-dev" ./
51+
helm --debug install obaas-db \
52+
--set global.obaasName="obaas-dev" \
53+
--set global.targetNamespace="obaas-dev" \
54+
./
3255
```
3356

57+
**Parameters:**
58+
59+
- `global.obaasName`: Sets the OBaaS instance name
60+
- `global.targetNamespace`: Specifies the target namespace (optional, only needed to override the default namespace)
61+
- `--debug`: Optional flag that enables verbose output from Helm
62+
63+
**Expected output:**
64+
3465
```text
3566
NAME: obaas-db
3667
LAST DEPLOYED: Sun Aug 17 13:09:20 2025
@@ -40,29 +71,57 @@ REVISION: 1
4071
TEST SUITE: None
4172
```
4273

43-
When the installation has completed, you can use `helm ls` command to view the installed charts:
74+
### Multiple Instance Installation
4475

45-
```text
46-
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
47-
obaas-db default 1 2025-09-12 13:51:23.751199 -0500 CDT deployed OBaaS-db-0.1.0 2.0.0-M4
48-
obaas-observability default 1 2025-09-12 13:45:43.113298 -0500 CDT deployed OBaaS-observability-0.1.0 2.0.0-M4
49-
obaas-prereqs default 1 2025-09-12 13:37:16.026781 -0500 CDT deployed OBaaS-Prerequisites-0.0.1 2.0.0-M4
76+
When installing multiple OBaaS instances in your cluster, each instance must have unique values for:
77+
78+
- Release name
79+
- `obaasName`
80+
- `targetNamespace`
81+
82+
**Example for development instance:**
83+
84+
```bash
85+
helm --debug install obaas-db \
86+
--set global.obaasName="obaas-dev" \
87+
--set global.targetNamespace="obaas-dev" \
88+
./
5089
```
5190

52-
If you overrode the namespace for this component, you will see a new namespace called **oracle-database-operator-system** (for example) and the following pods. Otherwise the pods will be in the **obaas-dev** namespace (or whatever name you chose).
91+
**Example for production instance:**
5392

54-
![DB Operator pods](media/image6.png)
93+
```bash
94+
helm --debug install obaas-prod-db \
95+
--set global.obaasName="obaas-prod" \
96+
--set global.targetNamespace="obaas-prod" \
97+
./
98+
```
99+
100+
## Verification
55101

56-
**Note**: If you are installing multiple OBaaS instances in your cluster, each one MUST have a different release name, `obaasName` and `targetNamespace`. For example (The `--debug` flag is optional and enables verbose output from Helm):
102+
### View Installed Charts
57103

58-
For obaas-dev:
104+
After installation completes, view the installed Helm charts:
59105

60106
```bash
61-
helm --debug install obaas-db --set global.obaasName="obaas-dev" --set global.targetNamespace="obaas-dev" ./
107+
helm ls
62108
```
63109

64-
For obaas-prod:
110+
**Expected output:**
111+
112+
```text
113+
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
114+
obaas-db default 1 2025-09-12 13:51:23.751199 -0500 CDT deployed OBaaS-db-0.1.0 2.0.0-M4
115+
obaas-observability default 1 2025-09-12 13:45:43.113298 -0500 CDT deployed OBaaS-observability-0.1.0 2.0.0-M4
116+
obaas-prereqs default 1 2025-09-12 13:37:16.026781 -0500 CDT deployed OBaaS-Prerequisites-0.0.1 2.0.0-M4
117+
```
118+
119+
### Verify Pods and Namespaces
120+
121+
If you overrode the namespace for this component, you will see a new namespace (e.g., `oracle-database-operator-system`) with the following pods. Otherwise, the pods will be in your target namespace (e.g., `obaas-dev`).
65122

66123
```bash
67-
helm --debug install obaas-prod-db --set global.obaasName="obaas-prod" --set global.targetNamespace="obaas-prod" ./
124+
kubectl get pods -n oracle-database-operator-system
68125
```
126+
127+
![DB Operator pods](media/image6.png)

docs-source/site/docs/setup/namespace.md

Lines changed: 133 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,148 @@
22
title: Create Namespace(s) for OBaaS
33
sidebar_position: 6
44
---
5-
## Create the namespace(s) for the OBaaS installation(s)
5+
## Create Namespace(s) for OBaaS
66

7-
EACH instance of OBaaS must be installed in its own dedicated/unique namespace.
7+
## Overview
88

9-
**Note**: You will only install the **obaas-prereqs** chart once per cluster, all other charts are installed once per OBaaS instance. The **obaas-prereqs** chart contains items that are cluster-wide and shared by all OBaaS instances in a cluster. If you are going to install multiple OBaaS instances (which is not supported in 2.0.0-M4) we recommend that you put the **obaas-prereqs** chart in its own namespace, separate from all OBaaS instances.
9+
Each OBaaS instance requires its own dedicated namespace for isolation and organization within your Kubernetes cluster.
1010

11-
To create the namespace(s), use the following command(s). For example, to create two installations called `obaas-dev` and `obaas-prod`:
11+
## Namespace Requirements
12+
13+
### Instance Isolation
14+
15+
Each OBaaS instance must be installed in its own unique namespace. This ensures:
16+
17+
- Resource isolation between instances
18+
- Independent lifecycle management
19+
- Clear separation of concerns
20+
- Simplified troubleshooting and maintenance
21+
22+
### Prerequisites Chart Namespace
23+
24+
The `obaas-prereqs` chart has special considerations:
25+
26+
- Installed **once per cluster** (not per instance)
27+
- Contains cluster-wide components shared by all OBaaS instances
28+
- Should be installed in its own dedicated namespace, separate from OBaaS instances
29+
30+
:::info Multiple Instance Support
31+
Multiple OBaaS instances are not supported in version 2.0.0-M4. This capability is planned for future releases.
32+
:::
33+
34+
## Creating Namespaces
35+
36+
### Single Instance
37+
38+
For a single OBaaS installation, create one namespace:
39+
40+
```bash
41+
kubectl create ns obaas-dev
42+
```
43+
44+
Verify the namespace was created:
45+
46+
```bash
47+
kubectl get ns obaas-dev
48+
```
49+
50+
Expected output:
51+
52+
```text
53+
NAME STATUS AGE
54+
obaas-dev Active 5s
55+
```
56+
57+
### Multiple Instances (Future Support)
58+
59+
When multiple instances are supported, create a namespace for each instance. For example, to create development and production installations:
60+
61+
**Development namespace:**
1262

1363
```bash
1464
kubectl create ns obaas-dev
1565
```
1666

67+
**Production namespace:**
68+
1769
```bash
1870
kubectl create ns obaas-prod
1971
```
2072

21-
Change the value to the desired name(s).
73+
**Verify all namespaces:**
74+
75+
```bash
76+
kubectl get ns | grep obaas
77+
```
78+
79+
Expected output:
80+
81+
```text
82+
obaas-dev Active 10s
83+
obaas-prod Active 5s
84+
```
85+
86+
## Namespace Naming Conventions
87+
88+
When naming your namespaces, consider the following best practices:
89+
90+
- Use lowercase letters, numbers, and hyphens only
91+
- Keep names descriptive and meaningful (e.g., `obaas-dev`, `obaas-prod`, `obaas-staging`)
92+
- Include environment indicators for clarity
93+
- Avoid special characters or spaces
94+
- Keep names concise but descriptive
95+
96+
**Examples of good namespace names:**
97+
98+
```bash
99+
obaas-dev
100+
obaas-production
101+
obaas-test
102+
obaas-staging
103+
obaas-demo
104+
```
105+
106+
## Verification
107+
108+
After creating namespaces, verify they exist and are active:
109+
110+
```bash
111+
kubectl get namespaces
112+
```
113+
114+
You should see your newly created OBaaS namespaces in the output with `Active` status.
115+
116+
## Troubleshooting
117+
118+
### Namespace Already Exists
119+
120+
If you receive an error that the namespace already exists:
121+
122+
```bash
123+
kubectl get ns obaas-dev
124+
```
125+
126+
If the namespace exists but you want to start fresh, delete it first:
127+
128+
```bash
129+
kubectl delete ns obaas-dev
130+
```
131+
132+
:::warning Data Loss
133+
Deleting a namespace will remove all resources within it. Ensure you have backups if needed before deleting a namespace.
134+
:::
135+
136+
### Namespace Stuck in Terminating State
137+
138+
If a namespace is stuck in "Terminating" state:
139+
140+
```bash
141+
kubectl get ns obaas-dev
142+
```
143+
144+
Check for resources preventing deletion:
145+
146+
```bash
147+
kubectl api-resources --verbs=list --namespaced -o name | \
148+
xargs -n 1 kubectl get --show-kind --ignore-not-found -n obaas-dev
149+
```

0 commit comments

Comments
 (0)