Skip to content

Latest commit

 

History

History

clickhouse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

clickhouse

Version: 0.7.5 Type: application AppVersion: 24.10.3

Clickhouse chart for Kubernetes

Clickhouse is a fast open-source OLAP database management system.

Homepage: https://github.com/sergelogvinov/helm-charts

Maintainers

Name Email Url
sergelogvinov https://github.com/sergelogvinov

Source Code

Example:

# clickhouse.yaml

clickhouse:
  users:
    - name: reader
      profile: reader
      quota: default
      # echo -n "reader" | shasum -a 256
      password: 3d0941964aa3ebdcb00ccef58b1bb399f9f898465e9886d5aec7f31090a0fb30

ingress:
  enabled: true
  className: nginx
  hosts:
    - host: clickhouse.example.com
  tls:
    - secretName: clickhouse.example.com-tls
      hosts:
        - clickhouse.example.com

resources:
  limits:
    cpu: 2
    memory: 4Gi
  requests:
    cpu: 200m
    memory: 1Gi

persistence:
  enabled: true
  size: 10Gi

metrics:
  enabled: true

Values

Key Type Default Description
replicaCount int 1
image.repository string "clickhouse/clickhouse-server"
image.pullPolicy string "IfNotPresent"
image.tag string ""
imagePullSecrets list []
nameOverride string ""
fullnameOverride string ""
serviceAccount object {"annotations":{},"create":true,"name":""} Pods Service Account. ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
podlabels object {}
podAnnotations object {} Annotations for pod. ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podSecurityContext object {"fsGroup":999,"fsGroupChangePolicy":"OnRootMismatch","runAsGroup":999,"runAsNonRoot":true,"runAsUser":999} Pod Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
securityContext object {"allowPrivilegeEscalation":false,"capabilities":{"add":[],"drop":["ALL"]},"seccompProfile":{"type":"RuntimeDefault"}} Container Security Context. ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
service object {"ipFamilies":["IPv4"],"type":"ClusterIP"} Service parameters ref: https://kubernetes.io/docs/user-guide/services/
ingress object {"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":["/clickhouse"]}],"tls":[]} Clickhouse ingress parameters ref: http://kubernetes.io/docs/user-guide/ingress/
resources object {"requests":{"cpu":"500m","memory":"512Mi"}} Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/
persistence object {"accessModes":["ReadWriteOnce"],"annotations":{},"enabled":true,"size":"64Gi","storageClass":"local-path"} Persistence parameters ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
priorityClassName string nil Priority Class Name ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
updateStrategy object {"type":"RollingUpdate"} pod deployment update strategy type. ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment
nodeSelector object {} Node labels for pod assignment. ref: https://kubernetes.io/docs/user-guide/node-selection/
tolerations list [] Tolerations for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
affinity object {} Affinity for pod assignment. ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
metrics.enabled bool false
backup.enabled bool false
backup.image.repository string "altinity/clickhouse-backup"
backup.image.pullPolicy string "IfNotPresent"
backup.image.tag string "2.6.4"
backup.schedule string "15 4 * * *"
backup.args list []
backup.envs object {}
backup.config object {}
backup.resources object {"limits":{"cpu":"1200m","memory":"512Mi"},"requests":{"cpu":"500m","memory":"256Mi"}} Resource requests and limits. ref: https://kubernetes.io/docs/user-guide/compute-resources/
backup.priorityClassName string nil Priority Class Name ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
cronjobs object {}
tlsCerts.create bool false
files object {}
config string nil
storage object {}
clickhouse.logLevel string "information" Clickhouse log level ref: https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#logger trace, debug, information, warning, error
clickhouse.accessManagement bool false Clickhouse SQL-driven Access Control refs: https://clickhouse.com/docs/en/operations/access-rights
clickhouse.users[0] object {"name":"logger","password":"2686af9f25e1a64f5e9f7290c7e457aa06b616fb31d2b4331ff6fa0857661cd5","profile":"default","quota":"default"} Clickhouse read write user
clickhouse.users[1] object {"accessManagement":false,"name":"reader","password":"3d0941964aa3ebdcb00ccef58b1bb399f9f898465e9886d5aec7f31090a0fb30","profile":"reader","quota":"default"} Clickhouse read only user
clickhouse.collections list [] Clickhouse named collections
clickhouse.envs object {}