k3s/cluster
Kubernetes Submit Queue eea406c108
Merge pull request #62669 from immutableT/deploy_helper_test
Automatic merge from submit-queue (batch tested with PRs 63007, 62919, 62669, 62860). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add unit test for configure-helper.sh.

**What this PR does / why we need it**:
Add a framework for unit-testing configure-helper.sh.
configure-helper.sh plays a critical role in initializing clusters both on GCE and GKE. It is currently, over 2K lines of code, yet it has no unit test coverage.
This PR proposes a framework/approach on how to provide test coverage for this component.
Notes: 
1. Changes to configure-helper.sh itself were necessary to enable sourcing of this script for the purposes of testing.
2. As POC api_manifest_test.go covers the logic related to the initialization of apiserver when integration with KMS was requested. The hope is that the same approach could be extended to the rest of the script.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-04-23 15:45:17 -07:00
..
addons Merge pull request #62728 from php-coder/psp_update_addons_manifests 2018-04-23 10:05:35 -07:00
centos rename StorageProtection to StorageObjectInUseProtection 2018-02-21 10:48:56 +08:00
gce Merge pull request #62669 from immutableT/deploy_helper_test 2018-04-23 15:45:17 -07:00
images Bump etcd default server version to 3.2.18 2018-04-11 21:12:44 -07:00
juju juju: Use k8s.gcr.io url for arm64 ingress image 2018-04-23 08:39:21 -05:00
kubemark Merge pull request #62660 from krzysied/kubemark_dns 2018-04-17 17:31:23 -07:00
kubernetes-anywhere
local
log-dump
pre-existing
skeleton
BUILD Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
OWNERS
README.md
clientbin.sh
common.sh Don't require release tars on kube-down 2018-04-05 17:39:18 -04:00
get-kube-binaries.sh
get-kube-local.sh
get-kube.sh
kube-down.sh
kube-up.sh Don't require release tars on kube-down 2018-04-05 17:39:18 -04:00
kube-util.sh
kubeadm.sh fix flaky integration tests 2018-03-29 09:45:46 -07:00
kubectl.sh
restore-from-backup.sh fix all the typos across the project 2018-02-11 11:04:14 +08:00
test-e2e.sh
test-network.sh
test-smoke.sh
update-storage-objects.sh cluster/update-storage-objects.sh: Fix to ignore deleted objects 2018-03-22 14:47:33 +09:00
validate-cluster.sh fix all the typos across the project 2018-02-11 11:04:14 +08: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