Skip to content

Commit 92a33c2

Browse files
Clarify tilt docs for docker provider
1 parent 7167e09 commit 92a33c2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/book/src/developer/tilt.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,24 @@ kubectl cluster-info --context kind-capi-test
3636

3737
### Create a tilt-settings file
3838

39-
Next, create a `tilt-settings.yaml` file and place it in your local copy of `cluster-api`. Here is an example:
39+
Next, create a `tilt-settings.yaml` file and place it in your local copy of `cluster-api`. Here is an example that uses the components from the CAPI repo:
40+
41+
```yaml
42+
default_registry: gcr.io/your-project-name-here
43+
enable_providers:
44+
- docker
45+
- kubeadm-bootstrap
46+
- kubeadm-control-plane
47+
```
48+
49+
To use tilt to launch a provider with its own repo, using Cluster API Provider AWS here, `tilt-settings.yaml` should look like:
4050

4151
```yaml
4252
default_registry: gcr.io/your-project-name-here
4353
provider_repos:
4454
- ../cluster-api-provider-aws
4555
enable_providers:
4656
- aws
47-
- docker
4857
- kubeadm-bootstrap
4958
- kubeadm-control-plane
5059
```

0 commit comments

Comments
 (0)