Enabling API discovery on Kubernetes
You can optionally configure API discovery in IBM® API Connect on a Kubernetes, OpenShift, or IBM Cloud Pak for Integration deployment by enabling the API discovery service.
About this task
The API discovery service is an optional add-on to API Connect that can be used to discover and add APIs to your API development process.
Note:
- These instructions apply only to Kubernetes, OpenShift, and IBM Cloud Pak for Integration installations.
- APIs cannot be discovered and added to your deployment until the API discovery service is enabled.
- If you're using a two data center disaster recovery (2DCDR) deployment, the API discovery service must be enabled on both the active and warm-standby centers. Enable the service on the warm-standby data center first, and then the active center.
- If you enable the API discovery service, the backups that you take can be restored only onto a management subsystem that also has the API discovery service enabled.
To enable or disable the API
discovery service, you
must configure the Management subsystem custom resource (CR) file. See the following
instructions:
After the API discovery service is enabled, API discovery resources can be created. For more information, see API discovery.
Procedure
Results
ManagementCluster
namespace. These Kubernetes API
discovery resources have names
that contain api-discovery
. For
example:kubectl get pods -n apic | grep discovery
management-api-discovery-gw-proxy-collector-8d8bdfbdf5lfbj 1/1 Running 0 88m
management-api-discovery-gw-proxy-collector-8d8bdfbdf67qqz 1/1 Running 0 88m
management-api-discovery-gw-proxy-collector-8d8bdfbdfzrhkv 1/1 Running 0 88m
management-api-discovery-service-f7dc497d8-gc7dn 1/1 Running 0 89m
management-api-discovery-service-f7dc497d8-pd877 1/1 Running 0 89m
management-api-discovery-service-f7dc497d8-shzm9 1/1 Running 0 89m
management-api-discovery-ui-5549df59d9-b4fks 1/1 Running 0 88m
management-api-discovery-ui-5549df59d9-gjqmx 1/1 Running 0 88m
management-api-discovery-ui-5549df59d9-pjvsx 1/1 Running 0 88m
management-up-api-discovery-service-data-populate-0-tvxbvs 0/1 Completed 0 90m
management-up-api-discovery-service-schema-0-to-2-mrs8d 0/1 Completed 0 90m