You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workspaces/controller/DEVELOPMENT.md
+13-16
Original file line number
Diff line number
Diff line change
@@ -28,32 +28,27 @@ This guide will help you set up a development environment for the Kubeflow Noteb
28
28
29
29
This project uses [Tilt](https://tilt.dev/) 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**.
30
30
31
-
### In an existing cluster
31
+
### Cluster Selection
32
32
33
-
1.Make sure you have a Kubernetes cluster running and `kubectl` is configured to use it.
34
-
2. Run the following command to start Tilt:
33
+
Make sure you have a Kubernetes cluster running and `kubectl` is configured to use it.
34
+
* `kubectl config current-context` will report which context Tilt will interact with
35
35
36
-
```bash
37
-
make -C devenv tilt-up
38
-
```
36
+
💡 For development purposes, you may find using `kind` to be beneficial. You can create your own local cluster with the following command:
37
+
-`kind create cluster`
38
+
- This command will also change the `current-context` of `kubectl` to the `kind` cluster that is created
39
39
40
-
3. Hit `space` to open the Tilt dashboard in your browser and here you can see the logs and status of every resource deployed.
40
+
### Running Tilt
41
41
42
-
### Using kind
43
-
44
-
1. Create a kind cluster:
42
+
1. Run the following command to start Tilt:
45
43
46
44
```bash
47
-
kind create cluster
45
+
make -C devenv tilt-up
48
46
```
49
47
50
-
2. Run the following command to start Tilt:
48
+
ℹ️ Please make sure you are in the `workspaces/controller` directory when executing the command.
51
49
52
-
```bash
53
-
make -C devenv tilt-up
54
-
```
50
+
2. Hit `space` to open the Tilt dashboard in your browser and here you can see the logs and status of every resource deployed.
55
51
56
-
3. Hit `space` to open the Tilt dashboard in your browser and here you can see the logs and status of every resource deployed.
57
52
58
53
## Teardown
59
54
@@ -63,6 +58,8 @@ To stop Tilt and remove all resources created by it, run:
63
58
make -C devenv tilt-down
64
59
```
65
60
61
+
ℹ️ Please make sure you are in the `workspaces/controller` directory when executing the command.
62
+
66
63
## Troubleshooting
67
64
68
65
### "Build Failed: failed to dial gRPC: unable to upgrade to h2c, received 404"
0 commit comments