mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Automatic merge from submit-queue e2e node plumbing and bundling for GCI mounter **Note:** The code in this PR only bundles the mounter and modifies `--mounter-path` if it can find `cluster/gce/gci/mounter` in the K8s source dir when building the test bundle. This bundles the mounter script for GCI with the node e2e tests and allows the `--mounter-path` to be passed to the Kubelet via the node test framework. The node test runner will detect when we are running on a remote GCI node and add the appropriate `--mounter-path` to the `testArgs`. It also includes a simple node test that mounts a tmpfs volume. This will exercise the Kubelet's mounter code path. **ITEM OF NOTE:** To get the k8s root dir (in order to copy the mount script into the tarball), I changed `getK8sRootDir` -> `GetK8sRootDir` in `test/e2e_node/build/build.go`. Based on the comment above that function (and the fact that it was private to begin with), I'm not sure this is the best way to do things: ``` // TODO: Dedup / merge this with comparable utilities in e2e/util.go ``` On the other hand, the `e2e/util.go` file mentioned in that comment doesn't exist anymore. This should be resolved before this PR is merged. |
||
|---|---|---|
| .. | ||
| build | ||
| environment | ||
| jenkins | ||
| remote | ||
| runner | ||
| services | ||
| apparmor_test.go | ||
| benchmark_util.go | ||
| BUILD.disable | ||
| cgroup_manager_test.go | ||
| container.go | ||
| container_manager_test.go | ||
| density_test.go | ||
| disk_eviction_test.go | ||
| doc.go | ||
| dynamic_kubelet_configuration_test.go | ||
| e2e_node_suite_test.go | ||
| gubernator.sh | ||
| image.go | ||
| image_conformance_test.go | ||
| image_id_test.go | ||
| image_list.go | ||
| kubelet_test.go | ||
| lifecycle_hook_test.go | ||
| memory_eviction_test.go | ||
| mirror_pod_test.go | ||
| OWNERS | ||
| README.md | ||
| resource_collector.go | ||
| resource_usage_test.go | ||
| runtime_conformance_test.go | ||
| simple_mount.go | ||
| summary_test.go | ||
| util.go | ||
![]()
PLEASE NOTE: This document applies to the HEAD of the source tree
If you are using a released version of Kubernetes, you should refer to the docs that go with that version.
The latest release of this document can be found [here](http://releases.k8s.io/release-1.1/docs/devel/collab.md).Documentation for other releases can be found at releases.k8s.io.
See e2e-node-tests