Multi K8S cluster/region support
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- clickhouse, go, kubernetes
- Domain
- databases, distributed-systems, infrastructure
Research direction
Start by tracing how the operator configures clickhouse-keeper and clickhouse-server deployments and cluster settings; no source files or tests are named in the issue. Compare the requested base-cluster and attached-cluster model with the legacy Bitnami chart configuration shown. Done means supporting separate deployments across Kubernetes clusters or regions with the required cross-cluster Keeper and server configuration.
Written by the indexing model from the issue text.
Description
Company or project name
No response
Use case
Creating a multi K8S cluster setup, where clusters may be located via sufficiently fast/close links for redundancy in case of complete datacenter failure for self hosters.
Describe the solution you'd like
Allow to create a base cluster and attach other clusters to it with separate deployments for clickhouse-keeper and clickhouse-server. Right now using the legacy bitnami charts, I can do such setup by overriding the cluster config and specifying all instances.
EG
<server>
<id>0</id>
<hostname>clickfuse-clickhouse-keeper-0.clickfuse-clickhouse-keeper-headless.langfuse.svc.k8s-cluster.datacenter1</hostname>
<port from_env="CLICKHOUSE_KEEPER_RAFT_PORT"></port>
</server>
<server>
<id>1</id>
<hostname>clickfuse-clickhouse-keeper-1.clickfuse-clickhouse-keeper-headless.langfuse.svc.ik8s-cluster.datacenter1</hostname>
<port from_env="CLICKHOUSE_KEEPER_RAFT_PORT"></port>
</server>
<server>
<id>2</id>
<hostname>clickfuse-clickhouse-keeper-2.clickfuse-clickhouse-keeper-headless.langfuse.svc.k8s-cluster.datacenter1</hostname>
<port from_env="CLICKHOUSE_KEEPER_RAFT_PORT"></port>
</server>
<server>
<id>3</id>
<hostname>clickfuse-clickhouse-keeper-0.clickfuse-clickhouse-keeper-headless.langfuse.svc.ik8s-cluster.datacenter2</hostname>
<port from_env="CLICKHOUSE_KEEPER_RAFT_PORT"></port>
</server>
<server>
<id>4</id>
<hostname>clickfuse-clickhouse-keeper-1.clickfuse-clickhouse-keeper-headless.langfuse.svc.k8s-cluster.datacenter2</hostname>
<port from_env="CLICKHOUSE_KEEPER_RAFT_PORT"></port>
</server>
<server>
<id>5</id>
<hostname>clickfuse-clickhouse-keeper-2.clickfuse-clickhouse-keeper-headless.langfuse.svc.k8s-cluster.datacenter2</hostname>
<port from_env="CLICKHOUSE_KEEPER_RAFT_PORT"></port>
</server>
<server>
<id>6</id>
<hostname>clickfuse-clickhouse-keeper-0.clickfuse-clickhouse-keeper-headless.langfuse.k8s-cluster.datacenter3</hostname>
<port from_env="CLICKHOUSE_KEEPER_RAFT_PORT"></port>
</server>
and a similar config for clickhouse-server
Describe alternatives you've considered
Using the old bitnami charts but upgrading images and adapting scripts
Additional context
Clickhouse deployment used for langfuse
- Dominant language
- Go
- Stars
- 310
- Forks
- 46
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 21
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/clickhouse-operator
-
feature
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ClickHouse/clickhouse-operator#365 · 1 comment ·
Maintainers usually reply within 1 day
-
feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
ClickHouse/clickhouse-operator#293 · 1 comment ·
Maintainers usually reply within 1 day
-
Write migration paths/helper tools to the operator from bitnami helmchart/Altinity operatorMay be free again @GrigoryPervakov claimed this 69 days ago, and no pull request is open. Openfeature
ClickHouse/clickhouse-operator#272 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
feat(controller): Allow for a configurable listen_host in network.yamlPossibly taken @arekborucki claimed this 119 days ago. Openfeature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/clickhouse-operator#217 · 1 comment ·
Maintainers usually reply within 1 day
-
feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
ClickHouse/clickhouse-operator#196 · 3 comments ·
Maintainers usually reply within 1 day
All issues in ClickHouse/clickhouse-operator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
hyperledger/fabric-x-orderer#1409 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
needs-area
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/typespec-azure#5936 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Fix mode unpins a reusable workflow call when the same repository is also used as a step actionOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
github/gh-actions-lock#261 ·
Maintainers usually reply within 1 day