kubernetes/test
Kubernetes Submit Queue 2c8a156579 Merge pull request #43188 from vmware/VSANPolicyTest
Automatic merge from submit-queue

e2e tests for VSAN policy support in Kubernetes for vSphere

Following e2e test cases have been implemented for VSAN policy support in Kubernetes for vSphere. These e2e tests are for PR #42974 which out for review.

A total of 8 test cases for below mentioned 5 different scenarios are implemented.

Test cases:

1. Validation of VSAN capabilities.
- hostFailuresToTolerate : Minimum 1 and Max 3. Should be integer.
- stripeWidth: Minimum is 1 and Maximum is 12. Should be integer.
- proportionalCapacity: Expressed in percentage. Should be between 0 and 100. Should be integer.
- iopsLimit: Should be greater than 0. Should be integer.

2. Use a VSAN testbed setup. Try valid VSAN capabilities which are supported by VSAN testbed. Make sure the disk is created with policy configured with it.
- Ex: Using hostFailuresToTolerate=0 and cacheReservation=12
Ex: diskStripes=1 and objectSpaceReservation=30

3. Use a VSAN testbed setup. Try valid VSAN capabilities which are not supported by VSAN testbed. Make sure that the disk creation fails and PVC status is pending.

4. Try using VSAN capabilities on a non-VSAN datastore. PVC status will be pending and it errors to the user saying to VSAN capabilities are not supported on a non-VSAN testbed.

5. Try all 1 to 5 with custom datastore specified by the user.

@jeffvance  @divyenpatel

**Release note**:

```release-note
None
```
2017-04-26 17:49:08 -07:00
..
e2e e2e tests for VSAN policy support in Kubernetes for vSphere - using storageClass v1 new 2017-04-26 12:57:45 -07:00
e2e_federation Cleanup: replace some hardcoded codes and remove unused functions 2017-04-25 09:38:25 +08:00
e2e_node Merge pull request #43395 from sjenning/selinux-e2e-node-lifecycle 2017-04-26 14:29:41 -07:00
fixtures Remove redis-proxy example 2017-04-23 16:59:23 +02:00
images Bump to go1.8.1 and remove the edge GOROOT 2017-04-25 23:45:47 +03:00
integration Use storage.v1 instead of v1beta1 2017-04-25 10:13:38 +02:00
kubemark hack/cluster: consolidate cluster/ utils to hack/lib/util.sh 2017-03-30 22:34:46 -05:00
list Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
soak Cleanup: replace some hardcoded codes and remove unused functions 2017-04-25 09:38:25 +08:00
utils move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod 2017-04-17 11:38:11 -07:00
BUILD auto-generated bazel BUILD file changes 2017-01-19 08:00:52 +05:30
OWNERS add eparis ass approver for test and examples 2017-03-30 11:58:49 -04:00
test_owners.csv Add/remove kargakis from a couple of places 2017-03-11 16:05:57 +01:00