* Add Virtual Kubelet provider for VIC Initial virtual kubelet provider for VMware VIC. This provider currently handles creating and starting of a pod VM via the VIC portlayer and persona server. Image store handling via the VIC persona server. This provider currently requires the feature/wolfpack branch of VIC. * Added pod stop and delete. Also added node capacity. Added the ability to stop and delete pod VMs via VIC. Also retrieve node capacity information from the VCH. * Cleanup and readme file Some file clean up and added a Readme.md markdown file for the VIC provider. * Cleaned up errors, added function comments, moved operation code 1. Cleaned up error handling. Set standard for creating errors. 2. Added method prototype comments for all interface functions. 3. Moved PodCreator, PodStarter, PodStopper, and PodDeleter to a new folder. * Add mocking code and unit tests for podcache, podcreator, and podstarter Used the unit test framework used in VIC to handle assertions in the provider's unit test. Mocking code generated using OSS project mockery, which is compatible with the testify assertion framework. * Vendored packages for the VIC provider Requires feature/wolfpack branch of VIC and a few specific commit sha of projects used within VIC. * Implementation of POD Stopper and Deleter unit tests (#4) * Updated files for initial PR
2.0 KiB
Test 11-03 - Upgrade InsecureRegistry
Purpose:
To verify InsecureRegistries are correctly migrated
Environment:
This test requires that a vSphere server is running and available
Test Steps:
-
Deploy an insecure registry on http
-
Create a test project on insecure registry
-
Start a docker daemon with insecure registry configured
-
Push test image to insecure registry through above docker daemon(VCH docker push not implemented)
-
Download vic_7315.tar.gz from gcp if it does not exist locally
-
Deploy VIC 7315 to vsphere server with above insecure registry
-
Make sure pull given test image through VCH successfully
-
Upgrade VCH to latest version
-
Make sure pull given test image through VCH successfully
-
Deploy an insecure registry on https with self-signed certificate
-
Create a test project on insecure registry
-
Start a docker daemon with insecure registry configured
-
Push test image to insecure registry through above docker daemon(VCH docker push not implemented)
-
Download vic_7315.tar.gz from gcp if it does not exist locally
-
Deploy VIC 7315 to vsphere server with above insecure registry
-
Make sure pull given test image through VCH successfully
-
Upgrade VCH to latest version
-
Make sure pull given test image through VCH successfully
Expected Outcome:
- Able to pull given test image through VCH successfully both before and after upgrade
Possible Problems:
- This suite may fail when run locally due to a
vic-machine upgradeissue. Sincevic-machinechecks the build number of its binary to determine upgrade status and a locally-builtvic-machinebinary may not have theBUILD_NUMBERset correctly,vic-machine upgrademay fail with the messagefoo-VCH has same or newer version x than installer version y. No upgrade is available.To resolve this, follow these steps:- Set
BUILD_NUMBERto a high number at the top of theMakefile-BUILD_NUMBER ?= 9999999999 - Re-build binaries -
sudo make distclean && sudo make clean && sudo make all
- Set