Event Endpoint Management deployment
Event Endpoint Management provides the capability to describe and catalog the APIs of Kafka event sources, and to socialize those APIs with application developers.
Before you begin
Ensure you have Cloud Pak for Integration installed.
Review the required cluster-scoped permissions for API Connect.
Load the catalog sources as explained in Adding online catalog sources to a cluster.
Ensure you have the IBM API Connect operator installed. Event Endpoint Management is configured through the API Connect custom resource type (
APIConnectCluster
).If you are using the IBM Entitled Registry, a pull secret must exist in the namespace containing an entitlement key. See IBM Entitled Registry entitlement keys.
Event Endpoint Management uses the default
restricted
Security Context Constraint (SCC) that comes with the OpenShift Container Platform.
Installing an instance of Event Endpoint Management
You can create an instance of Event Endpoint Management as part of Cloud Pak for Integration by using the Platform Navigator or the command line.
Installing by using the Platform Navigator
Note: Install an instance of the Event Endpoint management capability in a single namespace. If you want to deploy additional instances, you must deploy them into different namespaces.
Log in to the IBM Cloud Pak for Integration Platform Navigator as a Cluster Administrator. Use the authentication method and credentials set by your administrator.
Click the Navigation Menu in the top left.
Expand Administration and click Integration capabilities.
Click Create capability.
Select the API Management tile and click Next.
On the Create an instance for API management page, select the Event Endpoints - One Node - Minimum tile and click Next.
Fill in the fields as described in the following table: By using the form view, update the following fields:
Name: Add a name for your Event Endpoint Management instance.
Namespace: Select the namespace where this instance will be created. This is the namespace where you installed the API Connect operator.
Note: This field only displays if you selected All namespaces in the cluster (default) when you installed the operator. If the API Connect operator was installed for a single namespace, this field will not be displayed. It is only applicable when the operator is installed for all namespaces, which means you have to select the namespace where you want to create the instance.
License acceptance: To install the instance, you must accept the license agreement.
License use: Select production or nonproduction to match the license that you purchased. Default is nonproduction.
License metric: Leave blank for default value
VIRTUAL_PROCESSOR_CORE
.License ID: Select the license ID for Program Name "IBM API Connect Enterprise PVU". To view License IDs, see API Connect licenses.
Deployment profile: Select the type of API Connect installation profile you want. Default is
n1xc10.m48
, which corresponds to Event Endpoints - One Node - Minimum.Development profile is
n1xc10.m48
, which deploys 1 replica of each pod, so this profile is most suitable for a small, non-HA system. Recommended use of this profile is for development and testing.Production profile is
n3xc14.m48
, which deploys 3 or more replicas of each pod, so this profile is most suitable for larger systems and for production environments. This profile is supported for installation on a cluster with three or more nodes. It is not supported on a cluster with fewer than three nodes.
Product version: Select the product version or channel to be installed in the system. This is the API Connect application version for the subsystems. Use
10.0.2.0
for Event Endpoint Management.Storage class: Specify the RWO block storage class to use for persistence storage. This will be used when creating a PVC. Specification of the storage class is highly recommended. If not specified, the default cluster storage class for API Connect is used.
See storage requirements for more information about storage considerations.
Supported endpoint types: Select
Events
to manage event streaming sources that use Kafka. You can also selectAPIs
if you want to manage interfaces such as REST APIs and GraphQL with the same instance.
Alternatively, you can also configure the instance by using the the YAML editor, for example:
apiVersion: apiconnect.ibm.com/v1beta1 kind: APIConnectCluster metadata: labels: app.kubernetes.io/instance: apiconnect app.kubernetes.io/managed-by: ibm-apiconnect app.kubernetes.io/name: apiconnect-events-minimum name: events-minimum namespace: apic spec: endpointTypes: - Events license: accept: false use: nonproduction profile: n1xc10.m48 version: 10.0.2.0
Click Create.
After the installation completes, check the status of your release and verify that your instance deployed successfully.
Installing by using the command line
You can also use the APIConnectCluster
custom resource to install the Event Endpoint Management capability by using the command line.
Ensure you have a YAML file saved locally with the custom resource configuration (see the YAML editor example earlier).
Log in to your OpenShift Container Platform as a cluster administrator by using
oc login
.Set the project (namespace) to where you will install the instance by using
oc project <namespace>
Apply the
APIConnectCluster
custom resource to create anEvent Endpoint Management
instance:oc apply -f <custom-resource-file-path>
For example:oc apply -f eventapi.yaml
Verifying your installation
To verify that your installation completed successfully, you can check the status of your instance through the OpenShift Container Platform web console or command line.
By using the web console
Log in to the OpenShift Container Platform web console using your login credentials.
Expand the Operators dropdown and select Installed Operators to open the Installed Operators page.
Expand the Project dropdown and select the project the instance is installed in (this is the namespace you set earlier). Click the operator called IBM API Connect managing the project.
Select the Event Endpoint Management tab and search the Name column for the installed instance and click it.
The Phase field in the
APIConnectCluster
custom resource will display the current state of theEvent Endpoint Management
instance. When the Event Endpoint Management instance is ready, the phase will display Ready, meaning the deployment has completed.
By using the command line
After all the components of an Event Endpoint Management instance are active and ready, the APIConnectCluster
custom resource for the Event Endpoint Management
instance will have a Ready
phase in the status. To verify the status:
Log in to your OpenShift Container Platform as a cluster administrator by using
oc login
.Run the oc get command as follows:
oc get apiconnectcluster <cr_name> -ojsonpath={.status.phase}
For example, the installation of the instance called development
is complete when the STATUS
returned by the oc get
command displays Ready
:
$ oc get apiconnectcluster development -ojsonpath={.status.phase}
>
NAME STATUS
development Ready
Configuring your instance
After successfully installing your instance and verifying that it is ready, complete the following basic configuration for your instance:
Click the Navigation Menu in the top left.
Expand Administration and click Integration capabilities.
Click the overflow menu (three vertical dots) next to the API Connect instance name, and select Cloud Manager.
Log in to Cloud Manager using one of the following options:
Select the Cloud Manager User Registry and log in using the user name
admin
and the base64-decoded password from the<instance_name>-mgmt-admin-pass
secret. You can retrieve the password by running the following command:oc get secrets -n <apic_namespace> <apic_instance_name>-mgmt-admin-pass -ojsonpath='{.data.password}' | base64 --decode && echo ""
Select the Common Services user registry and log in using the same user name and password that you used for logging in to the Platform Navigator.
Complete the following configuration tasks to set up your instance:
Create user registries to manage authentication and security.
Create provider organizations to manage teams that develop and manage APIs and related assets.
Create catalogs and spaces where APIs are developed and maintained.
Create consumer organizations and manage their access to your Developer Portal and API products.
Next steps
Start using Event Endpoint Management to create and publish definitions of your Kafka topic content as described in socializing Kafka events.