Skip to content

Commit

Permalink
Merge pull request #46 from milroy/hpcic-updates
Browse files Browse the repository at this point in the history
HPCIC configuration updates
  • Loading branch information
vsoch authored Aug 29, 2024
2 parents 9f92236 + e20af97 commit 9e36a02
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
2 changes: 2 additions & 0 deletions 2024-HPCIC-AWS/JupyterNotebook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,8 @@ helm install flux-jupyter jupyterhub/jupyterhub --values aws/config-aws.yaml
helm install flux-jupyter jupyterhub/jupyterhub --values aws/config-aws-ssl.yaml
```

If you're configuring SSL, you will need to get the service DNS name after creation. With that name you can assign a CNAME as appropriate. Then delete the `autohttps` pod, which triggers a pod recreation and certificate generation.

If you mess something up, you can change the file and run `helm upgrade`:

```bash
Expand Down
24 changes: 15 additions & 9 deletions 2024-HPCIC-AWS/JupyterNotebook/aws/config-aws-ssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ hub:
tag: "hpcic-2024"
pullPolicy: Always

# Increase the resources for large tutorials
resources:
requests:
cpu: 28
memory: 96Gi

# # https://z2jh.jupyter.org/en/latest/administrator/optimization.html#scaling-up-in-time-user-placeholders
# scheduling:
# podPriority:
Expand Down Expand Up @@ -61,19 +67,19 @@ singleuser:
- name: init-myservice
image: ghcr.io/flux-framework/flux-jupyter-init:hpcic-2024
command: ["/entrypoint.sh"]
volumeMounts:
- name: flux-tutorial
mountPath: /home/jovyan
# volumeMounts:
# - name: flux-tutorial
# mountPath: /home/jovyan

# This is how we get the tutorial files added
storage:
type: none

# gitRepo volume is deprecated so we need another way
# https://kubernetes.io/docs/concepts/storage/volumes/#gitrepo
extraVolumes:
- name: flux-tutorial
emptyDir: {}
extraVolumeMounts:
- name: flux-tutorial
mountPath: /home/jovyan
# extraVolumes:
# - name: flux-tutorial
# emptyDir: {}
# extraVolumeMounts:
# - name: flux-tutorial
# mountPath: /home/jovyan

0 comments on commit 9e36a02

Please sign in to comment.