Deploying HCL CDP ExternalAPI

This section provides detailed instructions on how to deploy HCL CDP External API using the Devtron in the AWS.

Prerequisites

Make sure to create cdp-externalapi secret in the AWS secret manager before deploying CDP External API.

To create cdp-externalapi secret in the AWS secret manager, follow the steps below:

  1. Create a cdp-externalapi secret sample key and value, and update the actual values as shown below.
    {
    "DbUrl":"",
    "DbUsername":"",
    "DbUserPassword":""
    }
  2. Update ConfigMaps data with actual values, and create required Kafka topics before deployment.

Deploy HCL CDP External API

To deploy HCL CDP External API using Devtron in the AWS platform, follow the steps below:

  1. Navigate to the Devtron Chart Store, and select the cdp-externalapi chart to deploy.

  2. Now, configure and deploy the cdp-externalapi charts.

  3. In the YAML section, update the ConfigMap using the below details and deploy the chart.
    ServerPort: "8080"
    HibernateNaming: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
    DbDriver: org.mariadb.jdbc.Driver
    DbSQL: "true"
    JpaHibernate: org.hibernate.dialect.MySQL5Dialect
    DbConnectionTimeout: "30000"
    HibernateDialect: innodb
    LOG_LEVEL_APP: debug
    LOG_LEVEL_ROOT: debug

  4. On successful deployment, validate the deployment as shown below.