-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Update e2e-node-tests.md to include KUBE_ROOT #8401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
KUBE_ROOT environment variable is used while building node e2e tests.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ngopalak-redhat The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Welcome @ngopalak-redhat! |
Hi @ngopalak-redhat. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/sig testing |
@@ -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`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- *Clone the Kubernetes repository* into the default location: `~/k8s.io/kubernetes`. | |
- *Clone the Kubernetes repository* into the default location: `$(go env GOPATH)/src/k8s.io/kubernetes`. |
KUBE_ROOT environment variable is used while building node e2e tests. Failing to set this variable will result in the error:
while running
make test-e2e-node
using the local or the remote method. The environment variable KUBE_ROOT is used hereWhich issue(s) this PR fixes:
Fixes #