• Kubernetes Submit Queue's avatar
    Merge pull request #43188 from vmware/VSANPolicyTest · 2c8a1565
    Kubernetes Submit Queue authored
    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
    ```
    2c8a1565
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
translations Loading commit data...
vendor Loading commit data...
.bazelrc Loading commit data...
.gazelcfg.json Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...