Prerequisites
This guide requires you to have:- A Kubernetes cluster (v1.20+ recommended) with at least 32 GiB of RAM and 100GB of disk space available on one node for ClickHouse.
- Helm v3+
kubectl, configured to interact with your cluster
Deployment options
This guide deploys ClickStack entirely within your Kubernetes cluster, including:- ClickHouse
- ClickStack UI
- MongoDB (used for dashboard state and configuration)
1
Install cert-manager (Optional)
If your setup needs TLS certificates, install cert-manager using Helm:
2
Deploy the OpenTelemetry Demo (Optional)
This step is optional and intended if you have no existing pods to monitor. Although users with existing services deployed in their Kubernetes environment can skip, this demo does include instrumented microservices which generate trace and session replay data - allowing users to explore all features of ClickStack.The following deploys the ClickStack fork of the OpenTelemetry Demo application stack within a Kubernetes cluster, tailored for observability testing and showcasing instrumentation. It includes backend microservices, load generators, telemetry pipelines, supporting infrastructure (e.g., Kafka, Redis), and SDK integrations with ClickStack.All services are deployed to the On deployment of the demo, confirm all pods have been successfully created and are in the 
Credit: https://opentelemetry.io/docs/demo/architecture/Further details on the demo can be found in:
otel-demo namespace. Each deployment includes:- Automatic instrumentation with OTel and ClickStack SDKS for traces, metrics, and logs.
- All services send their instrumentation to a
my-hyperdx-hdx-oss-v2-otel-collectorOpenTelemetry collector (not deployed) - Forwarding of resource tags to correlate logs, metrics and traces via the environment variable
OTEL_RESOURCE_ATTRIBUTES.
Running state:Demo Architecture
The demo is composed of microservices written in different programming languages that talk to each other over gRPC and HTTP and a load generator that uses Locust to fake user traffic. The original source code for this demo has been modified to use ClickStack instrumentation.
3
Add the ClickStack Helm chart repository
To deploy ClickStack, we use the official Helm chart.This requires us to add the ClickStack UI Helm repository:
4
Deploy ClickStack
With the Helm chart installed, you can deploy ClickStack to your cluster.
The following command installs ClickStack to theUsers not deploying the OTel demo can modify this, selecting an appropriate namespace.To verify the deployment status, run the following command and confirm all components are in the
The following command installs ClickStack to the
otel-demo namespace. The helm chart deploys:- A ClickHouse instance
- ClickStack UI
- The ClickStack distribution of the OTel collector
- MongoDB for storage of ClickStack UI application state
You might need to adjust the
storageClassName according to your Kubernetes cluster configuration.Running state:5
Access the ClickStack UI
For security, the service uses Navigate http://localhost:8080 to access the ClickStack UI.Create a user, providing a username and password that meets the complexity requirements.
ClusterIP and isn’t exposed externally by default.To access the ClickStack UI, port forward from 3000 to the local port 8080.
6
Retrieve ingestion API key
Ingestion to the OTel collector deployed by the ClickStack collector is secured with an ingestion key.Navigate to 
Team Settings and copy the Ingestion API Key from the API Keys section. This API key ensures data ingestion through the OpenTelemetry collector is secure.
7
Create API Key Kubernetes Secret
Create a new Kubernetes secret with the Ingestion API Key and a config map containing the location of the OTel collector deployed with the ClickStack helm chart. Later components will use this to allow ingest into the collector deployed with the ClickStack Helm chart:Restart the OpenTelemetry demo application pods to take into account the Ingestion API Key.Trace and log data from demo services should now begin to flow into ClickStack UI.

8
Add the OpenTelemetry Helm repo
To collect Kubernetes metrics, we will deploy a standard OTel collector, configuring this to send data securely to our ClickStack collector using the above ingestion API key.This requires us to install the OpenTelemetry Helm repo:
9
Deploy Kubernetes collector components
To collect logs and metrics from both the cluster itself and each node, we’ll need to deploy two separate OpenTelemetry collectors, each with its own manifest. The two manifests provided -
Next, deploy the collector as a DaemonSet for node and pod-level metrics and logs:
k8s_deployment.yaml and k8s_daemonset.yaml - work together to collect comprehensive telemetry data from your Kubernetes cluster.-
k8s_deployment.yamldeploys a single OpenTelemetry Collector instance responsible for collecting cluster-wide events and metadata. It gathers Kubernetes events, cluster metrics, and enriches telemetry data with pod labels and annotations. This collector runs as a standalone deployment with a single replica to avoid duplicate data. -
k8s_daemonset.yamldeploys a DaemonSet-based collector that runs on every node in your cluster. It collects node-level and pod-level metrics, as well as container logs, using components likekubeletstats,hostmetrics, and Kubernetes attribute processors. These collectors enrich logs with metadata and send them to ClickStack UI using the OTLP exporter.
k8s_deployment.yaml
k8s_deployment.yaml
k8s_daemonset.yaml
k8s_daemonset.yaml
10
Explore Kubernetes data in ClickStack UI
Navigate to your Kubernetes-deployed ClickStack UI.To access the local deployed ClickStack UI, you can port forward using the local command and access ClickStack UI at http://localhost:8080.To explore the Kubernetes data, navigate to the dedicated present dashboard at
ClickStack in productionIn production, we recommend using an ingress with TLS. For example:
/kubernetes e.g. http://localhost:8080/kubernetes.Each of the tabs, Pods, Nodes, and Namespaces, should be populated with data.