These are the steps to deploy Jupyterhub connected to Dask and MinIO using the baremetal k8s cluster at CESNET.
This guide assumes that you have:
kubectl.helm command works).For example, using git clone, and make sure you are in the correct
workding directory:
cd working/dir/
git clone git@github.com:pangeo-data/pangeo-eosc.git
cd providers/kubernetes/
To deploy Jupyterhub we use the official documentation from Zero to JupyterHub with Kubernetes.
Please configure the values below accordingly:
client_id, client_secret, and oauth_callback_url with your own values.pangeo-eosc.vm.fedcloud.eu must be replaced with your DNS hostname.c-scale-pangeo-dask must be replaced with your own namespace.Deploy JupyterHub with the helm command below:
helm upgrade jupyterhub jupyterhub/jupyterhub \
--cleanup-on-fail \
--wait --install \
--create-namespace \
--namespace c-scale-pangeo-dask \
--values jupyterhub/jupyterhub.yaml \
--values jupyterhub/jupyterhub-secrets.yaml
Note: c-scale-pangeo-dask must be replaced with your own namespace.
Then configure RBACs for Dask:
kubectl apply -f dask/dask-user-role.yaml
kubectl apply -f dask/dask-user-rolebinding.yaml
All going well JupyterHub will be available at https://pangeo-eosc.vm.fedcloud.eu.
See an example notebook to get started.
Please configure the values below accordingly:
pangeo-eosc-minio.vm.fedcloud.eu and
pangeo-eosc-minioapi.vm.fedcloud.eu must be replaced with your DNS hostname.
Replace pvc-minio-c-scale with the corresponding
PVC
available on your baremetal k8s cluster.rootUser and
rootPassword must be replaced with your own. Please note that they need
to be at least 3 and 8-character long, respectively.Use helm to install MinIO with the command below:
helm upgrade minio bitnami/minio \
--install --wait \
--cleanup-on-fail \
--create-namespace \
--namespace c-scale-pangeo-dask \
--version 16.0.10 \
--values minio/minio.yaml \
--values minio/minio-secrets.yaml
All going well the MinIO Console will be available at https://pangeo-eosc-minio.vm.fedcloud.eu and the MinIO API endpoint will be available at https://pangeo-eosc-minioapi.vm.fedcloud.eu.
See an example notebook to get started.