Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
jupyterhub-singleuser
jupyterhub
README.md
hub.yml
ldap.yml
nfs.yml
nfs2.yml

README.md

JupyterHub on Kubernetes with LDAP and NFS

LDAL

$ kubectl create -f ldap.yml

Two services are now running:

  1. jupyterhub-ldap: LDAP service
  2. jupyterhub-ldap-admin: An optional admin UI based on phpldapadmin

NFS

$ kubectl create -f nfs.yml
  1. Get service Cluster-IP for the jupyterhub-nfs service: kubectl get service | grep jupyterhub-nfs
  2. Edit the nfs2.yml file and replace {{ X.X.X.X }} with the ip of the service found in (1)
$ kubectl create -f nfs2.yml

Two services are now running:

  1. jupyterhub-nfs: NFS server
  2. jupyterhub-nfs-web: An optional simple NGINX (autoindex: on;) to browse the files

One Persistent Volume Claim (jupyterhub-volume) is ready for the JupyterHub single user pods.

JupyterHub

  1. Get service Cluster-IP for the jupyterhub-ldap service: kubectl get service | grep jupyterhub-ldap
  2. Edit the hub.yml file and replace {{ LDAP_SERVICE }} with the ip of the service found in (1)
$ kubectl create -f hub.yml

Two services are now running:

  1. jupyterhub: Main JupyterHub UI. Login as any LDAP user as defined in the ConfigMap
  2. jupyterhub-api: JupyterHub API - not really useful for users