You will need access to an OpenShift Container Platform 4.1 cluster.
Procedure
- In the OpenShift Container Platform console, log in using an account with administrator privileges.
- Create new project
operator-test
in Projects > Create Project. - Click Catalog > OperatorHub.
- In the Filter by keyword box, type 3scale operator to find the 3scale operator.
- Click the 3scale operator. Information about the Operator is displayed.
- Click Install. The Create Operator Subscription page opens.
- On the Create Operator Subscription page, accept all of the default selections and click Subscribe.
- After the subscription upgrade status is shown as Up to date, click Catalog > Installed Operators to verify that the 3scale operator ClusterServiceVersion (CSV) is displayed and its Status ultimately resolves to InstallSucceeded in the
operator-test
project.
Deploying the APIManager custom resource will make the operator begin processing and will deploy a 3scale solution from it.
Procedure
- Click Catalog > Installed Operators. From the list of Installed Operators, click 3scale Operator.
- Click API Manager > Create APIManager
- Create APIManager object with the following content.
apiVersion: apps.3scale.net/v1alpha1
kind: APIManager
metadata:
name: example-apimanager
spec:
wildcardDomain: <wildcardDomain>
The wildcardDomain parameter can be any desired name you wish to give that resolves to an IP address, which is a valid DNS domain. Be sure to remove the placeholder marks for your parameters: < >.
When you deploy 3scale using the operator, a default tenant is created, with a fixed URL: https://3scale-admin.${wildcardDomain}