ilum-kyuubi

by Ilum

Helm chartv6.7.0App 1.10.0Verified publisher

Modular Data Lakehouse for a Cloud Native World. Ilum Kyuubi helm chart

About this chart

ilum-kyuubi packaged by ilum

The chart is based on the official kyuubi chart with slight modifications.

TL;DR

$ helm repo add ilum https://charts.ilum.cloud
$ helm install ilum-kyuubi ilum/ilum-kyuubi

Installing the Chart

To install the chart with the release name ilum-kyuubi:

$ helm install ilum-kyuubi ilum/ilum-kyuubi

The command deploys ilum-kyuubi on the Kubernetes cluster in the default configuration. Go to the Parameters section to see the parameters that can be configured during installation.

⚠️It is especially important to configure the config.spark.defaults since without configuring it, the default configuration will crash.⚠️

Uninstalling the chart

To uninstall/delete the ilum-kyuubi deployment:

$ helm delete ilum-kyuubi

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Main parameters

NameDescriptionValue
nameOverridePartially override the fullName""
fullnameOverrideFully override the fullName""
image.repositoryBase image repositoryilum/kyuubi
image.tagBase image tag1.10.2-spark
replicaCountNumber of replicas1
podAnnotationsKyuubi pod annotations{}
containerEnvVarsEnvironment variables to be set in Kyuubi's container[]
additionalContainersAdditional containers to be started alongside Kyuubi[]
additionalVolumesAdditional volumes to be mounted to Kyuubi's pods[]
additionalVolumeMountsAdditional volume mounts to be mounted to Kyuubi's pods[]
additionalContainerSettingsAdditional container settings to be applied to Kyuubi's container{}
addiionalSpecsAdditional specs to be applied to Kyuubi's pods{}

Kyuubi configuration parameters

NameDescriptionValue
config.kyuubi.logLevelBase log-level of the log4j frameworkINFO
config.kyuubi.idleEngineTimeoutAuto-shutdown time of Kyuubi engines30M
config.kyuubi.idleSessionTimeoutAuto-shutdown time of Kyuubi sessions30M
config.kyuubi.engineAliveProbeWhether to create a probe, which will check engine livenesstrue
config.kyuubi.cleanupTerminatedSparkDriverPodsDetermines which of the terminated Spark engine pods will get deleted. Available: NONE, COMPLETED, ALLALL
config.kyuubi.envContents of the kyuubi-env.sh file~
config.kyuubi.defaultsAdditional contents of the kyuubi-defaults.conf file~
config.kyuubi.log4j2Contents of the log4j2.xml file for KyuubiSee values.yaml
config.spark.envContents of the spark-env.sh file~
config.spark.defaultsContents of the spark-defaults.conf file (see values.yaml for a recommended starter)~
config.spark.log4j2Additional contents of the log4j2.properties file for spark~
config.spark.metricsAdditional contents of the metrics.properties file~
config.trino.urlUrl pointing to Trino coordinatorhttp://ilum-trino:8080
config.trino.catalogThe catalog of choice for Trinosystem
config.trino.defaultsAdditional settings of Trino engines. All properties must be prefixed with trino.~

Ilum Submit Parameters

NameDescriptionValue
ilumSubmit.enabledEnable the submit servicefalse
ilumSubmit.ilum.hostIlum Core addressilum-core
ilumSubmit.ilum.portIlum Core port9888

Service parameters

NameDescriptionValue
headlessService.enabledEnable headless servicetrue
headlessService.annotationsAnnotations for the headless service{}
headlessService.additionalConfigAdditional configuration for the headless service{}
services.rest.enabledEnables Kyuubi's REST servicetrue
services.rest.typeType of the REST serviceClusterIP
services.rest.annotationsAnnotations for the REST service{}
services.rest.additionalConfigAdditional configuration for the REST service{}
services.rest.ports.portService's port10099
services.rest.ports.targetPortService's target port10099
services.rest.ports.nodePortService's node port~
services.rest.ports.additionalConfigAdditional configuration for the REST service{}
services.thriftBinary.enabledEnables Kyuubi's Thrift Binary servicetrue
services.thriftBinary.typeType of the Thrift Binary serviceClusterIP
services.thriftBinary.annotationsAnnotations for the Thrift Binary service{}
services.thriftBinary.additionalConfigAdditional configuration for the Thrift Binary service{}
services.thriftBinary.ports.portService's port10009
services.thriftBinary.ports.targetPortService's target port10009
services.thriftBinary.ports.nodePortService's node port~
services.thriftBinary.ports.additionalConfigAdditional configuration for the Thrift Binary service{}
services.thriftHttp.enabledEnables Kyuubi's Thrift HTTP servicefalse
services.thriftHttp.typeType of the Thrift HTTP serviceClusterIP
services.thriftHttp.annotationsAnnotations for the Thrift HTTP service{}
services.thriftHttp.additionalConfigAdditional configuration for the Thrift HTTP service{}
services.thriftHttp.ports.portService's port10010
services.thriftHttp.ports.targetPortService's target port10010
services.thriftHttp.ports.nodePortService's node port~
services.thriftHttp.ports.additionalConfigAdditional configuration for the Thrift HTTP service{}
services.mysql.enabledEnables Kyuubi's MySQL servicefalse
services.mysql.typeType of the MySQL serviceClusterIP
services.mysql.annotationsAnnotations for the MySQL service{}
services.mysql.additionalConfigAdditional configuration for the MySQL service{}
services.mysql.ports.portService's port3309
services.mysql.ports.targetPortService's target port3309
services.mysql.ports.nodePortService's node port~
services.mysql.ports.additionalConfigAdditional configuration for the MySQL service{}
services.trino.enabledEnables Kyuubi's Trino servicefalse
services.trino.typeType of the Trino serviceClusterIP
services.trino.annotationsAnnotations for the Trino service{}
services.trino.additionalConfigAdditional configuration for the Trino service{}
services.trino.ports.portService's port10999
services.trino.ports.targetPortService's target port10999
services.trino.ports.nodePortService's node port~
services.trino.ports.additionalConfigAdditional configuration for the Trino service{}

Probe parameters

NameDescriptionValue
livenessProbe.enabledEnable liveness probetrue
livenessProbe.execExec command for the liveness probecommand: ["/bin/bash", "-c", "$KYUUBI_HOME/bin/kyuubi status"]
livenessProbe.initialDelaySecondsInitial delay for the liveness probe30
livenessProbe.periodSecondsPeriod for the liveness probe30
livenessProbe.timeoutSecondsTimeout for the liveness probe2
livenessProbe.failureThresholdFailure threshold for the liveness10
livenessProbe.successThresholdSuccess threshold for the liveness1
readinessProbe.enabledEnable readiness probetrue
readinessProbe.execExec command for the readiness probecommand: ["/bin/bash", "-c", "$KYUUBI_HOME/bin/kyuubi status"]
readinessProbe.initialDelaySecondsInitial delay for the readiness probe30
readinessProbe.periodSecondsPeriod for the readiness probe10
readinessProbe.timeoutSecondsTimeout for the readiness probe2
readinessProbe.failureThresholdFailure thr

Deploy ilum-kyuubi with OpenTenant

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