From 4305c4b473bf2d66db826c5a41058f9fd412b880 Mon Sep 17 00:00:00 2001 From: Todd Neal Date: Mon, 13 Mar 2023 21:26:22 -0500 Subject: [PATCH] add info on debugging e2e node tests --- contributors/devel/sig-node/e2e-node-tests.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/contributors/devel/sig-node/e2e-node-tests.md b/contributors/devel/sig-node/e2e-node-tests.md index d70ddd723..c73512f85 100644 --- a/contributors/devel/sig-node/e2e-node-tests.md +++ b/contributors/devel/sig-node/e2e-node-tests.md @@ -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 + ``` \ No newline at end of file