• Kubernetes Submit Queue's avatar
    Merge pull request #48366 from wongma7/flex-e2e · b070227e
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 50119, 48366, 47181, 41611, 49547)
    
    Add basic install and mount flexvolumes e2e tests
    
    fixes https://github.com/kubernetes/kubernetes/issues/47010
    
    These two tests install a skeleton "dummy" flex driver, attachable and non-attachable respectively, then test that a pod can successfully use the flex driver. They are labeled disruptive because kubelet and controller-manager get restarted as part of the flex install. IMO it's important to keep this install procedure as part of the test to isolate any bugs with the startup plugin probe code.
    
    There is a bit of an ugly dependency on cluster/gce/config-test.sh because --flex-volume-plugin-dir must be set to a dir that's readable from controller-manager container and writable by the flex e2e test. The default path is not writable on GCE masters with read-only root so I picked a location that looks okay.
    
    In the "dummy" drivers I trick kubelet into thinking there is a mount point by doing "mount -t tmpfs none ${MNTPATH} >/dev/null 2>&1", hope that is okay.
    
    I have only tested on GCE and theoretically they may work on AWS but I don't think there is a need to test on multiple cloudproviders.
    
    -->
    ```release-note
    NONE
    ```
    b070227e
Name
Last commit
Last update
..
addons Loading commit data...
aws Loading commit data...
centos Loading commit data...
gce Loading commit data...
gke Loading commit data...
images Loading commit data...
juju Loading commit data...
kubemark Loading commit data...
lib Loading commit data...
libvirt-coreos Loading commit data...
local Loading commit data...
log-dump Loading commit data...
openstack-heat Loading commit data...
photon-controller Loading commit data...
pre-existing Loading commit data...
saltbase Loading commit data...
skeleton Loading commit data...
vagrant Loading commit data...
vsphere Loading commit data...
windows Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
clientbin.sh Loading commit data...
common.sh Loading commit data...
get-kube-binaries.sh Loading commit data...
get-kube-local.sh Loading commit data...
get-kube.sh Loading commit data...
kube-down.sh Loading commit data...
kube-push.sh Loading commit data...
kube-up.sh Loading commit data...
kube-util.sh Loading commit data...
kubeadm.sh Loading commit data...
kubectl.sh Loading commit data...
options.md Loading commit data...
restore-from-backup.sh Loading commit data...
test-e2e.sh Loading commit data...
test-network.sh Loading commit data...
test-smoke.sh Loading commit data...
update-storage-objects.sh Loading commit data...
validate-cluster.sh Loading commit data...