Merge pull request #7179 from tzneal/add-info-on-debugging-e2e-node-tests

add info on debugging e2e node tests
This commit is contained in:
Kubernetes Prow Robot 2023-03-14 17:28:14 -07:00 committed by GitHub
commit 71c4a616a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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
```