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

Add event log

parent c2ee60fa
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,15 @@ hub:
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:
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