Fast analytics with ClickHouse,
from the first test to the replicated cluster.
Six common scenarios, from the first installation to shards and replicas. Each one covers: what the chart already provides, what changes in the cluster, the values file commented line by line, and a step-by-step with verification.
The tdp-clickhouse chart starts a ClickHouse cluster declared in a ClickHouseInstallation resource, which the Altinity operator from the tdp-operator chart turns into pods, persistent volumes and an internal Service for the HTTP interface and native protocol. Cluster size, access and security are your choices, and each scenario below covers one of them. For the architecture, see ClickHouse - Concepts.
Your environment
If you fill in your environment details here, this page's examples and commands use the values you provided. The namespace, the release name and the values file are your choices, not the chart's.
Scenarios
- 1 · First contact
- 2 · Disk, CPU and memory
- 3 · Shards and replicas
- 4 · Publish at a URL
- 5 · Secure access
- 6 · S3 and consumers
Check prerequisites, install with chart defaults and open the Play UI from your machine.
You want to see ClickHouse working before deciding on size, access or security. TDP's ClickHouse depends on an Altinity operator that runs once in the cluster, installed by the tdp-operator chart, and the ClickHouseInstallation CRD from the tdp-crds chart. With these ready and the registry pull Secret in the namespace, install the chart without a values file, check that the cluster is up and open the Play UI from your machine. Everything shown here is what the chart provides on its own. The other scenarios start from this state.
The tdp-registry pull Secret in the release namespace, with your TDP registry credentials. Create it before installing.
A ClickHouseInstallation in the chart's default topology, with one persistent volume per pod in the cluster's default StorageClass.
Altinity from tdp-operator, once per cluster. This chart's embedded operator (operator.enabled) is disabled by default. Enable it only for an isolated installation, without tdp-operator in the cluster.
tdp-clickhouse itself or a name that contains it. The ClickHouseInstallation receives the release name, and the Service expected by the Ingress, installation notes and grants Job, clickhouse-<RELEASE_NAME>, then matches the one the operator creates.
The administrator, with the temporary password ChangeMe!T3c, the same default password as the TDP charts. Only accepts connections from inside the pod.
Internal clickhouse-<RELEASE_NAME> Service, with the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. No Ingress or Gateway API.
Enabled (cleanup.enabled): when the release is removed, a Job deletes the ClickHouseInstallation and its StatefulSets, pods and Services. Data volumes remain in the cluster, and a new installation with the same release name finds the old databases.
What starts with the chart defaults
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. Chart default:
no external exposure.
Check the TDP license
The chart requires a valid TDP license installed in the cluster.
kubectl get platformlicenses -A
Success when
Check the Altinity operator
The operator comes from the operators chart, installed once per cluster, after the CRDs chart.
kubectl -n <OPERATOR_NAMESPACE> get pods -l app.kubernetes.io/name=altinity-clickhouse-operator
Success when
If the cluster has an older ClickHouse installation
ClickHouse releases installed before release 3.0.2 include the embedded operator, and installing tdp-operator alongside them fails. First follow the ClickHouse operator migration.
Create the pull Secret in the namespace
The tdp-registry Secret must exist in the release namespace before installation.
kubectl -n <NAMESPACE> create secret docker-registry tdp-registry \
--docker-server=registry.tecnisys.com.br \
--docker-username=<REGISTRY_USERNAME> --docker-password=<REGISTRY_CLI_SECRET>
Success when
kubectl -n <NAMESPACE> get secret tdp-registry. Registry credentials are in Prerequisites.If the namespace does not exist yet
Create the namespace before the Secret:
kubectl create namespace <NAMESPACE>
Install with defaults
Without a values file, the chart starts exactly as in the figure above.
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-clickhouse \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace
Without --version, Helm installs the latest published chart version. With it, Helm installs the indicated version, the one for this documentation.
Success when
kubectl -n <NAMESPACE> get chi,pods,svc -l clickhouse.altinity.com/chi
The ClickHouseInstallation appears with the release name, the pod reaches Running and the clickhouse-<RELEASE_NAME> Service exists.
If the pod does not start
The namespace events, in time order, show the reason:
kubectl -n <NAMESPACE> get events --sort-by=.lastTimestamp
Then look up the message in When something goes wrong.
Connect as administrator
clickhouse-client runs inside the pod, where the default user is accepted.
kubectl -n <NAMESPACE> exec -it chi-<RELEASE_NAME>-<RELEASE_NAME>-0-0-0 -- clickhouse-client --password '<PASSWORD>'
Success when
clickhouse-client prompt opens with the password from clickhouse.defaultUser.password, the temporary ChangeMe!T3c by default, or the one stored in the Secret indicated in clickhouse.defaultUser.password_secret_name. The pod name above applies to a release with the recommended name; kubectl -n <NAMESPACE> get pods -l clickhouse.altinity.com/chi shows the actual name.Before using the cluster for anything beyond testing, set your own password: scenario 1 of Security - ClickHouse.
Open the Play UI from your machine
Without external exposure, kubectl opens a tunnel from your machine to the Service's HTTP interface.
kubectl -n <NAMESPACE> port-forward svc/clickhouse-<RELEASE_NAME> 8123:8123
Success when
With port-forward active, the Play UI and Dashboard open in the browser at these addresses:
http://127.0.0.1:8123/play
http://127.0.0.1:8123/dashboard
From the command line, the query below returns 1:
curl -u 'default:<PASSWORD>' "http://localhost:8123/?query=SELECT%201"
For clickhouse-client on your machine, the tunnel goes to the native protocol port:
kubectl -n <NAMESPACE> port-forward svc/clickhouse-<RELEASE_NAME> 9000:9000
Note the application address
This is the address clients in other pods configure.
Inside the cluster, applications use the Service, with the chosen interface's port and a user that accepts connections from any host, such as tdpuser (scenario 3 of Security - ClickHouse):
# HTTP
clickhouse-<RELEASE_NAME>.<NAMESPACE>.svc.cluster.local:8123
# Native
clickhouse-<RELEASE_NAME>.<NAMESPACE>.svc.cluster.local:9000
How much disk each pod receives and how much CPU and memory the cluster reserves.
Each ClickHouse pod stores its data in its own volume and runs with the CPU and memory that Kubernetes reserves for it. Sizing ClickHouse means adjusting those pods: how much disk each one receives, and from which StorageClass, and how much CPU and memory the Kubernetes scheduler reserves for each one and how far it can grow. The number of pods, in shards and replicas, is covered in scenario 3.
ClickHouse will receive real data.
The chart already handles disk on its own: persistence is enabled, with one volume per pod sized by clickhouse.persistence.size, in the cluster's default StorageClass as long as clickhouse.persistence.storageClass stays empty. CPU and memory come with the chart's default requests and limits, in clickhouse.resources, and stay fixed: when the load grows, you adjust them. Both are in the clickhouse block, under the chart prefix in the values file.
Persistence enabled (clickhouse.persistence.enabled), one volume per pod sized by clickhouse.persistence.size. An empty clickhouse.persistence.storageClass uses the cluster's default StorageClass.
Requests in clickhouse.resources.requests and limits in clickhouse.resources.limits (values in All parameters).
The ClickHouse pods and their volumes
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. Chart default:
no external exposure.
The values file
The block with chart defaults, explained line by line. Copy only what you will change to your file.
1tdp-clickhouse:2clickhouse:3 persistence:4 enabled: true5 size: 5Gi6 storageClass: ""7 accessModes: ["ReadWriteOnce"]8 resources:9 requests:10 cpu: "1"11 memory: "2Gi"12 limits:13 cpu: "2"14 memory: "4Gi"
ClickHouse keys live under the chart name.
- Chart prefix (linha 1). ClickHouse keys live under the chart name.
- Persistence (linha 4). Enables the pods' persistent volumes.
- Size (linha 5). Each pod's volume size.
- StorageClass (linha 6). When empty, uses the cluster's default StorageClass. Specify another by name if needed.
- Access modes (linha 7). Volume access modes.
- Requests (linha 9). CPU and memory that the scheduler reserves for each pod.
- Limits (linha 12). How far each pod can grow in CPU and memory.
The chart's values.yaml includes a commented Portworx StorageClass example. Uncomment and adjust it only if you use Portworx:
tdp-clickhouse:
clickhouse:
persistence:
enabled: true
size: 10Gi
storageClass: "px-db"
accessModes: ["ReadWriteOnce"]
annotations:
portworx.io/repl: "3"
portworx.io/io_priority: "high"
portworx.io/snapshot: "true"
portworx.io/block_size: "64"
Write the values file
Only the keys that change. The rest still comes from the chart.
If you already have a ClickHouse values file, add the keys to it.
Apply to the release
The same command installs and upgrades.
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-clickhouse \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
Success when
kubectl -n <NAMESPACE> get pvc
kubectl -n <NAMESPACE> get pods -l clickhouse.altinity.com/chi
The PVC becomes Bound and the pod reaches Running.
If the pod stays Pending
Missing StorageClass or volume capacity. See When something goes wrong.
Split data between pods and keep copies, with ClickHouse Keeper.
A single pod stores all data and, if it fails, ClickHouse goes down. The chart lets you split data into shards, each in a pod, and keep replicas of each shard. With more than one replica, ClickHouse Keeper coordinates replication, required by replicated tables (ReplicatedMergeTree). You decide how many shards and replicas, whether two pods can share a node, and enable Keeper.
The chart's default topology, in clickhouse.shardsCount and clickhouse.replicasCount (values in All parameters).
Disabled (keeper.enabled). With more than one replica per shard, the chart refuses to render without it.
Disabled (clickhouse.antiAffinity). When enabled, prevents two ClickHouse pods from running on the same node.
The shards, the replicas and the Keeper
Cluster topology
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. Chart default:
no external exposure.
Cluster topology: One shard, one replica (default)
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. Chart default:
no external exposure.
Cluster topology: Shards and replicas, with Keeper
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Anti-affinity. When enabled, prevents two ClickHouse pods from running on the same node. Chart default:
off. (clickhouse.antiAffinity) - ClickHouse Keeper. Coordinates replication between replicas, required by replicated tables. With more than one replica per shard, the chart refuses to render without Keeper. The Keeper pod count is in keeper.replicaCount: an odd number that must not change after the initial deployment. Chart default:
off. (keeper.enabled · keeper.replicaCount) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. Chart default:
no external exposure.
One shard, one replica, the default. There is nothing to add to the values file. One shard, one replica: Best suited when it is acceptable for ClickHouse to be down if the single pod fails. This is the default mode.
Shards and replicas, with Keeper. The example below sets up two shards with two replicas each, four ClickHouse pods, and a Keeper. Topology keys are in the clickhouse block. Keeper is in the keeper block alongside it. Shards and replicas, with Keeper: Best suited when ClickHouse must stay up if a pod fails, with replicated tables.
1tdp-clickhouse:2clickhouse:3 shardsCount: 24 replicasCount: 25 antiAffinity: false6keeper:7 enabled: true8 replicaCount: 19 image: registry.tecnisys.com.br/community/images/clickhouse/clickhouse-keeper10 tag: "25.8.11.66"11 localStorage:12 size: 5Gi13 storageClass: ""
How many parts the data is split into.
- Shards (linha 3). How many parts the data is split into.
- Replicas (linha 4). Copies of each shard. More than one requires Keeper.
- Anti-affinity (linha 5). true prevents two ClickHouse pods from running on the same node.
- Keeper (linha 7). Enables ClickHouse Keeper, which coordinates replication.
- Keeper pods (linha 8). Use an odd number and do not change it after the initial deployment.
- Image (linha 9). The Keeper image in the Tecnisys registry.
- Keeper volume (linha 12). Each Keeper pod's volume size. An empty storageClass uses the cluster default.
Apply to the release
The operator creates the shard, replica and Keeper pods.
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-clickhouse \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
Success when
kubectl -n <NAMESPACE> get chi,chk
kubectl -n <NAMESPACE> get pods
The ClickHouseInstallation and ClickHouseKeeperInstallation appear, and the ClickHouse pods, one per replica of each shard, and Keeper pods reach Running.
If rendering fails
With more than one replica and Keeper disabled, the chart refuses to render. See When something goes wrong.
Replace the port-forward with a fixed address, through Ingress or Gateway API.
So far, the Play UI, Dashboard and HTTP interface are only reachable through port-forward, a tunnel each person opens from their own machine with kubectl. For a fixed address, the HTTP interface must be published outside the cluster. The chart does this in two ways, and only one can be enabled: through Ingress, which the OpenShift router publishes as a Route, or Gateway API, where an HTTPRoute forwards the hostname to the Service. Neither is enabled by default. The native protocol goes through neither: for it, use port-forward or a LoadBalancer or NodePort Service.
None. Ingress and Gateway API disabled in TDP-Settings.gateway. The Service is internal.
Requests arriving through an Ingress or Gateway are not local, and the default user rejects them. Log in with tdpuser or another user that accepts any host: scenario 4 of Security - ClickHouse.
With Ingress, the chart creates an Ingress with your hostname. During verification, point the hostname to the Ingress controller's external IP. With port-forward or Gateway API, this choice changes nothing.
With Ingress, the OpenShift router publishes the chart's Ingress as a Route, and the resource appears as Route in the figure. During verification, check the address with kubectl -n <NAMESPACE> get route. The hostname usually follows the clickhouse-<NAMESPACE>.apps.<CLUSTER_DOMAIN> format. With port-forward or Gateway API, this choice changes nothing.
How the team reaches the HTTP interface
How the HTTP interface is reached
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. Chart default:
no external exposure.
How the HTTP interface is reached: port-forward (default)
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Without external exposure, each person opens a tunnel from their own machine to the Service with kubectl port-forward. Chart default:
no external exposure.
How the HTTP interface is reached: Ingress
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Connect through a fixed hostname, published by the Ingress, with a user that accepts any host, such as tdpuser. Chart default:
no external exposure. - Ingress. The Ingress publishes the Service's HTTP interface at a hostname through the cluster's Ingress controller. Chart default:
off. (TDP-Settings.gateway.ingress.enabled)
How the HTTP interface is reached: Gateway API
- Applications and tools. Clients in other pods, such as Trino, Superset and CloudBeaver, connect through the Service, with a user that accepts connections from any host: tdpuser or a user you create. The default user only accepts connections from inside the pod. Chart default:
tdpuser off. (clickhouse.tdpUser.enabled) - ClickHouse Service. Created by the operator, with a name derived from the release: clickhouse-<RELEASE_NAME>. Serves the HTTP interface, which also serves the Play UI and Dashboard, and the native protocol. The chart's Ingress, HTTPRoute and grants Job expect this name, so the release name must contain the chart name.
- ClickHouseInstallation. The resource where the chart declares the cluster. The operator creates pods, the Service and volumes from it. Chart default:
on. (clickhouse.enabled) - ClickHouse pods. One pod per replica of each shard. Counts are in clickhouse.shardsCount and clickhouse.replicasCount; CPU and memory in clickhouse.resources. Chart default:
one shard, one replica. (clickhouse.shardsCount · clickhouse.replicasCount) - Data volumes. Each pod writes to a persistent volume, sized by clickhouse.persistence.size, in the cluster's default StorageClass or the one defined in clickhouse.persistence.storageClass. Chart cleanup preserves volumes, and they remain in the cluster after helm uninstall. Chart default:
persistence enabled. (clickhouse.persistence) - Default user password. The chart stores the default user's password in this Secret, from clickhouse.defaultUser.password, unless clickhouse.defaultUser.password_secret_name points to your own Secret with the password key. Chart default:
temporary password ChangeMe!T3c. (clickhouse.defaultUser.password) - Altinity operator. A single operator per cluster, installed by the tdp-operator chart, which reconciles ClickHouseInstallation resources in all namespaces. The operator embedded in this chart is disabled by default and only serves an isolated installation without tdp-operator in the cluster. The operator's own configuration is in tdp-operator. Chart default:
embedded operator off. (operator.enabled) - Play UI and Dashboard. Connect through a fixed hostname, published by the Gateway + HTTPRoute, with a user that accepts any host, such as tdpuser. Chart default:
no external exposure. - Gateway + HTTPRoute. The chart creates an HTTPRoute that forwards the hostname to the Service's HTTP interface. In the example, it also creates the Gateway itself. To use an existing Gateway, leave gatewayApi.gateway.enabled disabled and set gatewayApi.parentRefs. Chart default:
off. (TDP-Settings.gateway.gatewayApi.enabled)
port-forward. Nothing is created in the cluster. kubectl connects a port on your machine to the Service port while the command is running, as in scenario 1. For a team, choose Ingress or Gateway API above. The steps below apply only to Ingress and Gateway API. port-forward: Best suited when access is for testing and maintenance, or for the native protocol. This is the default mode.
Ingress. The chart creates an Ingress with your cluster's hostname and class, pointing to the Service's HTTP interface. On OpenShift, the router publishes the Ingress as a Route. The block goes at the values file root. Ingress: Best suited when the cluster already has an Ingress controller, or is an OpenShift.
1ingress:2ingressClassName: <INGRESS_CLASS>3annotations: {}4hosts:5 - host: <CLICKHOUSE_HOSTNAME>6 paths:7 - path: /8 pathType: Prefix9tls: []1011TDP-Settings:12gateway:13 ingress:14 enabled: true15 gatewayApi:16 enabled: false
The Ingress controller class in your cluster, such as nginx or openshift-default.
- Ingress class (linha 2). The Ingress controller class in your cluster, such as nginx or openshift-default.
- Hostname (linha 5). On Kubernetes, something like clickhouse.tdp.local. On OpenShift, clickhouse-<NAMESPACE>.apps.<CLUSTER_DOMAIN>.
- TLS (linha 9). With entries in tls, the Play UI and Dashboard addresses become https.
- TDP-Settings (linha 11). This is where the chart decides to render the Ingress.
- Mutually exclusive (linha 15). Ingress and Gateway API cannot be on at the same time.
Gateway API. The chart creates an HTTPRoute that forwards the hostname to the Service's HTTP interface. In the example, the chart also creates the Gateway itself, with the provided class and listener. To connect to an existing Gateway, keep gatewayApi.gateway.enabled: false and provide only gatewayApi.parentRefs. For HTTPS, TLS terminates at the Gateway listener. HTTPRoute has no TLS configuration. Gateway API: Best suited when the cluster uses the Gateway API, with a Gateway controller and its GatewayClass.
1gatewayApi:2gatewayClassName: <GATEWAY_CLASS>3gateway:4 enabled: true5 name: <GATEWAY_NAME>6 listeners:7 - name: web8 port: 80009 protocol: HTTP10 hostname: <CLICKHOUSE_HOSTNAME>11parentRefs:12 - name: <GATEWAY_NAME>13clickhouse:14 enabled: true15 hostnames:16 - <CLICKHOUSE_HOSTNAME>17 rules:18 - matches:19 - path:20 type: PathPrefix21 value: /22 backendRefs:23 - name: ""24 port: 81232526TDP-Settings:27gateway:28 ingress:29 enabled: false30 gatewayApi:31 enabled: true
Your cluster controller's GatewayClass. Only used when the chart creates the Gateway itself.
- Gateway class (linha 2). Your cluster controller's GatewayClass. Only used when the chart creates the Gateway itself.
- Chart Gateway (linha 3). Only needed when the chart must create the Gateway. To use an existing Gateway, leave enabled: false and point parentRefs to it.
- Listener (linha 6). Where the Gateway receives traffic. For HTTPS, TLS terminates here.
- parentRefs (linha 11). The Gateway to which the HTTPRoute connects.
- backendRefs (linha 23). With an empty name, the chart uses the clickhouse-<RELEASE_NAME> Service, on the HTTP interface port.
- TDP-Settings (linha 26). Turns on the HTTPRoute and turns off the Ingress.
Ensure a user that accepts any host
default rejects requests arriving through the URL.
The simplest option is to enable tdpuser, which accepts connections from any host, in the same values file:
1tdp-clickhouse:2clickhouse:3 tdpUser:4 enabled: true5 password: "<PASSWORD>"
The chart creates the password Secret and a Job that creates the user with all privileges.
- Enables tdpuser (linha 4). The chart creates the password Secret and a Job that creates the user with all privileges.
- Password (linha 5). Set your own in a private values file. If empty, rendering fails.
For a user with fewer privileges, create your own as in scenario 3 of Security - ClickHouse.
Add the block to the values file
Replace class, hostname and Gateway placeholders with your cluster's values.
The exposure block goes at the values file root, outside the chart prefix. The complete file has the block from step 1 and the block for the access method chosen above:
With port-forward there is no block to add: nothing is created in the cluster.
tdp-clickhouse: # chart prefix
clickhouse:
tdpUser: # block from step 1
...
ingress: # ClickHouse Ingress block, above, at the root
...
TDP-Settings: # comes with the block above
gateway:
...
tdp-clickhouse: # chart prefix
clickhouse:
tdpUser: # block from step 1
...
gatewayApi: # ClickHouse Gateway API block, above, at the root
...
TDP-Settings: # comes with the block above
gateway:
...
Apply to the release
The Ingress or HTTPRoute is created in the ClickHouse namespace.
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-clickhouse \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
With Gateway API, add --timeout 10m to the command.
Success when
The Play UI opens at http://<CLICKHOUSE_HOSTNAME>/play and the Dashboard at http://<CLICKHOUSE_HOSTNAME>/dashboard. The hostname must resolve to the Ingress controller or Gateway IP, which comes from the controller's LoadBalancer Service. For testing, add it to /etc/hosts:
echo "<CONTROLLER_IP> <CLICKHOUSE_HOSTNAME>" | sudo tee -a /etc/hosts
The Route lists the published hostname, and the Play UI opens at /play and the Dashboard at /dashboard on that hostname:
kubectl -n <NAMESPACE> get route
The hostname must resolve to the Gateway IP, which comes from the Gateway controller's LoadBalancer Service.
Initial credentials, login through LDAP or Active Directory, and application user.
By default, the only user is default, the administrator, with a temporary password and accepted only from inside the pod. Securing access involves three areas: set the administrator password during installation; give applications their own user, which accepts connections from other pods; and, optionally, validate people against the company's LDAP or Active Directory.
The default user, temporary password in clickhouse.defaultUser.password, accepted only from inside the pod.
No dedicated user: tdpuser is disabled by default (clickhouse.tdpUser.enabled).
LDAP disabled. Enable it with clickhouse.extraConfig.
The values file for this action is in Initial credentials. Build yours from it and apply it with the procedure below.
Apply to the release
The same command installs and upgrades.
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-clickhouse \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
Connect with the new password
clickhouse-client runs inside the pod, where the default user is accepted.
kubectl -n <NAMESPACE> exec -it chi-<RELEASE_NAME>-<RELEASE_NAME>-0-0-0 -- clickhouse-client --password '<PASSWORD>'
Success when
clickhouse-client prompt opens with the password you set. The pod name above applies to a release with the recommended name; kubectl -n <NAMESPACE> get pods -l clickhouse.altinity.com/chi shows the actual name.The other areas, with the complete files explained line by line, are in Security - ClickHouse: the password in your own Secret in scenario 1, LDAP or Active Directory in scenario 2, tdpuser and application users in scenario 3, and login through the published URL in scenario 4.
Data in an S3 bucket and the address other components use.
ClickHouse data is stored on the pods' volumes by default. The chart can also prepare an S3 bucket, and ClickHouse can write to it through a storage policy declared in the values file. Both are disabled by default. At the other end, platform components that query ClickHouse, such as Trino, Superset, CloudBeaver and OpenMetadata, configure the Service address in their own charts.
Bucket Job disabled (TDP-Settings.s3Connection.enabled) and no S3 policy in clickhouse.extraConfig.
They use clickhouse-<RELEASE_NAME>.<NAMESPACE>.svc.cluster.local, with the interface port and a user that accepts connections from other pods.
Consumers use the Service address, shown in the last step of scenario 1, with a user that accepts connections from other pods, such as the tdpuser from scenario 5.
The values file for this action is in S3 storage. Build yours from it and apply it with the procedure below.
Apply to the release
The bucket Job runs before the install or upgrade.
helm upgrade --install <RELEASE_NAME> \
oci://registry.tecnisys.com.br/tdp/charts/tdp-clickhouse \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
Success when
helm stops with a hook error.Check the Service that consumers use
This is the address that Trino, Superset and the other components configure.
kubectl -n <NAMESPACE> get svc clickhouse-<RELEASE_NAME>
Success when
The storage policy, which sends the tables to the bucket, and the configuration of each consumer are in Integrations - ClickHouse: S3 in scenario 2, and Trino, Superset, CloudBeaver, OpenMetadata and Airflow in scenarios 3 to 7.
When something goes wrong
Troubleshooting
Paste the error message or choose the symptom. The answer comes with the cause, what to do and the command.
- Installation refused: license check failed. Cause: The TDP license is missing or invalid in the cluster. What to do: Check the license with the command below. If it is not VALID, install or renew it (License Configuration) and repeat the installation.
- Pods in ImagePullBackOff or ErrImagePull. Cause: The tdp-registry pull Secret is missing from the release namespace, or its credentials are invalid: images from the Tecnisys registry require login. What to do: Create the tdp-registry Secret in the release namespace with your registry credentials (scenario 1, First contact), and repeat the installation.
- The ClickHouseInstallation resource is not recognized. Cause: The ClickHouseInstallation CRD must be registered in the cluster before helm install of this chart. What to do: Install the CRDs chart and run the ClickHouse helm upgrade --install again.
- The ClickHouseInstallation exists, but no pods appear. Cause: No Altinity operator in the cluster: without it, the ClickHouseInstallation is not reconciled and pods are not created. What to do: Install tdp-operator, once per cluster, in the <OPERATOR_NAMESPACE> namespace.
- Rendering error: When 'clickhouse.replicasCount' > 1 .... Cause: More than one replica per shard requires ClickHouse Keeper. What to do: Enable keeper.enabled in the same values file, as in scenario 3.
- Rendering error: tdpUser.password is required. Cause: The tdpuser is enabled with an empty password. What to do: Set clickhouse.tdpUser.password in a private values file.
- Pods in Pending. Cause: There is no default StorageClass in the cluster, or the one defined in clickhouse.persistence.storageClass does not exist or has no capacity. What to do: Check the StorageClass and namespace PVCs.
- Login through the URL fails: AUTHENTICATION_FAILED. Cause: Requests arriving through an Ingress or Gateway are not local, and the default user only accepts connections from inside the pod. What to do: Log in with tdpuser or another user that accepts any host. See scenario 4 of Security - ClickHouse.
- The native client cannot connect through the published URL. Cause: The native protocol does not go through Ingress or Gateway API: only the HTTP interface is published. What to do: For the native protocol, use port-forward or a LoadBalancer or NodePort Service.
- Grants Job fails: Timeout waiting for ready endpoints. Cause: The Job looks for the clickhouse-<RELEASE_NAME> Service and cannot find a ready pod behind it: the pods have not started yet, or the release name does not contain the chart name and the Service created by the operator has another name. What to do: Check the real names of the ClickHouseInstallation, the pods, and the Service, and the Job logs while it exists.
- After reinstalling, the old databases are still there. Cause: helm uninstall keeps the data volumes, and a new installation with the same release name finds them again. What to do: To start from scratch, delete the data PVCs after uninstalling. This permanently deletes the ClickHouse data.
- Another problem. Cause: Start with the ClickHouseInstallation and pod status, and the operator and ClickHouse logs. What to do: The operator runs in the namespace of tdp-operator. ClickHouse pods carry the ClickHouseInstallation label.
What remains after uninstalling
To uninstall, run helm -n <NAMESPACE> uninstall <RELEASE_NAME>. Before removal, the cleanup Job deletes the ClickHouseInstallation and its associated StatefulSets, pods and Services. The operator Deployment is untouched. Data volumes remain in the cluster, and a new installation with the same release name finds the old databases. There is one data PVC per ClickHouse pod, with a name derived from the release. The command below shows the first pod's PVC for a release with the recommended name. To start from scratch, delete them after uninstalling, which permanently deletes the ClickHouse data:
kubectl -n <NAMESPACE> get pvc # lists data PVCs (and <RELEASE_NAME>-logs-chi-..., with persistence.logs.enabled)
kubectl -n <NAMESPACE> delete pvc <RELEASE_NAME>-data-chi-<RELEASE_NAME>-<RELEASE_NAME>-0-0-0
The removal order for all components and the platform is in Uninstallation.
Lists and XML blocks in the values file
clickhouse.extraUsers and clickhouse.extraConfig are each a single XML text block. When your values file defines one of them, Helm replaces the entire block with yours, without merging them. Therefore:
- The chart's
extraUsersalready includes the<profiles>block for thedefaultprofile. When defining your own, repeat that block, as in the examples in Security - ClickHouse. - If you need LDAP and S3 storage at the same time, both go in the same
extraConfig, inside a single<yandex>.
All parameters
Filter by name or group. The chart prefix is already filled in. Keys without a prefix are at the values file root.
38 of 38 parameters
| Parameter | Description | Chart default |
|---|---|---|
tdp-clickhouse.commonLabelsGeneral | Labels applied to resources created by the chart | tecnisys.io/cluster: tdp |
tdp-clickhouse.clickhouse.enabledGeneral | Deploys the ClickHouse cluster | true |
tdp-clickhouse.operator.enabledGeneral | Embedded Altinity operator (isolated installation only, without the operators chart) | false |
tdp-clickhouse.cleanup.enabledGeneral | Cleanup Job before release removal | true |
tdp-clickhouse.clickhouse.image.repositoryImage | ClickHouse image repository | registry.tecnisys.com.br/community/images/clickhouse/clickhouse-server |
tdp-clickhouse.clickhouse.image.tagImage | ClickHouse image tag | 25.8.11.66 |
tdp-clickhouse.clickhouse.persistence.enabledStorage | Pods persistent volumes | true |
tdp-clickhouse.clickhouse.persistence.sizeStorage | Each pod's volume size | 5Gi |
tdp-clickhouse.clickhouse.persistence.storageClassStorage | StorageClass (empty uses the cluster default) | "" |
tdp-clickhouse.clickhouse.persistence.accessModesStorage | Volume access modes | ["ReadWriteOnce"] |
tdp-clickhouse.clickhouse.resources.requests.cpuResources | CPU reserved per pod | 1 |
tdp-clickhouse.clickhouse.resources.requests.memoryResources | Memory reserved per pod | 2Gi |
tdp-clickhouse.clickhouse.resources.limits.cpuResources | CPU limit per pod | 2 |
tdp-clickhouse.clickhouse.resources.limits.memoryResources | Memory limit per pod | 4Gi |
tdp-clickhouse.clickhouse.shardsCountTopology | Shard count | 1 |
tdp-clickhouse.clickhouse.replicasCountTopology | Replicas per shard (more than one requires Keeper) | 1 |
tdp-clickhouse.clickhouse.antiAffinityTopology | Prevents two ClickHouse pods on the same node | false |
tdp-clickhouse.keeper.enabledTopology | ClickHouse Keeper | false |
tdp-clickhouse.keeper.replicaCountTopology | Keeper pods: odd number, unchanged after initial deployment | 3 |
tdp-clickhouse.keeper.localStorage.sizeTopology | Each Keeper pod's volume | 5Gi |
tdp-clickhouse.clickhouse.defaultUser.passwordUsers | Temporary password of the default user (replace it) | ChangeMe!T3c |
tdp-clickhouse.clickhouse.defaultUser.password_secret_nameUsers | Your own Secret, with the password key, in place of defaultUser.password | "" |
tdp-clickhouse.clickhouse.tdpUser.enabledUsers | Creates the tdpuser (any host, full privileges) through a post-install Job | false |
tdp-clickhouse.clickhouse.tdpUser.passwordUsers | Temporary tdpuser password (replace it) | ChangeMe!T3c |
tdp-clickhouse.clickhouse.extraUsersUsers | Additional users and profiles (XML) | <profiles> block of the default profile |
tdp-clickhouse.clickhouse.extraConfigUsers | Additional server configuration (XML): LDAP, S3 storage | not defined |
TDP-Settings.s3Connection.enabledS3 | Job that creates the bucket | false |
TDP-Settings.s3Connection.bucketS3 | Bucket name | "" |
TDP-Settings.s3Connection.accessKeyS3 | S3 access key | "" |
TDP-Settings.s3Connection.secretKeyS3 | S3 secret key | "" |
TDP-Settings.s3Connection.uriS3 | URI of the S3 endpoint | "" |
TDP-Settings.s3Connection.selfSignedS3 | S3 endpoint with a self-signed certificate | false |
TDP-Settings.gateway.ingress.enabledExposure | Renders the Ingress | false |
TDP-Settings.gateway.gatewayApi.enabledExposure | Renders the HTTPRoute | false |
ingress.ingressClassNameExposure | Ingress class | "" |
ingress.hosts[0].hostExposure | Ingress hostname | clickhouse.tdp.local |
gatewayApi.gateway.enabledExposure | Creates its own Gateway (otherwise, uses gatewayApi.parentRefs) | false |
gatewayApi.clickhouse.hostnames[0]Exposure | HTTPRoute hostname | clickhouse.tdp.local |
For the complete list, see the chart's values.yaml or run helm show values for the installed version.
Next steps
Access
Security - ClickHouse
Initial credentials, login through LDAP or Active Directory, tdpuser and login through the URL.