Skip to content
Snippets Groups Projects
Commit 72f92893 authored by Youngsu Kim's avatar Youngsu Kim
Browse files

Merge branch 'youngsu_kim-main-patch-64565' into 'main'

Add event log

See merge request csusb-hpc!18
parents c2ee60fa fa4737ff
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,15 @@ hub: ...@@ -60,7 +60,15 @@ hub:
custom_spawn_pending_html: custom_spawn_pending_html:
mountPath: /etc/jupyterhub/custom/spawn_pending.html mountPath: /etc/jupyterhub/custom/spawn_pending.html
# JupyterHub Start with event log redirection; & cannot be passed in yaml files
jupyterhub_event_log:
mountPath: /etc/jupyterhub/custom/event_command.sh
stringData: |
#! /bin/bash
/usr/local/bin/jupyterhub --config /usr/local/etc/jupyterhub/jupyterhub_config.py --upgrade-db &>> /srv/jupyterhub/event.log
mode: 0777
args: [ "/etc/jupyterhub/custom/event_command.sh" ]
nodeSelector: nodeSelector:
topology.kubernetes.io/region: "us-west" topology.kubernetes.io/region: "us-west"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment