Skip to content

Commit 4305c4b

Browse files
committed
add info on debugging e2e node tests
1 parent 3a0751b commit 4305c4b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

contributors/devel/sig-node/e2e-node-tests.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,3 +354,14 @@ metadata:
354354
Please note that if you add the annotations, then you must provide the full information:
355355
you must should specify the number of SRIOV devices attached to each NUMA node in the system,
356356
even if the number is zero.
357+
358+
# Debugging E2E Tests Locally
359+
360+
1. Install kubectl on the node
361+
2. Set your KUBCONFIG environment variable to reference the kubeconfig created by the e2e node tests
362+
`export KUBECONFIG=./_output/local/go/bin/kubeconfig`
363+
3. Inspect the node and pods as needed while the tests are running
364+
```
365+
$ kubectl get pod -A
366+
$ kubectl describe node
367+
```

0 commit comments

Comments
 (0)