Comments (4)
Some clarification is needed. Would you like to add driver on every cluster's node? Why not to add driver on the client's side?
from clickhouse-operator.
@sunsingerus we need to have reciepe for that.
Most probably can be done as
A) install unixODBC package
B) install needed odbc driver via package/archive (we can pick one as a sample) - it can be postgres, Oracle, sql server etc.
C) register odbc DSN using a template provided by user and using odbcint tool
Check that
https://github.com/ClickHouse/ClickHouse/pull/9348/files#diff-62c528ac2c8fb7f5282ea76540fe63b6
(obviously instead of clickhouse odbc driver we need some other in sample, because clickhouse usually need to connect to some external sources via odbc, not to other clickhouse)
Similar - for jdbc.
from clickhouse-operator.
+1 for this..
Can you post some information on how to add the shared library for the ODBC driver and the odbc.ini file in the right spot so the ODBC table engine can pick it up?
Thanks!
from clickhouse-operator.
@a-dot you need custom image which contains required ODBC driver
look Docker file examples on https://gist.github.com/9f9449a722091a13a9069b79f8dc7da7
build and publish custom image with installed ODBC drivers
after that
look kubectl explain chi.spec.configuration.templates.podTemlates
and kubectl explain chi.spec.configuration.clusters.templates
, kubectl explain pod.spec.template.containers
and try to figure out how to create podTemplate with container with your custom image and link it to cluster pods inside kind: ClickHouseInstallation
resource
from clickhouse-operator.
Related Issues (20)
- how to solve clickhouse cluster aborted status? HOT 6
- when I have two replicas, I want to delete the first
- when I have two replicas, I want to delete the first replica, keep the second replica alive, how can i do? HOT 7
- ClickHouse pod update stuck when adjusting version or resource HOT 1
- [Question] How do I update the clickhouse-$INSTALLATION_NAME service to LoadBalancer from ClusterIP? HOT 5
- PVC request resize use size without SI suffix HOT 2
- Version update fails with authentication error HOT 6
- Change in user configuration leads to cluster restart HOT 6
- CHK example chk-examples/02-extended-3-nodes.yam doesn't work HOT 3
- Apply clickhouse-operator-install-bundle config changed,But the statefulset pods are not created with new config HOT 4
- Dashboard for ClickHouse Keeper HOT 1
- Intermittent errors: unable to decode an event from the watch stream: http2: client connection lost
- Restore selected single table HOT 8
- Configure volumeClaimTemplates.reclaimPolicy in clickhouse keeper
- Max Replica Delay after upgrade to 23.8 HOT 12
- ClickHouse disk type with first upper letter HOT 4
- The generated CRD yaml can't pass `kubeconform -ignore-missing-schemas -strict` HOT 1
- Operator hammers the Kubernetes api-server on Clickhouse Keeper resource
- Grant ROLE to user created with operator HOT 1
- Clickhouse operator Logs Security issue : Password hash data getting printed in logs HOT 1
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 clickhouse-operator.