New to KubeDB? Please start here.
Reconfiguring Oracle
This guide will give you an overview on how KubeDB Ops-manager operator reconfigures an Oracle database.
Before You Begin
- You should be familiar with the following
KubeDBconcepts:
How Reconfiguring Oracle Process Works
The following diagram shows how KubeDB Ops-manager operator reconfigures Oracle database components. Open the image in a new tab to see the enlarged version.
The Reconfiguring Oracle process consists of the following steps:
At first, a user creates an
OracleCustom Resource (CR).KubeDBProvisioner operator watches theOracleCR.When the operator finds an
OracleCR, it creates required number ofPetSetsand related necessary stuff like secrets, services, etc.The custom configuration of the Oracle database is provided through
spec.configuration. The configuration is supplied through aSecret(whose key isoracle.cnf) and/or aninlinemap. EachKEY = valueentry in the configuration is translated into anALTER SYSTEM SET KEY=value SCOPE=SPFILE;statement that is applied to the database.Then, in order to reconfigure the
Oracledatabase the user creates anOracleOpsRequestCR with the desired configuration.KubeDBOps-manager operator watches theOracleOpsRequestCR.When it finds an
OracleOpsRequestCR, it pauses theOracleobject so that theKubeDBProvisioner operator doesn’t perform any operations on theOracleobject during the reconfiguring process.Then the
KubeDBOps-manager operator will replace the existing configuration with the new configuration provided or merge the new configuration with the existing configuration according to theOracleOpsRequestCR.Then the
KubeDBOps-manager operator will restart the relatedPetSetPods (one at a time, in a reconciliation-safe rolling manner) so that they restart with the new configuration defined in theOracleOpsRequestCR.After the successful reconfiguring of the
Oraclecomponents, theKubeDBOps-manager operator updates theOracleobject to reflect the updated state.
In the next docs, we are going to show a step by step guide on reconfiguring of an Oracle database using OracleOpsRequest CRD.
Next Steps
- Detail concepts of Oracle object.
- Want to hack on KubeDB? Check our contribution guidelines.
⚠️ Legal Notice
Oracle® and Oracle Database® are registered trademarks of Oracle Corporation. KubeDB is not affiliated with, endorsed by, or sponsored by Oracle Corporation.
KubeDB provides only orchestration and management tooling for Kubernetes. It does not distribute, bundle, ship, or include any Oracle Database software or binaries.
Users must provide their own Oracle container images and hold valid Oracle licenses. Users are solely responsible for compliance with Oracle’s licensing terms, including all rules regarding containers, Docker, and Kubernetes environments.
KubeDB makes no representations or warranties regarding Oracle licensing compliance.































