Files
deprecated-helm-charts/incubator/sparkoperator
Chaoran Yu 32ee1e25bf Chart for Spark operator (#6239)
* Chart for Spark operator

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Added maintainer

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Added appVersion

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Forced the label and image tag to be the same

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Updated with option to enable webhooks. Removed initializers

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Fixed kubeVersion so that it works with GKE

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Removed extra linebreak

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Addressed review comments

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Removed licensing headers. Fixed README default

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Automated creation of webhook secret as a Job

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Added support for exposing metrics for Prometheus

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Added a Limitations section in README

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Consolidated YAMLs; supporting both metrics and webhook enabled

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Added a post-delete hook, obviating the need for manual namespace deletion

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Added hook delete policy to auto-delete hook when done

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Updated default namespace

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Updated default namespace in the doc to match what's in the yaml

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Changed job name to improve clarity

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Now using post-install hook to initialize secrets

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>

* Updated comments

Signed-off-by: Chaoran Yu <yuchaoran2011@gmail.com>
2018-09-04 06:12:01 -07:00
..
2018-09-04 06:12:01 -07:00
2018-09-04 06:12:01 -07:00
2018-09-04 06:12:01 -07:00

Helm Chart for Spark Operator

This is the Helm chart for the Spark-on-Kubernetes Operator.

Prerequisites

The Operator requires Kubernetes version 1.8 and above because it relies on garbage collection of custom resources. If customization of driver and executor pods (through mounting custom configMaps and volumes) is desired, then the Mutating Admission Webhook needs to be enabled and it only became beta in Kubernetes 1.9.

Installing the chart

The chart can be installed by running:

$ helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
$ helm install incubator/sparkoperator

By default, the operator is installed in a namespace called "spark-operator". It would be created if it does not exist.

Configuration

The following table lists the configurable parameters of the Spark operator chart and their default values.

Parameter Description Default
operatorImageName The name of the operator image lightbend/sparkoperator
operatorVersion The version of the operator to install 2.3.1
operatorNamespace K8s namespace where operator is installed spark-operator
enableWebhook Whether to enable mutating admission webhook true
enableMetrics Whether to expose metrics to be scraped by Premetheus true

Specify each parameter using the --set key=value[,key=value] argument to helm install.