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
- If you want to quickly test `NetAssert`, you can make use of the sample test(s) and manifests provided
250
+
- Alternatively, you can build `NetAssert` from source:
251
+
```bash
252
+
❯ just build
253
+
```
243
254
244
-
- You will also need a working kubernetes cluster with ephemeral/debug container support and a CNI that supports Network Policies, you can spin one quickly using the `justfile` included in the repo
255
+
- You will also need a working kubernetes cluster with ephemeral/debug container support and a CNI that supports Network Policies, you can spin one quickly using the `justfile` included in the repo:
245
256
246
257
```bash
247
258
❯ just kind-down ; just kind-up
248
259
❯ just calico-apply
249
260
```
250
261
251
-
- wait for all the nodes to become ready
262
+
- wait for all the nodes to become ready:
252
263
```bash
253
-
❯ kubectl get nodes
264
+
❯ kubectl get nodes -w
254
265
```
255
266
267
+
### Running the sample tests
268
+
256
269
- In order to use the sample tests, you need to create network policies and kubernetes resources:
257
270
258
271
```bash
@@ -274,17 +287,43 @@ All the tests are read from an YAML file or a directory (step **1**) and the res
0 commit comments