zeppelin

by Helm

Helm chartv0.0.20

A Helm chart for Kubernetes

About this chart

Zeppelin Chart

Zeppelin is a web based notebook for interactive data analytics with Spark, SQL and Scala.

Chart Details

Installing the Chart

To install the chart:

$ helm install banzaicloud-stable/zeppelin

Configuration

The following tables lists the configurable parameters of the Zeppelin Sever chart and their default values, in case you want to preserve your Spark application logs on S3 or Azure storage.

ParameterRequiredDescriptionExample
usernamenoAdmin username, by default is admin
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
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
logService.hostyes if you want to send logs to SyslogHost address of Syslog service10.44.0.12
logService.zeppelinLogPortyes if you want to send logs to SyslogUDP port for Zeppelin logs512
logService.sparkLogPortyes if you want to send logs to SyslogUDP port for Spark Driver and Executor logs512
logService.applicationLogPortyes if you want to send logs to SyslogUDP port for Application logs512
logService.applicationLoggerNamenoName of log4j logger for Application logsby default: application
logService.zeppelinLogLevelnolog4j log level for Zeppelin logsby default: DEBUG
logService.zeppelinLogPatternnolog4j log pattern for Zeppelin logsby default: "%5p [%d] ({%t} %F[%M]:%L) - %m%n"
logService.sparkLogLevelnolog4j log level for Spark logsby default: INFO
logService.sparkLogPatternnolog4j log pattern for Spark logsby default: "[%p] %c:%L - %m%n"
logService.applicationLogLevelnolog4j log level for Application logsby default: INFO
logService.applicationLogPatternnolog4j log pattern for Application logsby default: "[%p] %c:%L - %m%n"
sparkSubmitOptions.eventLogDirectoryyesthe URL to the directory for event logss3a://yourBucketNamewasb://your_blob_container_name@you_storage_account_name.blob.core.windows.netgs://yourBucketName
notebookStorage.typenostorage type for notebookss3azuregsby default no storage is configured
notebookStorage.pathnostorage path for notebooksbucket name in case of S3 / GS, file share name for Azure
azureStorageAccountNameonly in case of using Azure StorageName of your Azure storage accountsee Notes
azureStorageAccessKeyonly in case of using Azure StorageAccess key for your Azure storage accountsee Notes

Notes

  • in case of using S3 and Google Storage, we don't pass credentials and access keys we're using IAM roles and policies on Amazon and Service Account based access on Google Cloud
  • in case of Azure the storage account name would be the dns prefix it's created (e.g. mystorage.blob.core.windows.net - the name would be mystorage), and you can you either the primary or secondary keys

Deploy zeppelin with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has zeppelin 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 chartzeppelin is pinned at v0.0.20 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