Installing the Developer Portal subsystem
Install the Developer Portal subsystem
Before you begin
Before you start this task, you should have already:
- Reviewed the Kubernetes requirements in Pre-installation requirements
- Completed Deploying operators and cert-manager
- If installing as part of a Top-Level CR deployment, complete Configure the top-level APIConnectCluster for v12 subsystem support
- Deployed the analytics subsystem. For more information. see Deploying analytics subsystem.
Important: Only one Developer Portal instance
can reference an Analytics cluster. If you create a second Developer Portal instance
that references the same Analytics cluster, a webhook error occurs. The error message similar to the
following example is
displayed:
The DevPortalCluster "devportal2" is invalid: spec.analyticsRef: Invalid value: {"name":"analytics","namespace":"apic"}: Cannot set DevPortal analyticsRef to the same value as set by datapower-nano-system/devportal- Before you install the Developer Portal subsystem,
deploy the Analytics subsystem. Include
devPortalMode: truein the Analytics Container Registry (CR) specification. For example,apiVersion: analytics.apiconnect.ibm.com/v1beta1 kind: AnalyticsCluster metadata: name: analytics namespace: apic spec: devPortalMode: true version: 12.1.1.0 license: accept: true use: production license: L-PXLC-N7T9RW profile: n1xc2.m16 imagePullSecrets: - apic-registry-secret imageRegistry: my.docker.registry.domain.example.com microServiceSecurity: certManager certManagerIssuer: name: selfsigning-issuer kind: Issuer storage: type: shared shared: volumeClaimTemplate: storageClassName: REPLACE_STORAGE_CLASS_NAME volumeSize: 50GiImportant:- Verify that all required secrets and certificates are available and correctly referenced in both CRs.
- Use consistent image registry and operator versions across clusters in a multi-cluster environment.
- Wait for readiness:
kubectl wait --for=condition=ready analyticsclusters.analytics.apiconnect.ibm.com --all -n <namespace> --timeout=1000s
About this task
To install the Developer Portal subsystem,
define the Developer Portal Custom
Resource (CR) in a YAML file. The YAML file contains all of your configuration settings for the Developer Portal deployment.
Use the file to install, upgrade, and update the configuration of your Developer Portal
subsystem.
Note: The template Custom Resource for Top-Level CR deployments differs from the standard
template, and the endpoint structure varies for each subsystem. The TopLevel CR templates are stored
in the helper_files/tlcr/folder. The devportal_cr.yaml
template file is stored in the directory where you extracted helper_files.zip.
Procedure
What to do next
If you are creating a new deployment of API Connect, install other subsystems as needed.
When you have completed the installation of all required API Connect subsystems, you can proceed to defining your API Connect configuration by using the API Connect Cloud Manager; refer to the Cloud Manager configuration checklist.