summaryrefslogtreecommitdiff
path: root/e2e-node-tests.md
diff options
context:
space:
mode:
authork8s-merge-robot <k8s.production.user@gmail.com>2016-07-21 12:58:00 -0700
committerGitHub <noreply@github.com>2016-07-21 12:58:00 -0700
commitfaf0f87d8186292cd378a370674be6438e9be166 (patch)
treed22dc6ac6c88796f3c55a29d6c3cdd500bb6bb92 /e2e-node-tests.md
parent15f6fa22c55d52dc315b7d1085c4abe7952e9f06 (diff)
parentfaceee8b3a50bd270d33560b864c341ff63989f1 (diff)
Merge pull request #29181 from Random-Liu/add-doc-for-node-e2e-kubenet-flag
Automatic merge from submit-queue Node E2E: Add document for node e2e --disable-kubenet flag. Address the comment https://github.com/kubernetes/kubernetes/pull/28213#discussion_r70137103. Offline discussed with @vishh, we should document the `--disable-kubenet` flag in node e2e test.
Diffstat (limited to 'e2e-node-tests.md')
-rw-r--r--e2e-node-tests.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/e2e-node-tests.md b/e2e-node-tests.md
index 8e802d75..04b82799 100644
--- a/e2e-node-tests.md
+++ b/e2e-node-tests.md
@@ -205,6 +205,26 @@ less useful for catching flakes related creating the instance from an image.**
make test-e2e-node REMOTE=true RUN_UNTIL_FAILURE=true
```
+## Run tests with kubenet network plugin
+
+[kubenet](http://kubernetes.io/docs/admin/network-plugins/#kubenet) is
+the default network plugin used by kubelet since Kubernetes 1.3. The
+plugin requires [CNI](https://github.com/containernetworking/cni) and
+[nsenter](http://man7.org/linux/man-pages/man1/nsenter.1.html).
+
+Currently, kubenet is enabled by default for Remote execution `REMOTE=true`,
+but disabled for Local execution. **Note: kubenet is not supported for
+local execution currently. This may cause network related test result to be
+different for Local and Remote execution. So if you want to run network
+related test, Remote execution is recommended.**
+
+To enable/disable kubenet:
+
+```sh
+make test_e2e_node TEST_ARGS="--disable-kubenet=true" # enable kubenet
+make test_e2e_node TEST_ARGS="--disable-kubenet=false" # disable kubenet
+```
+
## Additional QoS Cgroups Hierarchy level testing
For testing with the QoS Cgroup Hierarchy enabled, you can pass --cgroups-per-qos flag as an argument into Ginkgo using TEST_ARGS