Skip to main content

TDP Kubernetes

Prepare the cluster, install the components, and access the platform for the first time.

TDP Kubernetes is the edition of the TDP platform that runs on Kubernetes clusters. Each component is delivered as a Helm Chart, installed via Helm or Argo CD (GitOps). You define scale, high availability, and resources in the configuration of each component. The concepts behind this edition are in Kubernetes.

This guide shows how to deploy, configure, and access TDP Kubernetes.

Your environment

If you fill in your environment details here, the examples and commands below, shown on this page, use the data you provided. The namespace, the release name, and the values file are your choices, not the chart's. The base resources (CRDs, license, and operators) use the tdp-system namespace.

Before you start
  • Kubernetes cluster 1.32+, Red Hat OpenShift 4.19+, or Rancher 2.10.x+
  • kubectl installed and configured
  • Helm 3.2.0+
  • Access to the Tecnisys OCI registry (registry.tecnisys.com.br)
  • The TDP license files sent by Tecnisys

The complete list, including storage, networking, and supported platforms, is in Prerequisites.

Steps​

Choose the step:

Before starting the installation, make sure the Kubernetes cluster is configured and accessible. This step validates access to the cluster, creates a namespace for the TDP components, and configures access to the Tecnisys OCI registry, where the Helm Charts are hosted.

Check cluster access

kubectl reaches the Kubernetes cluster.

Run the command below to validate access to the Kubernetes cluster:

Terminal input
kubectl cluster-info

It worked when

The output shows information about the cluster, including the API server address.

Create the namespace for TDP

A namespace dedicated to the TDP components.

Create a dedicated namespace for the TDP components. The name is up to you: choose an identifier aligned with your namespace policy (for example tdp-homologacao, data-platform).

Terminal input
kubectl create namespace <NAMESPACE>

Check that the namespace exists:

Terminal input
kubectl get namespace <NAMESPACE>

It worked when

The namespace appears in the list with STATUS equal to Active.
$ kubectl get namespace tdp
NAME   STATUS   AGE
tdp    Active   173d
Example

The examples on this page install Apache Kafka, with tdp as the components namespace and the release named after the chart (tdp-kafka). The base charts (CRDs, license, and operators) stay in the tdp-system namespace.

Configure OCI registry access

Helm authenticated to the registry and the tdp-registry Secret in the namespace.

The TDP Kubernetes Helm Charts are hosted in the Tecnisys OCI registry. Configure Helm access with your credentials:

Terminal input
helm registry login registry.tecnisys.com.br \
--username <REGISTRY_USERNAME> \
--password <REGISTRY_CLI_SECRET>

It worked when

Helm confirms the registry login.
Login Succeeded

Each namespace that receives TDP components also needs the tdp-registry pull Secret, with the same credentials. Create it before installing the components:

Terminal input
kubectl -n <NAMESPACE> create secret docker-registry tdp-registry \
--docker-server=registry.tecnisys.com.br \
--docker-username=<REGISTRY_USERNAME> --docker-password=<REGISTRY_CLI_SECRET>
Terminal input
kubectl get secret tdp-registry -n <NAMESPACE>

It worked when

The Secret appears in the namespace.
$ kubectl get secret tdp-registry -n tdp
NAME           TYPE                             DATA   AGE
tdp-registry   kubernetes.io/dockerconfigjson   1      126d
note

Replace <REGISTRY_USERNAME> and <REGISTRY_CLI_SECRET> with the credentials provided by Tecnisys. Without the Secret, the pods stay in ImagePullBackOff. The GitOps kit's deploy.sh --license only creates the tdp-registry Secret in the license namespace (tdp-system). In the other namespaces, create it with the command above. More details in Prerequisites.

Main TDP Kubernetes components​

TDP Kubernetes has several components, organized in layers:

ComponentDescriptionHelm Chart
Platform CRDsCustom resources required by the componentstdp-crds
LicensingPlatform licensing subsystemtdp-license
OperatorsClickHouse and Kafka operatorstdp-operator
Apache KafkaEvent streamingtdp-kafka
Apache NiFiData flow orchestrationtdp-nifi
TrinoDistributed SQL query enginetdp-trino
Apache AirflowWorkflow orchestrationtdp-airflow
Apache SupersetVisualization and BItdp-superset
PostgreSQLRelational databasetdp-postgresql
ClickHouseOLAP databasetdp-clickhouse

When something goes wrong​

Troubleshooting

Describe the error or choose one of the known issues below.

  1. Pods do not start. Cause: The reason appears in the Pod logs and in the namespace events. What to do: Check the logs of the failing Pod and the namespace events.
  2. Registry authentication problems. Cause: The credentials in the tdp-registry pull Secret are not correct. What to do: Recreate the tdp-registry pull Secret with the correct credentials.
  3. Insufficient resources. Cause: The cluster or the component does not have enough resources. What to do: Check the resource usage in the cluster. Then adjust the resource limits in the values file and run an upgrade (command right below).

Adjust the resource limits in the values file and run an upgrade:

Terminal input
helm upgrade <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/<CHART_NAME> \
--version <CHART_VERSION> \
--namespace <NAMESPACE> \
-f <VALUES_FILE>

Next steps​

After completing the TDP Kubernetes installation, see:

For more information about the concepts and architecture of TDP Kubernetes, see TDP Kubernetes Architecture.