mount dev sources directly from workspace PVC

This commit is contained in:
2026-07-21 21:31:09 +00:00
parent 872529b3d9
commit 3c32319603
4 changed files with 16 additions and 116 deletions

View File

@@ -31,14 +31,14 @@ instance can be supplied explicitly:
./dev/start.sh feature-one feature-one.control.k.mancave.link
```
Edits anywhere under `src/` are mirrored into the running NGINX pod. Stop an
instance and permanently remove its Kubernetes resources, sync process, and
shared files with:
Each subtree must live below the PVC mount at `/home/node`. Its `src/` directory
is mounted directly into NGINX, so edits are visible immediately. Stop an
instance and permanently remove all of its labeled Kubernetes resources with:
```bash
./dev/stop.sh hello
```
The scripts use namespace `vibes`, PVC `control-vibes-control-data`, and domain
`control.k.mancave.link` by default. Override them with `DEV_NAMESPACE`,
`DEV_PVC`, `DEV_SHARED_ROOT`, `DEV_PVC_SUBPATH_ROOT`, or `DEV_DOMAIN`.
The scripts use namespace `vibes`, PVC `control-vibes-control-data`, PVC mount
root `/home/node`, and domain `control.k.mancave.link` by default. Override them
with `DEV_NAMESPACE`, `DEV_PVC`, `DEV_PVC_MOUNT_ROOT`, or `DEV_DOMAIN`.