Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.23 KB

File metadata and controls

48 lines (29 loc) · 1.23 KB

Kubeflow Notebooks -- Dev Environment

Requirements

  • Go >= 1.25.7
  • Helm >= 3.16.1
  • Python >= 3.8
  • Node >= 20

Tilt

This project uses Tilt to manage the development environment. Tilt will watch for changes in the project and automatically rebuild the Docker image and redeploy the application in the current Kubernetes context.

See this example using a kind cluster:

kind create cluster

then:

make tilt-up

Hit space to open the Tilt dashboard in your browser and here you can see the logs and status of every resource deployed.

Notebooks

The development environment creates automatically a user for JupyterHub. The user is created with the following credentials:

  • Username: mr
  • Password: 1234

You can reach the jupter notebook at http://localhost:8086/user/mr/lab.

Tilt will watch for file changes in the clients/python folder and build/upload the wheel output to the notebook pod, you can find the wheel under the ~/wheels folder.

Troubleshooting

"Build Failed: failed to dial gRPC: unable to upgrade to h2c, received 404"

If you see the following error message when tilt builds the image, try setting DOCKER_BUILDKIT=0:

DOCKER_BUILDKIT=0 make tilt-up