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
252
+
- Alternatively, you can build `NetAssert` from source:
253
+
```bash
254
+
❯ just build
255
+
```
243
256
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
257
+
- 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
258
246
259
```bash
247
260
❯ just kind-down ; just kind-up
248
261
❯ just calico-apply
249
262
```
250
263
251
-
- wait for all the nodes to become ready
264
+
- wait for all the nodes to become ready:
252
265
```bash
253
-
❯ kubectl get nodes
266
+
❯ kubectl get nodes -w
254
267
```
255
268
269
+
### Running the sample tests
270
+
256
271
- In order to use the sample tests, you need to create network policies and kubernetes resources:
257
272
258
273
```bash
@@ -274,17 +289,43 @@ All the tests are read from an YAML file or a directory (step **1**) and the res
0 commit comments