I have deployed jupyterhub to GKE using the Zero to Jupyterhub Helm chart.
I've set up my python environment and notebooks in my spawned singleuser instance, and now I would like to remotely (e.g., via API on another server) run a notebook in my singleuser environment and then download the outputs.
If it helps, I've parameterized the notebook to run it with papermill because I'd like to write a script to run the notebook over series of datasets.
Have a look here. This allows you to deploy your Jupyter notebook as serverless function. You can then invoke that serverless function with different parameters (datasets) on demand.