SparkKubernetesOperator

Kubernetes

Creates sparkApplication object in kubernetes cluster:

View Source

Last Updated: Apr. 27, 2021

Access Instructions

Install the Kubernetes provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

application_filestrfilepath to kubernetes custom_resource_definition of sparkApplication
namespacestrkubernetes namespace to put sparkApplication
kubernetes_conn_idstrthe connection to Kubernetes cluster

Documentation

Creates sparkApplication object in kubernetes cluster:

See also

For more detail about Spark Application Object have a look at the reference: https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/v1beta2-1.1.0-2.4.5/docs/api-docs.md#sparkapplication

Was this page helpful?