Deploying the Platform

This guide covers deploying the RootCause.ai platform components using Helm. The platform chart deploys three services that work together to power the application.


Platform Components

Component
Description
Technology

platform

Web UI and backend-for-frontend

Next.js

data-service

Core API for data processing and orchestration

FastAPI

ml-jobs

Headless compute for causal discovery and simulations

Python

data-fusion

FDAP layer

Rust, FDAP

These components communicate with each other and with the dependency services.

Drawing

Prerequisites

Before deploying the platform:

  1. Dependencies deployed – All services from the Dependencies guide running

  2. Image pull secret – Access to the GitLab container registry

  3. Secrets configured – API keys, connection strings, and credentials ready


Creating the Image Pull Secret

The platform images are hosted on GitLab's container registry:


Installation

Step 1: Login to Registry

Step 2: Create Values File

Create production-values.yaml with your configuration:

Step 3: Install

From Local Chart


Automatic Secret Management

The chart automatically manages several secrets:

MongoDB Connection

The helm chart allows you to set a password password and if it is left empty the chart will create new password.

MongoDB Encryption

Auto-generated if not provided:

  • Secret: platform-mongo-encryption

  • Keys: MONGO_ENCRYPTION_KEY (32 chars), MONGO_ENCRYPTION_IV (16 chars)

  • Marked with helm.sh/resource-policy: keep to persist across upgrades

RabbitMQ Connection

References the secret created by RabbitMQ Cluster Operator:

  • Secret: perceptura-rabbitmq-default-user

  • Keys: host, port, username, password


Verifying Installation


Health Checks

Each component exposes health endpoints:

Component
Health Endpoint

Platform

/api/health

Data Service

/health

ML Jobs

Internal (via RabbitMQ)

Data Fusion


RBAC Permissions

The platform service has RBAC permissions to manage jobs and pods:


Next Steps

With the platform deployed:

  • Configure Secrets and Environment Variables

  • Set up Scaling for production workloads

  • Review Upgrading procedures

  • Configure SSO for user authentication

Last updated