k3s/cluster
Kubernetes Submit Queue ef7458d45b Merge pull request #35573 from ixdy/get-kube-binaries-script
Automatic merge from submit-queue

Make get-kube.sh smarter when choosing if it should download

The #19404 fix for #15197 doesn't work very well when this script is used in CI

Since our kubernetes release tarballs are always named `kubernetes.tar.gz`, checking timestamps alone won't guarantee we do the right thing. If we're trying to extract a different release than the version currently downloaded, both `curl` and `wget` will just use the preexisting version.

My change makes the caching a bit more explicit; we look inside the kubernetes tarball for the `version` file and compare that to the release requested.

I've also added some code to automatically delete the preexisting `kubernetes/` directory so that we don't get into a weird state with multiple versions extracted into the same root.

This is a lot of shell, and I've tested the various branches manually, but we definitely need a better way to automate testing this (or simplify/remove some of the functionality).

cc @fejta @spxtr @nagarjung @roberthbailey
2016-10-26 14:23:40 -07:00
..
addons Revert "increment kube-addon-manager version number;" 2016-10-26 14:33:08 +02:00
aws Revert "bootstrap: Start hostNetwork pods even if network plugin not ready" 2016-10-25 08:38:59 -07:00
azure azure kube-up respects AZURE_RESOURCE_GROUP 2016-07-08 11:59:32 -07:00
azure-legacy rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
centos Fix typo: incremeting -> incrementing 2016-09-24 16:10:51 -04:00
gce Adding rkt binary to GCI nodes via cloud-init. 2016-10-25 12:38:15 -07:00
gke rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
images Revert "increment kube-addon-manager version number;" 2016-10-26 14:33:08 +02:00
juju Merge pull request #34752 from ivan4th/fix-misspellings-of-receive 2016-10-17 03:19:18 -07:00
kubemark Fix too small network for kubemark 2016-10-26 13:26:03 +02:00
lib Add a verbosity concept to kubernetes scripts 2016-08-04 22:01:22 -07:00
libvirt-coreos Download the coreos_production_qemu_image over SSL. 2016-10-12 13:43:47 -07:00
local Merge pull request #28469 from asalkeld/local-e2e 2016-09-11 05:44:47 -07:00
mesos/docker rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
openstack-heat Merge pull request #27783 from jianhuiz/openstack-heat-network 2016-09-07 16:25:02 -07:00
ovirt
photon-controller [squash] Rename and move to storageclass/ 2016-08-22 14:11:01 +02:00
rackspace Make Rackspace deploy scripts compatible with Kubernetes v1.3.0 2016-08-08 16:05:39 +05:00
saltbase Revert "increment kube-addon-manager version number;" 2016-10-26 14:33:08 +02:00
skeleton Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
ubuntu rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
vagrant rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
vsphere vSphere Kube-up: resolve vm-names on all nodes. 2016-10-22 09:36:06 +00:00
OWNERS Add jbeda to OWNERS for build, cluster, hack 2016-09-27 14:53:16 -07:00
README.md add maintenance notice to cluster/README 2016-06-13 11:47:30 -07:00
common.sh rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
get-kube-binaries.sh Make get-kube.sh smarter when choosing if it should download 2016-10-26 11:17:56 -07:00
get-kube-local.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
get-kube.sh Make get-kube.sh smarter when choosing if it should download 2016-10-26 11:17:56 -07:00
kube-down.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
kube-push.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
kube-up.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
kube-util.sh federation: aws compatibility for cluster and e2e frameworks 2016-10-07 11:25:18 -07:00
kubectl.sh rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
log-dump.sh log-dump.sh: Fix kubemark log-dump.sh 2016-10-12 13:47:36 -07:00
options.md
test-e2e.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
test-network.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
test-smoke.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
update-storage-objects.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
validate-cluster.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00

README.md

Cluster Configuration

Deprecation Notice: This directory has entered maintainence 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