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: DEVELOPMENT.md
+10-13Lines changed: 10 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Decide first if you'd like a full buildsystem (on a VM) or a containerized dev e
14
14
15
15
### VM as buildsystem
16
16
17
-
This utilizes `chef` to setup all dependencies and is based on `ubuntu`.
17
+
This utilizes `chef` to setup all dependencies and is based on `ubuntu`.
18
18
> [!Important]
19
19
> The below description defaults to using a `minikube` on this VM for the developer to have an `all-in-one` setup. The VM type must support nested virtualization for `minikube` to work. Please confirm that the nested virtualization really is turned on before you continue, not all VM-types support it.
20
20
> If you `bring-your-own-k8s`, you may disregard this.
@@ -24,7 +24,7 @@ advancedMachineFeatures:
24
24
enableNestedVirtualization: true
25
25
```
26
26
27
-
The following specifics were tested on GCP on a Ubuntu 24.04 (May 2025). Please see the latest [packer file](https://github.com/pixie-io/pixie/blob/main/tools/chef/Makefile#L56) for the current supported Ubuntu version: The initial compilation is CPU intense and `16vcpu` were a good trade-off, a balanced disk of 500 GB seems convenient and overall `n2-standard-16` works well.
27
+
The following specifics were tested on GCP on a Ubuntu 24.04 (May 2025). Please see the latest [packer file](https://github.com/pixie-io/pixie/blob/main/tools/chef/Makefile#L56) for the current supported Ubuntu version: The initial compilation is CPU intense and `16vcpu` were a good trade-off, a balanced disk of 500 GB seems convenient and overall `n2-standard-16` works well.
28
28
29
29
> [!Warning]
30
30
> The first `full build` takes several hours and at least 160 Gb of space
Edit the `<directory-path>` into the .bazelrc and put it into your homedir:
79
78
```
80
79
# Global bazelrc file, see https://docs.bazel.build/versions/master/guide.html#bazelrc.
@@ -89,15 +88,15 @@ cp .bazelrc ~/.
89
88
```
90
89
91
90
#### 3) Create/Use a registry you control and login
92
-
91
+
93
92
```sh
94
93
docker login ghcr.io/<myregistry>
95
94
```
96
95
97
-
#### 4) Prepare your kubernetes
96
+
#### 4) Prepare your kubernetes
98
97
99
98
> [!Important]
100
-
> The below description defaults to using a `minikube` on this VM for the developer to have an `all-in-one` setup.
99
+
> The below description defaults to using a `minikube` on this VM for the developer to have an `all-in-one` setup.
101
100
> If you `bring-your-own-k8s`, please prepare your preferred setup and go to Step 5
102
101
103
102
If you added your user to the libvirt group (`sudo usermod -aG libvirt $USER`), starting the development environment on this VM will now work (if you did this interactively: you need to refresh your group membership, e.g. by logout/login). The following command will, amongst other things, start minikube
@@ -118,7 +117,7 @@ px deploy -p=1Gi
118
117
```
119
118
For reference and further information https://docs.px.dev/installing-pixie/install-guides/hosted-pixie/cosmic-cloud.
120
119
121
-
Optional on `minikube`:
120
+
Optional on `minikube`:
122
121
123
122
You may encounter the following WARNING, which is related to the kernel headers missing on the minikube node (this is not your VM node). This is safe to ignore if Pixie starts up properly and your cluster is queryable from Pixie's [Live UI](https://docs.px.dev/using-pixie/using-live-ui). Please see [pixie-issue2051](https://github.com/pixie-io/pixie/issues/2051) for further details.
124
123
```
@@ -136,7 +135,7 @@ Review the compilation-mode suits your purposes:
136
135
```
137
136
cat skaffold/skaffold_vizier.yaml
138
137
# Note: You will want to stick with a sysroot based build (-p x86_64_sysroot or -p aarch64_sysroot),
139
-
# but you may want to change the --complication_mode setting based on your needs.
138
+
# but you may want to change the --complication_mode setting based on your needs.
140
139
# opt builds remove assert/debug checks, while dbg builds work with debuggers (gdb).
141
140
# See the bazel docs for more details https://bazel.build/docs/user-manual#compilation-mode
0 commit comments