ilum-jupyterhub

by Ilum

Helm chartv4.3.1App 6.6.0Verified publisher

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

About this chart

JupyterHub Helm chart

The JupyterHub Helm chart is accompanied with an installation guide at z2jh.jupyter.org. Together they enable you to deploy JupyterHub in a Kubernetes cluster that can make Jupyter environments available to several thousands of simultaneous users.

Parameters

Global parameters

NameDescriptionValue
fullnameOverrideString to fully override the chart fullnameilum-jupyterhub
nameOverrideString to partially override the chart namenil
enabledEnable JupyterHub (used as condition in umbrella charts)false

SSH parameters

NameDescriptionValue
ssh.enabledEnable SSH access to singleuser podsfalse
ssh.keysSecretName of the Kubernetes Secret containing SSH host keys and authorized_keysilum-jupyterhub-ssh-keys
ssh.modeSSH mode: 'master' (shared authorized_keys) or 'per-user' (individual secrets per user)master
ssh.perUserSecretNameTemplateTemplate for per-user secret names (when mode is 'per-user')ssh-keys-{username}
ssh.perUserAuthorizedKeysKeyKey name in per-user secrets containing authorized_keysauthorized_keys
ssh.service.typeSSH service typeNodePort
ssh.service.portSSH service port2222
ssh.service.targetPortSSH service target port2222
ssh.service.nodePortSSH service nodePort""
ssh.service.clusterIPSSH service clusterIP""
ssh.service.loadBalancerIPSSH service loadBalancerIP""
ssh.service.annotationsSSH service annotations{}
ssh.service.prefixSSH service name prefixilum-jupyterhub-ssh
ssh.sshdConfig.customConfigCustom sshd_config directives["StrictModes no"]
ssh.operatorImage.nameSSH operator image namedocker.ilum.cloud/ilum-jupyterhub
ssh.operatorImage.tagSSH operator image tagssh-operator-4.3.1
ssh.extraEnvExtra environment variables for the SSH operator container[]

Custom parameters

NameDescriptionValue
customCustom values passed to the hub pod{}

Image Pull parameters

NameDescriptionValue
imagePullSecret.createCreate an image pull secretfalse
imagePullSecret.automaticReferenceInjectionAutomatically inject the secret reference into podstrue
imagePullSecret.registryDocker registry URLnil
imagePullSecret.usernameDocker registry usernamenil
imagePullSecret.passwordDocker registry passwordnil
imagePullSecret.emailDocker registry emailnil
imagePullSecret.nameName of the secret (auto-generated if empty)nil
imagePullSecretsList of existing image pull secrets[]

Git integration parameters

NameDescriptionValue
git.existingSecretName of existing secret for Git credentialsilum-git-credentials
git.emailGit author emaililum@ilum
git.repositoryGit repository namejupyter
git.addressGitea HTTP address (host:port)ilum-gitea-http:3000
git.urlGitea full URLhttp://ilum-gitea-http:3000
git.orgNameGitea organization nameilum-jupyterhub
git.operatorImage.nameGitea operator image namedocker.ilum.cloud/ilum-jupyterhub
git.operatorImage.tagGitea operator image taggitea-operator-4.3.1
git.secret.nameGit credentials secret nameilum-git-credentials
git.secret.usernameKeyKey for username in the Git secretusername
git.secret.passwordKeyKey for password in the Git secretpassword

LDAP parameters

NameDescriptionValue
ldap.enabledEnable LDAP authenticationtrue
ldap.urlsLDAP server URLs["ldap://ilum-openldap:389"]
ldap.baseLDAP base DNdc=ilum,dc=cloud
ldap.usernameLDAP bind DNcn=admin,dc=ilum,dc=cloud
ldap.passwordLDAP bind passwordNot@SecurePassw0rd
ldap.adminUsersUsers with JupyterHub admin privileges["ilumadmin","admin"]
ldap.userSearchBaseLDAP user search base DNou=people,dc=ilum,dc=cloud
ldap.userSearchFilterLDAP user search filteruid={0}
ldap.groupSearchBaseLDAP group search base DNou=groups,dc=ilum,dc=cloud
ldap.groupSearchFilterLDAP group search filter(member={0})
ldap.allowedGroupsLDAP groups allowed to access JupyterHub (empty = all)[]
ldap.userAttributeLDAP attribute for usernameuid
ldap.fullnameAttributeLDAP attribute for full namecn
ldap.emailAttributeLDAP attribute for emailmail
ldap.groupNameAttributeLDAP attribute for group namecn
ldap.groupMemberAttributeLDAP attribute for group membershipmember
ldap.useSslUse SSL for LDAP connectionfalse
ldap.startTlsUse StartTLS for LDAP connectionfalse
ldap.lookupDnEnable DN lookuptrue

Hub parameters

NameDescriptionValue
hub.revisionHistoryLimitNumber of old ReplicaSets to retainnil
hub.configJupyterHub configuration (authenticator_class, admin_access, etc.){}
hub.contentSecurityPolicy.enabledEnable Content-Security-Policy headertrue
hub.contentSecurityPolicy.frameAncestorsAllowed frame-ancestors for CSP["'self'","http://localhost:9777"]
hub.contentSecurityPolicy.extraDirectivesExtra CSP directives[]
hub.service.typeHub service typeClusterIP
hub.service.annotationsHub service annotations{}
hub.service.ports.nodePortHub service nodePortnil
hub.service.ports.appProtocolHub service app protocolnil
hub.service.extraPortsExtra hub service ports[]
hub.service.loadBalancerIPHub service load balancer IPnil
hub.service.ipFamilyPolicyHub service IP family policyPreferDualStack
hub.service.ipFamiliesHub service IP families[]
hub.baseUrlBase URL for JupyterHub/external/jupyterhub/
hub.cookieSecretCookie secret for JupyterHub (auto-generated if empty)nil
hub.imagePullSecrets

Deploy ilum-jupyterhub with OpenTenant

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