Skip to content

Commit 61d1c44

Browse files
committed
chore: cosmetic beautification
Signed-off-by: entlein <einentlein@gmail.com>
1 parent c6e49ed commit 61d1c44

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

DEVELOPMENT.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,23 @@ Decide first if you'd like a full buildsystem (on a VM) or a containerized dev e
1515
### VM as buildsystem
1616
Uses a Ubuntu 24.04 as base to run `chef` to setup all dependencies.
1717
The initial compilation is CPU intense and `16vcpu` are recommended.
18-
On GCP: a balanced disk of 500 GB and a VM type that supports nested virtualization should be chosen
18+
This was tested on GCP: a balanced disk of 500 GB and a VM type that supports nested virtualization should be chosen, as of writing (May 2025)
1919
`n2-standard-16` works well.
2020

2121
> [!Warning]
2222
> The first build takes several hours and at least 160 Gb of space
2323
24-
Turn on nested virtualization and dont use `spot` VMs for the first build as you do not want your very long first
25-
build to interrupt. If you create the VMs as templates from an image, you can later switch to more cost-effective `spot` instances.
24+
Turn on nested virtualization and avoid the use of `spot` VMs for the first build to avoid the very long first
25+
build interrupting. If you create the VMs as templates from an image, you can later switch to more cost-effective `spot` instances.
26+
27+
2628

2729
```yaml
2830
advancedMachineFeatures:
2931
enableNestedVirtualization: true
3032
```
3133
32-
1) Install chef and some deps
34+
1) Install chef and some dependencies
3335
3436
```
3537
sudo apt update sudo apt install -y git coreutils mkcert libnss3-tools screen libvirt-daemon-system libvirt-clients qemu-kvm virt-manager
@@ -53,7 +55,7 @@ Put the baselrc into your homedir:
5355
```sh
5456
cp .bazelrc ~/.
5557
```
56-
58+
In order to very significantly speed up your work, you may opt for a local cache directory. This can be shared between users of the VM, if both are part of the same group.
5759
Create a cache dir under <directory-path> like /tmp/bazel
5860
```sh
5961
sudo groupadd bazelcache
@@ -71,7 +73,7 @@ docker login ghcr.io/<myregistry>
7173

7274
3) Make Minikube run and deploy a vanilla pixie
7375

74-
If you added your user to the libvirt group, this will now work:
76+
If you added your user to the libvirt group (`sudo usermod -aG libvirt $USER`), this will now work (if you did this interactively: you need to refresh your group membership, e.g. by logout/login)
7577
```sh
7678
make dev-env-start
7779
```
@@ -84,9 +86,9 @@ px deploy -p=1Gi
8486
```
8587
For reference and further information https://docs.px.dev/installing-pixie/install-guides/hosted-pixie/cosmic-cloud
8688

87-
4) Once you make changes on source code, or switch to another source code version, use Skaffold to deploy (after you have the vanilla setup working on minikube)
89+
4) Once you make changes to the source code, or switch to another source code version, use Skaffold to deploy (after you have the vanilla setup working on minikube)
8890

89-
your docker login token must still be valid
91+
Check, that your docker login token is still valid:
9092

9193
```sh
9294
> skaffold run -f skaffold/skaffold_vizier.yaml -p x86_64_sysroot --default-repo=ghcr.io/<myregistry>

0 commit comments

Comments
 (0)