Skip to content
Stand with Ukraine flag

Installing Trendz Analytics on Kubernetes

This guide describes how to deploy Trendz Analytics on a Kubernetes cluster.

Hardware: Minimum 4 GB of RAM and 2 CPU cores. In small and medium deployments, Trendz can be installed on the same server as ThingsBoard.

Software:

  • A running Kubernetes cluster with kubectl configured to communicate with it. If you don’t have Minikube installed, follow these instructions.

Node requirements: Designate a node for the Trendz instance and label it with a custom label. Use affinity settings to deploy Trendz on that node. The typical resource usage is 4 CPU and 8 GB RAM per instance — configure your limits to meet or exceed these recommendations.

Trendz Analytics can be installed in two ways:

  • Run alongside ThingsBoard PE — recommended. Trendz is deployed as part of the ThingsBoard PE Kubernetes cluster, sharing the same infrastructure and database.
  • Standalone — Trendz runs independently on its own Kubernetes deployment. Use this if you are not running ThingsBoard PE on the same cluster or prefer an isolated setup.

Trendz Analytics deployment is included in every ThingsBoard PE cluster guide. Follow the Trendz configuration step in whichever guide matches your infrastructure:

ThingsBoard PE Cluster GuideTrendz Setup
MinikubeTrendz in Minikube
OpenShiftTrendz in OpenShift
AWS EKS MicroservicesTrendz in AWS EKS Microservices
AWS EKS MonolithTrendz in AWS EKS Monolith
AKS MicroservicesTrendz in AKS Microservices
AKS MonolithTrendz in AKS Monolith
GKE MicroservicesTrendz in GKE Microservices
GKE MonolithTrendz in GKE Monolith

After installation, verify that Trendz has successfully connected to ThingsBoard. This step is required regardless of how you installed Trendz.

Log in to ThingsBoard as a Sysadmin and open the Trendz Settings page.

If you see “Synchronization completed successfully”, no further action is needed.

If you see an error message:

  1. Make sure Trendz is running.
  2. Enter the correct Trendz internal URL (must be reachable from ThingsBoard).
  3. Enter the correct ThingsBoard internal URL (must be reachable from Trendz).
  4. Click Save configuration.
  5. Click Retry discovery.

Access Trendz UI at http://localhost:8888.

Trendz uses ThingsBoard as its authentication provider — log in with your Tenant Administrator credentials from ThingsBoard.

After the first login, discover the topology so Trendz can learn about your assets, devices, profiles, and relations:

See Business Entities for more on how Trendz uses this topology.