Skip to content

A minimal jupyter notebook `devspace.yaml` with `openai` + `langchain` allow you to work on any Kubernetes cluster.

License

Notifications You must be signed in to change notification settings

chenhunghan/jupyter-notebook-devspace

Repository files navigation

minimal-jupyter-notebook-devspace

A minimal jupyter notebook devspace.yaml with openai + langchain allow you to work on any Kubernetes cluster.

Deploy

Build images and deploy a jupyter notebook in Kubernetes namespace ai

devspace use namespace ai
devspace deploy

Start

devspace dev

.ipynb files in notebooks will be synced to the jupyter-notebook container, edit files in the notebook, changes would sync back to local.

Clean up

Delete all deployments

devspace purge

Reset

Revert the container back to the state when we devspace deploy

devspace run-pipeline stop-dev

Remove notebook output

brew install jupyter

Set config for this repo once (see .gitattributes)

git config filter.strip-notebook-output.clean 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'  

About

A minimal jupyter notebook `devspace.yaml` with `openai` + `langchain` allow you to work on any Kubernetes cluster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published