Skip to content

Posthog with existing Clickhouse #190

@tpoxa

Description

@tpoxa

Bug description

I am already using Clickhouse for some projects of mine in the k8s cluster by using liwenhe1993 helm chart. So it's an obvious thing - avoiding installing an operator.

clickhouseOperator:
  enabled: false

clickhouse:
  enabled: true
  host: clickhouse.clickhouse.svc.cluster.local
  user: default
  password: pwd
  database: ph

Migration job pods are failing with error:

infi.clickhouse_orm.database.ServerError: Requested cluster 'posthog' not found (version 21.3.16.5 (official build)) (170)

Expected behavior

Migrations went well

How to reproduce

  1. Disable click house operator
  2. Configure all values required for existing clickhouse
  3. Run helm installation helm upgrade -i -f values.yaml --timeout 20m --namespace posthog posthog posthog/posthog --atomic

Environment

  • k8s 1.22 EKS

Additional context

Database ph created successfully

Thanks.

Metadata

Metadata

Assignees

Labels

P1Urgent, non-breakingbugSomething isn't workinghelmHelm chart work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions