Skip to content

Commit 32585fc

Browse files
andyatmiamiAl-Pragliola
authored andcommitted
wording changes
Signed-off-by: Alessio Pragliola <[email protected]>
1 parent 4283dbe commit 32585fc

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

workspaces/controller/DEVELOPMENT.md

+13-16
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,27 @@ This guide will help you set up a development environment for the Kubeflow Noteb
2828

2929
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**.
3030

31-
### In an existing cluster
31+
### Cluster Selection
3232

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
3535

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
3939

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
4141

42-
### Using kind
43-
44-
1. Create a kind cluster:
42+
1. Run the following command to start Tilt:
4543

4644
```bash
47-
kind create cluster
45+
make -C devenv tilt-up
4846
```
4947

50-
2. Run the following command to start Tilt:
48+
ℹ️ Please make sure you are in the `workspaces/controller` directory when executing the command.
5149

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.
5551

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.
5752

5853
## Teardown
5954

@@ -63,6 +58,8 @@ To stop Tilt and remove all resources created by it, run:
6358
make -C devenv tilt-down
6459
```
6560

61+
ℹ️ Please make sure you are in the `workspaces/controller` directory when executing the command.
62+
6663
## Troubleshooting
6764

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

0 commit comments

Comments
 (0)