k3s/test/e2e/testing-manifests
Kubernetes Submit Queue b070227e89 Merge pull request #48366 from wongma7/flex-e2e
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
```
2017-08-04 14:29:34 -07:00
..
flexvolume Add basic install and mount flexvolumes e2e tests 2017-08-04 10:39:24 -04:00
ingress Use echoserver:1.6 for better debugging and XSS prevention. 2017-06-16 15:47:15 -07:00
kubectl Make a smaller redis image for testing, based on Alpine. 2017-03-28 16:18:00 -07:00
serviceloadbalancer
statefulset Adding cassandra test server manifests. 2017-08-02 16:30:53 -07:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00