-
Notifications
You must be signed in to change notification settings - Fork 559
feat!: add bitnami clickhouse #1760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
feat!: add bitnami clickhouse #1760
Conversation
76a89cf
to
5029c2a
Compare
0cd5122
to
4e00952
Compare
@TartanLeGrand If we want to change clickhouse image, better to go with altinity clickhouse operator. |
@manishrawat1992 Ok, do you have the source ? 😄 |
👋 Hi, @TartanLeGrand, |
Hello @Mokto, are you ok with this on bitnami or you are more ok with @manishrawat1992. 🤔🤔 |
@TartanLeGrand I install altinity clickhouse operator as a separate chart and use external clickhouse config to reference it. |
I agree. I do think using the clickhouse operator is much, much better but outside the scope of this repository. I've always wanted the chart to be a one click install, but let's be honest, it's far from far and needs a lot of tweaking. |
It's hard to maintain though and we have the responsibility to make updates to database chart versions without breaking anything. It's really hard. |
Tried adding clickhouse operator. I fully support your argument. It has too many issues to justify usage here. |
Well my argument was also for bitnami/clickhouse |
Ok @Mokto good for me too. I need more changes and we can migrate on this. |
@TartanLeGrand "Removed support for distributed ClickHouse configurations, simplifying the deployment to single-node mode." |
Hello 👋 @manishrawat1992 I rebase this an cleanup all changes. |
4e00952
to
daef296
Compare
07b7faf
to
4b7bc0e
Compare
@@ -43,6 +43,8 @@ settings.py: | | |||
"password": env("CLICKHOUSE_PASSWORD", ""), | |||
"max_connections": int(os.environ.get("CLICKHOUSE_MAX_CONNECTIONS", 100)), | |||
"database": env("CLICKHOUSE_DATABASE", "default"), | |||
"cluster_name": env("CLICKHOUSE_CLUSTER_NAME", "default"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is problematic, and breaks external clickhouse in case it is distributed. Please look at tail end of this map
charts/sentry/values.yaml
Outdated
@@ -2134,49 +2134,50 @@ config: | |||
disableWriteException: true | |||
|
|||
clickhouse: | |||
image: | |||
tag: 23.8.16-debian-12-r0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better use 24.8 now. Sentry has upgraded clickhouse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7339b5d
to
973b937
Compare
👋 Hi, @TartanLeGrand, |
973b937
to
d13fade
Compare
👋 Hi, @TartanLeGrand, |
29e922e
to
036efa0
Compare
8692fd8
to
2f4360b
Compare
46e7dfc
to
8368102
Compare
@Mokto and @manishrawat1992 it's ready to review. I want to add an doc for upgrade from old clickhouse based on : |
👋 Hi, @TartanLeGrand, |
👋 Hi, @TartanLeGrand, |
This pull request refactors the ClickHouse integration in the Helm chart for Sentry, simplifying configuration and improving maintainability. Key changes include replacing embedded ClickHouse configuration with externalized settings, updating dependencies, and enabling additional Sentry features.
ClickHouse Integration Refactor:
charts/sentry/values.yaml
, [1] [2].service.ports
andauth.username
, instead of older nested configurations (charts/sentry/templates/_helper.tpl
, [1] [2] [3] [4].Dependency Updates:
charts/sentry/Chart.yaml
, charts/sentry/Chart.yamlL22-R24).Sentry Feature Enhancements:
charts/sentry/values.yaml
, charts/sentry/values.yamlL257-R260).Configuration Simplifications:
charts/sentry/values.yaml
, charts/sentry/values.yamlL2270-L2311).charts/sentry/templates/snuba/_helper-snuba.tpl
, charts/sentry/templates/snuba/_helper-snuba.tplL80-R95).Miscellaneous Improvements:
charts/sentry/templates/snuba/_helper-snuba.tpl
, charts/sentry/templates/snuba/_helper-snuba.tplR34-R44).