• Kubernetes Submit Queue's avatar
    Merge pull request #39033 from shyamjvs/provider-independent-kubemark · 093ceb95
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 36693, 40154, 40170, 39033)
    
    Refactored kubemark into cloud-provider independent code and GCE specific code
    
    Ref issue #38967 
    
    The following are the major changes as part of this refactoring:
    - Moved cluster-kubemark/config-default.sh -> cluster-kubemark/gce/config-default.sh (as the config is gce-specific)
    - Changed kubernetes/cluster/kubemark/util.sh to source the right scripts based on the cloud-provider
    - Added test/kubemark/skeleton/util.sh which defines a well-commented interface that any cloud-provider should implement to run kubemark. (We have this interface defined only for gce currently)
      This includes functions like creating the master machine instance along with its resources, executing a given command on the master (like ssh), scp, deleting the master instance and its resources.
      All these functions have to be overrided by each cloud provider inside the file /test/kubemark/$CLOUD_PROVIDER/util.sh
    - Added the file test/kubemark/cloud-provider-config.sh which sets the variable CLOUD_PROVIDER that is later picked up by various scripts (start-kubemark.sh, stop-kubemark.sh, run-e2e-tests.sh)
    - Removed test/kubemark/common.sh and moved whatever provider-independent code it had into start-kubemark.sh (the only place where the scipt is called) and moved the little gce-specific code
      into test/kubemark/gce/util.sh.
    - Finally, removed useless code and restructured start-kubemark.sh and stop-kubemark.sh scripts.
    
    @kubernetes/sig-scalability-misc @wojtek-t @gmarek
    093ceb95
Name
Last commit
Last update
..
addons Loading commit data...
aws Loading commit data...
azure Loading commit data...
azure-legacy 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...
openstack-heat Loading commit data...
ovirt Loading commit data...
photon-controller Loading commit data...
rackspace Loading commit data...
saltbase Loading commit data...
skeleton Loading commit data...
ubuntu Loading commit data...
vagrant Loading commit data...
vsphere Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md 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...
log-dump.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...