Skip to content

When creating Autonomous or DBCS, it is not possible to specify region #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hyder opened this issue Apr 12, 2024 · 4 comments
Closed

Comments

@hyder
Copy link
Member

hyder commented Apr 12, 2024

When creating a new Autonomous DB or Base DB system, it is currently not possible to specify the region where we want the database created. This is because the CRD itself doesn't define it and this imposes an unnecessary constraint of having to run a Kubernetes cluster in the same region just to provision the database in the target region.

It would be very desirable to be able to specify the target database's region and allow the operator to create it.

@laguvard
Copy link

I suppose you use instance principal. If you use the ociConfig section, you can create ADB in any tenancy & region. I've been doing that lately from a minikube cluster on my dev machine.

@anders-swanson
Copy link
Member

Instance principal, yes, region is not configurable. But that's OK, usually we want to use instance principal in the same region as the instance.

While ociConfig may be available for user principal and workload identity, I couldn't find the documentation specifying how to use ociConfig. E.g., I was looking for something like:

To authenticate with user principal, set ociConfig to a configmap and secret with the following values...

configmap, secret definitions

... another example for workload identity

@s1saurabh
Copy link
Member

Refer this https://github.com/oracle/oracle-database-operator/blob/main/docs/dbcs/README.md#1-create-a-kubernetes-configmap-in-this-example-we-create-a-kubernetes-configmap-named-oci-cred-with-the-oci-account-we-are-using

Now there is option to specify region for Oracle Base Database Service to create Database in specified region in Configmap, If this the same you are looking for DBCS, then i think we can close this now.

@psaini79
Copy link
Member

psaini79 commented Apr 9, 2025

Please refer the above links posted by @s1saurabh. If you see any issue, please reopen it.

@psaini79 psaini79 closed this as completed Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants