Deploying CDP RTS

This section provides detailed instructions on how to deploy HCL CDP RTS using the Devtron in the OpenShift.

Prerequisites:

Make sure to create UI secret with required data in HashiCorp vault before deploying CDP RTS.

To create the UI secret in HashiCorp Vault, follow the steps below:

  1. Create a UI secret sample key and value in the UI secret, and update ConfigMaps data with actual values.
    {
      "KafkaConsumerConfig": "<KafkaConsumerConfig>",
      "KafkaProducerConfig": "<KafkaProducerConfig>",
      "MysqlDb": "<MysqlDb>",
      "MysqlHost": "<MysqlHost>",
      "MysqlPass": "<MysqlPass>",
      "MysqlPort": "<MysqlPort>",
      "MysqlUser": "<MysqlUser>",
      "bootstrap.servers": "<bootstrap.servers>",
      "sasl.mechanism": "<sasl.mechanism>",
      "security.protocol": "<security.protocol>"
    }

Deploying CDP RTS

To deploy the CDP RTS, follow these steps below:

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

  2. Now, configure and deploy the CDP RTS charts.

  3. In the YAML section, update the ConfigMap using below details, and deploy the charts.
    FROM_EMAIL: <FROM_EMAIL>
    KAFKA_CONSUMER_GROUP_ID: <k8s-rts-prod>
    KAFKA_PRODUCER_FAILURE_TOPIC: <dmp_rt_failure>
    KAFKA_PRODUCER_RAMANUJAN_TOPIC: <dmp_rt_ramanujan>
    KAFKA_PRODUCER_TOPIC: <dmp_rt_segments>
    KAFKA_SST_TOPIC: <dmp_sst_rt_profile>
    KAFKA_TOPIC_LIST: <dmp_sst_rt_profile>
    MODEL_CONFIG_LOCAL_PATH: /disk1/rts/config/predictiveSegmentationModel.ini
    MODEL_CONFIG_S3_PATH: s3://<s3_bucket_name>/sst/predictivesegments/rtson/predictiveSegmentationModel.ini
    MODEL_CUTOFFS_LOCAL_PATH: /disk1/rts/config/predictiveSegmentationCutoffs.ini
    MODEL_CUTOFFS_S3_PATH: s3://<s3_bucket_name>/sst/predictivesegments/rtson/predictiveSegmentationCutoffs.ini
    PMML_MODEL_CONFIG_LOCAL_PATH: /disk1/rts/config/predictivesegments/pmml_model_config/
    PMML_MODEL_CONFIG_S3_PATH: s3://<s3_bucket_name>/sst/predictivesegments/pmml_model_config/rtson/
    PMML_MODEL_DIRECTORY_LOCAL_PATH: /disk1/rts/config/predictivesegments/pmml_models/
    PMML_MODEL_DIRECTORY_S3_PATH: s3://<s3_bucket_name>/sst/predictivesegments/pmml_models/rtson/
    TO_EMAIL: <TO_EMAIL>
    TSDB_HOST: <TSDB_HOST>
    TSDB_PORT: <TSDB_PORT>

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