From e27f367460e3ce46a974f0f00e242c1f250c1814 Mon Sep 17 00:00:00 2001 From: Neeraj Krishna Gopalakrishna Date: Fri, 28 Mar 2025 08:07:48 +0530 Subject: [PATCH] Update e2e-node-tests.md to include KUBE_ROOT KUBE_ROOT environment variable is used while building node e2e tests. --- contributors/devel/sig-node/e2e-node-tests.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contributors/devel/sig-node/e2e-node-tests.md b/contributors/devel/sig-node/e2e-node-tests.md index 16350eb81a1..3f135f8382d 100644 --- a/contributors/devel/sig-node/e2e-node-tests.md +++ b/contributors/devel/sig-node/e2e-node-tests.md @@ -7,6 +7,9 @@ Node e2e tests are component tests meant for testing the Kubelet code on a custo *Note: There is no scheduler running. The e2e tests have to do manual scheduling, e.g. by using `framework.PodClient`.* # Running tests +To ensure node e2e test build can locate the Kubernetes source code, please take one of the following actions: +- *Set the `KUBE_ROOT` environment variable* to the absolute path of the directory where the Kubernetes repository has been cloned. +- *Clone the Kubernetes repository* into the default location: `~/k8s.io/kubernetes`. ## Locally