• Kubernetes Submit Queue's avatar
    Merge pull request #35161 from mtaufen/mike-klet-cmount-node-e2e · 4fbbc746
    Kubernetes Submit Queue authored
    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.
    4fbbc746
Name
Last commit
Last update
..
e2e Loading commit data...
e2e_node Loading commit data...
fixtures Loading commit data...
images Loading commit data...
integration Loading commit data...
kubemark Loading commit data...
list Loading commit data...
soak Loading commit data...
utils Loading commit data...
.gitattributes Loading commit data...
OWNERS Loading commit data...
test_owners.csv Loading commit data...