k3s/cluster
Kubernetes Submit Queue 093ceb9528 Merge pull request #39033 from shyamjvs/provider-independent-kubemark
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
2017-01-20 09:18:54 -08:00
..
addons Merge pull request #40170 from deads2k/client-10-restclient 2017-01-20 09:18:52 -08:00
aws Use ensure-temp-dir in the common.sh script 2017-01-19 09:30:50 -05:00
azure
azure-legacy Use ensure-temp-dir in the common.sh script 2017-01-19 09:30:50 -05:00
centos fix unpack docker.tar.gz failure bug 2017-01-06 00:17:36 +08:00
gce Use ensure-temp-dir in the common.sh script 2017-01-19 09:30:50 -05:00
gke Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
images Update kubectl to stable version for Addon Manager 2017-01-12 13:49:13 -08:00
juju Use kube-dns:1.11.0 2017-01-17 08:37:24 -08:00
kubemark Refactored kubemark code into provider-specific and provider-independent parts 2017-01-19 15:34:13 +01:00
lib
libvirt-coreos adding local registry to libvirt_coreos 2016-12-19 07:51:46 +01:00
local
openstack-heat [OpenStack-Heat] Fix regex used to get object-store URL 2017-01-18 16:29:41 -05:00
ovirt
photon-controller Use ensure-temp-dir in the common.sh script 2017-01-19 09:30:50 -05:00
rackspace
saltbase Merge pull request #39966 from liggitt/cert-users 2017-01-20 08:28:51 -08:00
skeleton
ubuntu fix typo for cluster/* 2016-12-20 04:56:45 -08:00
vagrant Use ensure-temp-dir in the common.sh script 2017-01-19 09:30:50 -05:00
vsphere Update generated for 2017 2017-01-01 23:11:09 -08:00
BUILD Build release tarballs in bazel and add `make bazel-release` rule 2017-01-13 16:17:44 -08:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00
README.md
common.sh Merge pull request #39966 from liggitt/cert-users 2017-01-20 08:28:51 -08:00
get-kube-binaries.sh Automatically download missing kube binaries in kube-up/kube-down. 2016-12-13 14:59:13 -08:00
get-kube-local.sh
get-kube.sh Remove kube-up for vsphere 2016-12-22 20:15:37 +00:00
kube-down.sh Automatically download missing kube binaries in kube-up/kube-down. 2016-12-13 14:59:13 -08:00
kube-push.sh Automatically download missing kube binaries in kube-up/kube-down. 2016-12-13 14:59:13 -08:00
kube-up.sh Automatically download missing kube binaries in kube-up/kube-down. 2016-12-13 14:59:13 -08:00
kube-util.sh [Federation][init-11] Switch federation e2e tests to use the new federation control plane bootstrap via the `kubefed init` command. 2016-12-16 11:22:44 +05:30
kubeadm.sh Update scripts to look for binary artifacts in bazel-bin/ 2017-01-13 16:17:48 -08:00
kubectl.sh Update scripts to look for binary artifacts in bazel-bin/ 2017-01-13 16:17:48 -08:00
log-dump.sh Added etcd-events to cluster logging 2017-01-06 10:28:48 +01:00
options.md
restore-from-backup.sh Extend logging in restore-from-backup script 2016-12-21 15:10:47 +01:00
test-e2e.sh
test-network.sh
test-smoke.sh
update-storage-objects.sh
validate-cluster.sh Fixed cluster validation: added -q and project flags to gcloud. 2016-12-21 14:13:14 +01:00

README.md

Cluster Configuration

Deprecation Notice: This directory has entered maintenance mode and will not be accepting new providers. Please submit new automation deployments to kube-deploy. Deployments in this directory will continue to be maintained and supported at their current level of support.

The scripts and data in this directory automate creation and configuration of a Kubernetes cluster, including networking, DNS, nodes, and master components.

See the getting-started guides for examples of how to use the scripts.

cloudprovider/config-default.sh contains a set of tweakable definitions/parameters for the cluster.

The heavy lifting of configuring the VMs is done by SaltStack.

Analytics