You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Make Oracle Database Kubernetes Native - Take 2
4
4
5
-
As part of Oracle's resolution to make Oracle Database Kubernetes-native (that is, observable and operable by Kubernetes), Oracle released _Oracle Database Operator for Kubernetes_ (`OraOperator`). OraOperator extends the Kubernetes API with custom resources and controllers for automating Oracle Database lifecycle management.
5
+
As part of Oracle's resolution to make Oracle Database Kubernetes-native (that is, observable and operable by Kubernetes), Oracle released _Oracle Database Operator for Kubernetes_ (`OraOperator` or the operator). OraOperator extends the Kubernetes API with custom resources and controllers for automating Oracle Database lifecycle management.
6
6
7
7
In this v0.2.0 release, `OraOperator` supports the following database configurations and infrastructure:
8
8
@@ -32,7 +32,7 @@ The upcoming releases will support new configurations, operations and capabiliti
32
32
33
33
## Release Status
34
34
35
-
**CAUTION:** The current release of `OraOperator` (v0.2.0) is for development and test only. DO NOT USE IN PRODUCTION.
35
+
**CAUTION:** The current release of `OraOperator` (v0.2.0) is for development and testing only. DO NOT USE IN PRODUCTION.
36
36
37
37
This release has been installed and tested on the following Kubernetes platforms:
38
38
@@ -67,8 +67,13 @@ Oracle strongly recommends that you ensure your system meets the following [Prer
The above command will also upgrade the existing v0.1.0 `OraOperator` installation to the latest version i.e. v0.2.0.
70
73
71
-
Ensure that operator pods are up and running. Operator pod replicas are set to a default of 3 for High Availability, which can be scaled up and down.
74
+
---
75
+
76
+
Ensure that the operator pods are up and running. For high availability, Operator pod replicas are set to a default of 3. You can scale this setting up or down.
72
77
73
78
```sh
74
79
$ kubectl get pods -n oracle-database-operator-system
@@ -101,7 +106,7 @@ YAML file templates are available under [`/config/samples`](./config/samples/).
101
106
102
107
## Uninstall the Operator
103
108
104
-
To uninstall the operator, the final step consists of deciding whether or not you want to delete the CRDs and APIServices that were introduced to the cluster by the operator. Choose one of the following options:
109
+
To uninstall the operator, the final step consists of deciding whether you want to delete the custom resource definitions (CRDs) and Kubernetes APIServices introduced into the cluster by the operator. Choose one of the following options:
105
110
106
111
*### Deleting the CRDs and APIServices
107
112
@@ -120,13 +125,13 @@ YAML file templates are available under [`/config/samples`](./config/samples/).
Note: If the CRD instances are not deleted, and the operator is deleted by using the preceding command, then operator deployment and instance objects (pods,services, PVCs, and so on) are deleted. However, the CRD deletion stops responding, because the CRD instances have properties that prevent its deletion and that can only be removed by the operator pod, which is deleted when the APIServices are deleted.
134
+
Note: If the CRD instances are not deleted, and the operator is deleted by using the preceding command, then operator deployment and instance objects (pods,services, PVCs, and so on) are deleted. However, if that happens, then the CRD deletion stops responding. This is because the CRD instances have properties that prevent their deletion, and that can only be removed by the operator pod, which is deleted when the APIServices are deleted.
130
135
131
136
132
137
## Docs of the supported Oracle Database configurations
Similar to the block volume static provisioning, you have to manually create a file system resource from the OCI console, and fetch its `OCID, Mount Target and Export Path`. Mention these values in the following YAML file to create the persistent volume:
311
+
Similar to the block volume static provisioning, you have to manually create a file system resource from the OCI console, and fetch its `OCID, Mount Target IP Address and Export Path`. Mention these values in the following YAML file to create the persistent volume:
311
312
312
313
```yaml
313
314
apiVersion: v1
@@ -323,10 +324,17 @@ spec:
323
324
persistentVolumeReclaimPolicy: Retain
324
325
csi:
325
326
driver: fss.csi.oraclecloud.com
326
-
volumeHandle: "<OCID of the file system>:<Mount Target>/<Export Path>"
327
+
volumeHandle: "<OCID of the file system>:<Mount Target IP Address>:/<Export Path>"
327
328
```
328
329
329
-
**Note:** Whenever a mount target is provisioned in OCI, its `Reported Size (GiB)` values are very large. This is visible on the mount target page when logged in to the OCI console. Some applications will fail to install if the results of a space requirements check show too much available disk space. So specify, in gibibytes (GiB), the maximum capacity reported by file systems exported through this mount target. This setting does not limit the actual amount of data you can store.
- Whenever a mount target is provisioned in OCI, its `Reported Size (GiB)` values are very large. This is visible on the mount target page when logged in to the OCI console. Some applications will fail to install if the results of a space requirements check show too much available disk space. So in the OCI Console, click the little "Pencil" icon besides the **Reported Size** parameter of the Mount Target to specify, in gigabytes (GiB), the maximum capacity reported by file systems exported through this mount target. This setting does not limit the actual amount of data you can store.
336
+
337
+
- Make sure to open the required ports to access the NFS volume from the K8S cluster: add the required ports to the security list of the subnet where your K8S nodes are connected to; see **[here](https://docs.oracle.com/en-us/iaas/Content/File/Tasks/securitylistsfilestorage.htm)**for the details.
330
338
331
339
### Configuring a Database
332
340
The `OraOperator` facilitates you to configure the database. Various database configuration options are explained in the following subsections:
@@ -786,3 +794,9 @@ If you need to perform some maintenance operations (Database/ORDS) manually, the
786
794
3. Log In to `sqlplus` to perform manual operations by using the following command:
787
795
788
796
sqlplus / as sysdba
797
+
798
+
## Additional information
799
+
Detailed instructions for setting up Single Instance Database by OraOperator using OCI free trial account is available now in the LiveLab format. Please use the following link:
0 commit comments