Questo contenuto non è disponibile nella lingua selezionata.
Chapter 2. Installing API controller
To install API controller use the community Operator.
Prerequisites
-
cluster-adminaccess to an OpenShift cluster.
Procedure
-
In the OpenShift Container Platform web console, log in with
cluster-adminprivileges. - In the left navigation menu, click Operators > OperatorHub.
-
In the Filter by keyword text box, enter
Apicurioto find the Apicurio API Controller. - Read the information about the Operator, and click Install to display the Operator subscription page.
Accept the default subscription settings noting the following:
- Installation mode: All namespaces on the cluster (default).
- Installed namespace: Select the namespace where you want to install the Operator, for example, api-controller. If the namespace does not already exist, click this field and select Create Project to create the namespace.
- Approval Strategy: Select Automatic or Manual.
- Click Install, and wait a few moments until the Operator is installed and ready for use.
-
Verify that the Operator is installed. After you have installed the Operator, click Operators > Installed Operators to verify that the Apicurio API Controller is installed in your selected namespace, for example
api-controller. - Change to the Developer view in the OpenShift Container Platform web console to apply the YAML required for installation.
Create a PostgreSQL database using the following YAML in the
api-controllernamespace:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a CR named
apicurio, and the required Routes using the following YAML in theapi-controllernamespace:NoteReplace
mycluster.example.comwith your cluster hostname.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Navigate to the api-controller-studio-ui Route and click the Location URL. The Apicurio Studio console should be displayed.