0.0.23-0.1.0 • Published 5 years ago

@helm-charts/banzaicloud-stable-zeppelin-spark v0.0.23-0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@helm-charts/banzaicloud-stable-zeppelin-spark

An umbrella Helm chart for Zeppelin and Spark

FieldValue
Repository Namebanzaicloud-stable
Chart Namezeppelin-spark
Chart Version0.0.23
NPM Package Version0.1.0

Zeppelin-Spark Chart

This is a composite chart deploying the following sub-charts:

Chart Details

Installing the Chart

To install the chart:

$ helm install banzaicloud-stable/zeppelin

Configuration

Helm let's you override all parameters in values.yaml of every chart and sub-chart, however in this chart you don't need anything special you can install this as it is, with default values. If you want to use Spark History Server, you need to enable it and set some cloud storage for event logs file, depending on your cloud provider. The below table lists the required parameters you need to set if you want to enable Spark History Server.

ParameterRequiredDescriptionExample
zeppelin.usernamenoAdmin username, by default is admin
zeppelin.passwordnoSalted password of admin user, by default is zeppelinYou can salt your own password using shiro cli tool java -jar ~/dev/tools/shiro-tools-hasher-1.3.2-cli.jar -p
zeppelin.userCredentialSecretNamenoCredentials above are set in a K8s secret. Instead of specifying username & password directly you can provide the name of this K8s secret containing these fields
zeppelin.sparkEventLogStorage.logDirectoryyesthe URL to the directory containing application event logs to loadyourBucketName/eventLogFoloder
zeppelin.sparkEventLogStorage.cloudProvideryesthe cloud provider where the objectstore/bucket locatedamazongoogleazureoraclealibaba
zeppelin.sparkEventLogStorage.secretNamenothe name of K8s secret containing credentials for selected cloud provider. If no secretName is passed then there will be a secret created with the same structure populated from values. Checkout the required secret properties for each provider in next section below.see below
historyServer.enabledfalse by defaultEnable deploying Spark History Servertrue / false
spark.spark-hs.sparkEventLogStorage.logDirectoryyesthe URL to the directory containing application event logs to loadyourBucketName/eventLogFoloder
spark.spark-hs.sparkEventLogStorage.cloudProvideryesthe cloud provider where the objectstore/bucket locatedamazongoogleazureoraclealibaba
spark.spark-hs.sparkEventLogStorage.secretNamenothe name of K8s secret containing credentials for selected cloud provider. If no secretName is passed then there will be a secret created with the same structure populated from values. Checkout the required secret properties for each provider in next section below.see below

Structure of credential secret for each supported cloud provider

Amazon

AWS_ACCESS_KEY_ID: {{ .Values.sparkEventLogStorage.awsAccessKeyId | b64enc | quote }}
AWS_SECRET_ACCESS_KEY: {{ .Values.sparkEventLogStorage.awsSecretAccessKey | b64enc | quote }}

Azure

storageAccount: {{ .Values.sparkEventLogStorage.azureStorageAccountName | b64enc | quote }}
accessKey: {{ .Values.sparkEventLogStorage.azureStorageAccessKey | b64enc | quote }}

Alibaba

ALIBABA_ACCESS_KEY_ID: {{ .Values.sparkEventLogStorage.aliAccessKeyId | b64enc | quote }}
ALIBABA_ACCESS_KEY_SECRET: {{ .Values.sparkEventLogStorage.aliSecretAccessKey | b64enc | quote }}

Google

google.json: {{ .Values.sparkEventLogStorage.googleJson | quote }}

Oracle

api_key: {{ .Values.sparkEventLogStorage.apiKey | b64enc | quote }}
tenancy_ocid: {{ .Values.sparkEventLogStorage.oracleTenancyId | b64enc | quote }}
user_ocid:  {{ .Values.sparkEventLogStorage.oracleUserId | b64enc | quote }}
api_key_fingerprint:  {{ .Values.sparkEventLogStorage.oracleApiKeyFingerprint | b64enc | quote }}

NOTE: values must be prefixed with subchart name, see the example below how to specify AWS credential properties for zepplin and spark-hs chart sparkEventLogStorage:

zeppelin.sparkEventLogStorage.awsAccessKeyId=XXXXXXXXX
zeppelin.sparkEventLogStorage.awsSecretAccessKey=XXXXXXXXXXXXXXXX
spark.spark-hs.sparkEventLogStorage.awsAccessKeyId=XXXXXXXXX
spark.spark-hs.sparkEventLogStorage.awsSecretAccessKey=XXXXXXXXXXXXXXXX