You work for a retail company and they developed a Microservices based shopping application that needs to access Oracle Autonomous Database from the application.
As an Architect, you have been tasked to treat all of the application components as Kubernetes native objects, such as the microservices, Oracle Autonomous database, Kubernetes services, etc.
What should you do to make sure that you can use Kubernetes constructs to manage the life cycle of the application components, including Oracle Autonomous Database? (Choose the best answer.)
Click on the arrows to vote for the correct answer
A. B. C. D.D.
https://docs.cloud.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengaddingservicebrokers.htmThe correct answer is D: Install and secure the OCI Service Broker for Kubernetes. Then provision and bind to the required Oracle Cloud Infrastructure services.
When a retail company develops a microservices-based shopping application that needs to access an Oracle Autonomous Database, they need to ensure that all of the application components can be treated as Kubernetes native objects. This includes the microservices, Oracle Autonomous Database, and Kubernetes services, which will be used to manage the lifecycle of the application components.
The OCI Service Broker for Kubernetes is an OCI-managed service that provides access to OCI services such as Oracle Autonomous Database from within a Kubernetes cluster. It enables seamless integration between Kubernetes clusters and OCI services, allowing Kubernetes native objects to be used to manage the lifecycle of OCI services.
To use Kubernetes constructs to manage the lifecycle of the application components, including the Oracle Autonomous Database, the following steps should be followed:
Install the OCI Service Broker for Kubernetes: The OCI Service Broker for Kubernetes needs to be installed and secured on the Kubernetes cluster. This involves creating a Kubernetes service account and role bindings, and then deploying the OCI Service Broker for Kubernetes as a Kubernetes deployment.
Provision the required OCI services: After the OCI Service Broker for Kubernetes is installed, the required OCI services such as Oracle Autonomous Database can be provisioned. This can be done using the Kubernetes command-line interface (CLI) or a Kubernetes manifest file.
Bind the OCI services to Kubernetes native objects: Once the OCI services are provisioned, they need to be bound to Kubernetes native objects such as pods, deployments, or services. This is done using the Kubernetes CLI or a Kubernetes manifest file.
Use Kubernetes constructs to manage the lifecycle of the OCI services: With the OCI services bound to Kubernetes native objects, Kubernetes constructs such as pods, deployments, or services can be used to manage the lifecycle of the OCI services. This includes scaling, upgrading, or deleting the OCI services as needed.
In summary, to make sure that Kubernetes constructs can be used to manage the lifecycle of the application components, including the Oracle Autonomous Database, the OCI Service Broker for Kubernetes needs to be installed and secured, and the OCI services need to be provisioned and bound to Kubernetes native objects. This enables seamless integration between Kubernetes clusters and OCI services, allowing Kubernetes native objects to be used to manage the lifecycle of OCI services.