Coder Social home page Coder Social logo

clickhouse-helm's Introduction

ClickHouse Helm Chart

Fully functioning replicated ClickHouse environment. CLI, Graphite and Tabix UI included. By default there are 2 replicas.

It's also important to create replicated tables correctly, you may check sample schema in sample-schema.sql, which you have to execute on each node (CREATE queries are not replicated in ClickHouse).

Run

helm install -f ./clickhouse/values.yaml --name ch --namespace=default ./clickhouse

Client

Works if client.enabled is true.

Log into container:

kubectl exec -it $(kubectl get pod -l app=clickhouse-client -o jsonpath="{.items[0].metadata.name}") -- /bin/bash

Connect to CH node:

/usr/bin/clickhouse-client --host clickhouse-0.clickhouse

Tabix UI

Works if tabix.enabled is true.

This chart includes tabix.io as UI if you need it.

If LB is eanbled it will be running on localhost:8088

  • name: dev
  • host:port: http://localhost:8123
  • login: reader
  • password: gFzFTUQ9
  • Enable HTTP Base Auth

Monitoring with Graphite

Works when graphite.enabled is true.

If LB is eanbled it will be running on http://localhost:8080/dashboard

Users

  • writer / 2c82mirS
  • reader / gFzFTUQ9

Build Docker image

docker build -t clickhouse-server ./clickhouse/docker

Purge

helm del --purge ch

Don't forget to delete ClickHouse and Zookeeper PVCs.

clickhouse-helm's People

Contributors

plutov avatar acaird avatar zerkms avatar teabolt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.