Skip to main content
Version 3.0

Spark Configuration

ChartVersion3.0.1TypeapplicationAppVersion4.0.2
CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+
Feature SupportS3supportedIngresssupportedGateway APIsupported

What is Apache Spark in TDP?

Apache Spark is the distributed processing engine used in TDP for data transformations, ETL pipelines, and batch workloads.
While Trino is focused on interactive SQL queries, Spark is better suited for long-running processing, complex transformations, and writing results back to distributed storage.

In TDP Kubernetes, Spark is usually consumed by clients such as Airflow and Jupyter.
Airflow schedules and triggers jobs, while Jupyter enables interactive use through notebooks.

To find out more

See Apache Spark - Concepts for a complete overview of the tool, its architecture, and operation.

Helm value structure

The tdp-spark chart is a wrapper around the upstream Spark chart. Values are distributed across two blocks:

  • spark: — upstream chart values: executor, driver, workers, images, sparkConf, sparkContext.
  • tdp-spark: — TDP wrapper values: hadoopConfig, customSparkConfig.properties, integrations (Jupyter, Airflow, Delta Lake, Iceberg), ServiceAccount.
spark:
worker:
replicaCount: 2

tdp-spark:
hadoopConfig:
"fs.defaultFS": "s3a://warehouse"

When in doubt about which block to use, refer to Main parameters or helm show values.

Master-worker architecture

The tdp-spark chart packages and configures an upstream Spark chart, adding TDP-specific configuration and integrations.
The deployment follows the standalone architecture with master and workers:

ComponentRole
MasterManages the Spark cluster, receives applications, and distributes work to workers
WorkersRun executors for Spark applications
History ServerProvides the execution history interface when enabled
TDP ConfigMapsRender core-site.xml, spark-defaults.conf, and integration configuration when enabled

The Spark master is the cluster submission endpoint, usually reached by clients as spark://<SPARK_MASTER_SERVICE>:7077.
External drivers, such as Airflow or Jupyter notebooks, must reach this endpoint to submit jobs.

Overview

PropertyValue
Charttdp-spark
Spark Version4.0.2
Chart Version3.0.1
Chart AppVersion4.0.2
Registryoci://registry.tecnisys.com.br/tdp/charts/tdp-spark

Prerequisites

Before installing or customizing the tdp-spark chart, confirm:

  • Kubernetes 1.32+, Red Hat OpenShift 4.19+, or Rancher Manager 2.10.x+.
  • Helm 3.2.0+.
  • A StorageClass available for persistent volumes.
  • Tecnisys OCI registry reachable from the installation environment.
  • When using S3/S3A: endpoint, credentials, bucket, and permissions available to Spark pods.
  • When using Jupyter or Airflow: connectivity from those clients to the Spark master service.

Installation

Example
helm install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-spark -n <NAMESPACE> --create-namespace

Adjust resources, replicas, and Spark settings through your values file or --set, according to the environment.
The chart is a wrapper: some parameters belong to the upstream spark block, and others belong to the TDP wrapper tdp-spark block.