spark-k8s-operator

by Stackable

Helm chartv26.11.0App 26.11.0OSL-3.0Verified publisher

Kubernetes operator for Apache Spark. Run Spark applications on Kubernetes with the Stackable Data Platform (SDP).

About this chart

Helm Chart for Stackable Operator for Apache Spark-on-Kubernetes

Kubernetes operator for Apache Spark. Run Spark applications on Kubernetes with the Stackable Data Platform (SDP).

Requirements

  • A running Kubernetes cluster
  • Helm 3.8 or newer, for OCI support

Install

helm install spark-k8s-operator oci://oci.stackable.tech/sdp-charts/spark-k8s-operator

Add --version to pin a release, for example --version 26.7.0. Released versions are listed in the SDP release notes and on the Stackable Hub.

Since SDP 26.7 the chart is published to two registries:

  • oci://oci.stackable.tech/sdp-charts/spark-k8s-operator
  • oci://quay.io/stackable/sdp-charts/spark-k8s-operator

Both hold the same chart, but the registry you install from also decides where the operator pulls product images from. Install from quay.io and the operator is configured to use product images from quay.io as well.

Operators are not usually installed on their own. Most of them need the commons, secret and listener operators alongside them, and stackablectl installs a matching set in one step. See the documentation for the full picture.

Custom resources

This operator installs and manages its own CustomResourceDefinitions, so they are not part of this chart. The resources it reconciles, and the configuration they accept, are described in the documentation. Each CRD is also browsable on the Stackable Hub, with its schema and the API versions served per SDP release.

Links

License

Open Software License version 3.0

Deploy spark-k8s-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-k8s-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-k8s-operator is pinned at v26.11.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