This document outlines how to deploy PostHog using Altinity Cloud ClickHouse clusters.
Prerequisites
- Altinity.Cloud ClickHouse cluster:- Minimum ClickHouse version: 21.8.13
- Single shard and no data replication
- No dashes (-) in cluster name
 
- PostHog helm chart version >= 16.1.1
- PostHog version >= 1.33.0
Deployment instructions
PostHog uses Kafka to send data from the app to ClickHouse. For that reason, Kafka needs to be accessible to ClickHouse during deployment.
Deploying using external Kafka
Read more about how to configure external Kafka in the chart in our deployment documentation.
Using internal Kafka
To deploy using a version of Kafka managed by the PostHog Helm chart, follow these three steps:
- Deploy your Helm chart initially with the following values.yaml:
- Get the external Kafka IP via - kubectl get svc -n posthog | grep kafka-0-external
- Deploy PostHog using helm with new values.yaml (fill in placeholder values)