spark-kubernetes-operator

by Apache Spark

Helm chartv1.9.0App 1.1.0Apache-2.0Verified publisher

The official Helm chart to deploy Apache Spark, an unified engine for large-scale data analytics

About this chart

Helm Chart for Apache Spark

Apache Spark™ is a unified analytics engine for large-scale data processing, and Apache Spark™ K8s Operator is a subproject of Apache Spark and aims to extend K8s resource manager to manage Apache Spark applications and clusters via Operator Pattern.

Introduction

This chart will bootstrap an Apache Spark K8s Operator deployment on a Kubernetes cluster using the Helm package manager. With this, you can launch Spark applications and clusters.

Requirements

  • Kubernetes 1.35+ cluster
  • Helm 3.0+

Features

  • Support Apache Spark 4.0+
  • Support SparkApp and SparkCluster CRDs
    • sparkapplications.spark.apache.org (v1)
    • sparkclusters.spark.apache.org (v1)
  • Support HPA for SparkCluster

Deploy spark-kubernetes-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spark-kubernetes-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartspark-kubernetes-operator is pinned at v1.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply