PostHog provides open-source product analytics, built for developers. Automate the collection of every event on your website or app, with no need to send data to 3rd parties. With just 1 click you can deploy on your own infrastructure, having full API/SQL access to the underlying data.
This article is about how to use Helm to install PostHog on Kubernetes (K8S).
Prerequisites
Kubernetes (K8S)
Kubernetes (K8s) is an open-source system for automating deployment, scaling, and management of containerized applications.
For more information about installing and using Kubernetes (K8s), see the Kubernetes (K8s) Docs.
Helm
Helm is the best way to find, share, and use software built for Kubernetes.
For more information about installing and using Helm, see the Helm Docs.
# charts/values.yaml at master · PostHog/charts # https://github.com/PostHog/charts/blob/master/charts/posthog/values.yaml
posthogSecret: {{ .Values.posthogSecret }}
# Name of the service and what port to expose on the pod # Don't change these unless you know what you're doing service: type:ClusterIP
## Configure ingress resource that allow you to access the ## PostHog installation. Set up the URL ## ref: http://kubernetes.io/docs/user-guide/ingress/ ## ingress: enabled:true hostname: {{ .Values.ingress.hostname }}
## Ingress TLS configuration ## Secrets must be manually created in the namespace ## tls: -secretName: {{ .Values.ingress.secretName }} hosts: - {{ .Values.ingress.hostname }}