Skip to content

Commit

Permalink
Merge pull request #7179 from tzneal/add-info-on-debugging-e2e-node-t…
Browse files Browse the repository at this point in the history
…ests

add info on debugging e2e node tests
  • Loading branch information
k8s-ci-robot committed Mar 15, 2023
2 parents ab3643b + 4305c4b commit 71c4a61
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions contributors/devel/sig-node/e2e-node-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,3 +354,14 @@ metadata:
Please note that if you add the annotations, then you must provide the full information:
you must should specify the number of SRIOV devices attached to each NUMA node in the system,
even if the number is zero.

# Debugging E2E Tests Locally

1. Install kubectl on the node
2. Set your KUBCONFIG environment variable to reference the kubeconfig created by the e2e node tests
`export KUBECONFIG=./_output/local/go/bin/kubeconfig`
3. Inspect the node and pods as needed while the tests are running
```
$ kubectl get pod -A
$ kubectl describe node
```

0 comments on commit 71c4a61

Please sign in to comment.