clickhouse
A Helm chart for ClickHouse
- https://github.com/pascaliske/helm-charts
- https://github.com/clickhouse/clickhouse
- https://clickhouse.com
Requirements
Usage
To use this chart add the repo as follows:
If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.
To install this chart simply run the following command:
To uninstall this chart simply run the following command:
Values
The following values can be used to adjust the helm chart.
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} |
Pod-level affinity. More info here. |
| configMap.annotations | object | {} |
Additional annotations for the config map object. |
| configMap.create | bool | true |
Create a new config map object. |
| configMap.existingConfigMap | string | "" |
Use an existing config map object. |
| configMap.files | object | {} |
Map of configuration files as strings. |
| configMap.labels | object | {} |
Additional labels for the config map object. |
| configMap.mountPath | string | "/etc/config" |
Mount path of the config map object. |
| controller.annotations | object | {} |
Additional annotations for the controller object. |
| controller.enabled | bool | true |
Create a workload for this chart. |
| controller.kind | string | "StatefulSet" |
Type of the workload object. |
| controller.labels | object | {} |
Additional labels for the controller object. |
| controller.replicas | int | 1 |
The number of replicas. |
| env[0] | object | {"name":"TZ","value":"UTC"} |
Timezone for the container. |
| extraArgs | list | [] |
List of extra arguments for the container. |
| fullnameOverride | string | "" |
|
| image.pullPolicy | string | "IfNotPresent" |
The pull policy for the controller. |
| image.repository | string | "clickhouse/clickhouse-server" |
The repository to pull the image from. |
| image.tag | string | .Chart.AppVersion |
The docker tag, if left empty chart's appVersion will be used. |
| nameOverride | string | "" |
|
| persistentVolumeClaim.accessMode | string | "ReadWriteOnce" |
Access mode of the persistent volume claim object. |
| persistentVolumeClaim.annotations | object | {} |
Additional annotations for the persistent volume claim object. |
| persistentVolumeClaim.create | bool | true |
Create a new persistent volume claim object. |
| persistentVolumeClaim.existingPersistentVolumeClaim | string | "" |
Use an existing persistent volume claim object. |
| persistentVolumeClaim.labels | object | {} |
Additional labels for the persistent volume claim object. |
| persistentVolumeClaim.mountPath | string | "/var/lib/clickhouse" |
Mount path of the persistent volume claim object. |
| persistentVolumeClaim.size | string | "1Gi" |
Storage request size for the persistent volume claim object. |
| persistentVolumeClaim.storageClassName | string | "" |
Storage class name for the persistent volume claim object. |
| persistentVolumeClaim.volumeMode | string | "Filesystem" |
Volume mode of the persistent volume claim object. |
| ports.rest.enabled | bool | true |
Enable the port inside the Controller and Service objects. |
| ports.rest.nodePort | string | nil |
The external port used if .service.type == NodePort. |
| ports.rest.port | int | 8123 |
The port used as internal port and cluster-wide port if .service.type == ClusterIP. |
| ports.rest.protocol | string | "TCP" |
The protocol used for the service. |
| ports.rpc.enabled | bool | true |
Enable the port inside the Controller and Service objects. |
| ports.rpc.nodePort | string | nil |
The external port used if .service.type == NodePort. |
| ports.rpc.port | int | 9000 |
The port used as internal port and cluster-wide port if .service.type == ClusterIP. |
| ports.rpc.protocol | string | "TCP" |
The protocol used for the service. |
| resources | object | {} |
Compute resources used by the container. More info here. |
| securityContext | object | {} |
Pod-level security attributes. More info here. |
| service.annotations | object | {} |
Additional annotations for the service object. |
| service.clusterIP | string | "" |
ClusterIP used if service type is ClusterIP. |
| service.enabled | bool | true |
Create a service for exposing this chart. |
| service.labels | object | {} |
Additional labels for the service object. |
| service.loadBalancerIP | string | "" |
LoadBalancerIP if service type is LoadBalancer. |
| service.loadBalancerSourceRanges | list | [] |
Allowed addresses when service type is LoadBalancer. |
| service.type | string | "ClusterIP" |
The service type used. |
| serviceAccount.name | string | "" |
Specify the service account used for the controller. |
| tolerations | list | [] |
Pod-level tolerations. More info here. |
Maintainers
| Name | Url | |
|---|---|---|
| pascaliske | info@pascaliske.dev | https://pascaliske.dev |
License
MIT – © 2024 Pascal Iske