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: README.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -344,6 +344,44 @@ make initial-release
344
344
make kurl-proxy-down-ec
345
345
```
346
346
347
+
### Using Local KOTS CLI for Development
348
+
349
+
When developing embedded cluster, you can use your local kots CLI binary instead of the default one. This is particularly useful when you need to test changes to the kots CLI itself.
350
+
351
+
#### Setting Up Local KOTS Binary
352
+
353
+
1. **Build your local kots binary** in the kots repository:
354
+
```bash
355
+
make kots-linux-arm64
356
+
```
357
+
358
+
2. **Update `versions.mk`** to set the override:
359
+
```makefile
360
+
KOTS_BINARY_FILE_OVERRIDE = ../kots/bin/kots
361
+
```
362
+
363
+
#### Alternative: Remote Binary Override
364
+
365
+
1. In the kots repository, build and upload your kots binary to ttl.sh by running:
366
+
```bash
367
+
make kots-ttl.sh
368
+
```
369
+
This will print a ttl.sh URL for the uploaded kots binary.
370
+
371
+
2. In `versions.mk` file, set the override variable to the printed URL:
0 commit comments