Comments (8)
@guidoiaquinti I have also added PostHog/posthog.com#2389
from charts-clickhouse.
@joesaunderson I've also added PostHog/posthog.com#2372 to our docs in order to make it more clear (and apologise as it wasn't before). Let me know if you have all the answers you need and I'll mark this issue as ✅
from charts-clickhouse.
Hi @joesaunderson ! With PostHog/posthog.com#2370 we’ve just published a new ClickHouse section in our runbooks that I hope will answer your questions about this service.
Regarding PostgreSQL: we should make it explicit in our docs but we suggest you to back up the data as well like you were doing before moving analytics queries to ClickHouse.
Let me know if this is 👍 and if we can consider this issue ✅
Have a good day!
from charts-clickhouse.
Hey @guidoiaquinti - thanks for this, it really helps my understanding on how things work. I guess a couple of questions:
-
How simple is it to install the automated backup, it looks fairly simple, but would we need to build this into Helm? Could it be added automatically?
-
This covers Clickhouse really nicely, do we need to backup the Postgres DB if it's within the K8s stack?
from charts-clickhouse.
How simple is it to install the automated backup, it looks fairly simple, but would we need to build this into Helm? Could it be added automatically?
We are not planning to add ClickHouse backup/restore to Helm for now, but we can re-evaluate this in the future.
This covers Clickhouse really nicely, do we need to backup the Postgres DB if it’s within the K8s stack?
Yes, our suggestion is to back up PostgreSQL as well daily/bi-daily (depending on your requirements). If you don’t have a specific reason to run stateful services in K8S we also suggest that you run them “outside” Kubernetes.
Example: if you are running on AWS, you could use AWS Aurora for PostgreSQL and AWS MSK for Kafka (unfortunately there isn’t yet a ClickHouse as a service solution.
Let me know if this makes sense!
from charts-clickhouse.
We are not planning to add ClickHouse backup/restore to Helm for now, but we can re-evaluate this in the future.
I'm not so familiar with Helm, but does this mean if we add it, and you guys push an update for the chart, we'd need to add it again?
If you don’t have a specific reason to run stateful services in K8S we also suggest that you run them “outside” Kubernetes.
Example: if you are running on AWS, you could use AWS Aurora for PostgreSQL and AWS MSK for Kafka
Makes sense, we are looking into this, would it make sense to mention this on the AWS docs, along with some 'recommendations' on the size of the Postgres / Kafka instances?
from charts-clickhouse.
I’m not so familiar with Helm, but does this mean if we add it, and you guys push an update for the chart, we’d need to add it again?
It depends on how you mange your k8s cluster. You can either:
- manage the PostHog via our Helm charts + run an additional
kubectl
command to install theclickhouse-backup
related resources. - extend our Helm chart and add whatever additional bits you need
Makes sense, we are looking into this, would it make sense to mention this on the AWS docs, along with some ‘recommendations’ on the size of the Postgres / Kafka instances?
Yes, we can add that. For PostgreSQL / Kafka instance size it’s difficult to know upfront without having more data about your expected volume of events, unique people, retention policy, etc... My suggestion is to start with the same values you currently use in Helm and then add capacity if necessary.
from charts-clickhouse.
@guidoiaquinti I think this can be ✅
from charts-clickhouse.
Related Issues (20)
- Cleanup old `posthog-grafana-annotation` jobs
- Add additional configuration to externalKafka
- Read-only tables in clickhouse
- CI - Ingress: validate traffic routing
- Alertmanager - switch `RedisTooManyConnections` to be % based
- Support nodeSelector, tolerations, affinity for "events" HOT 1
- Plugin server is not starting
- Unable to change clickhouse log level
- Backups error HOT 1
- Trying to install second instance HOT 3
- Only 23.5.1 available for Helm Chart for k8 HOT 1
- Support for external Grafana HOT 3
- External Zookeeper seems ignored - references built-in
- Support GCP CloudSQL Proxy for connecting to Postgres database in GCP deployment HOT 1
- Migration failed to run HOT 1
- Service does not have load balancer ingress IP address: posthog/posthog-ingress-nginx-controller HOT 3
- Add slow lane consumer for ingestion
- Bump version of kafka
- Kafka error: 'posthog' is not in the form of topic-partition or topic-partition.uniqueId-delete (if marked for deletion). HOT 1
- Unable to reset password using SMTP.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts-clickhouse.