k3s/cluster
Kubernetes Submit Queue ef98b80bd0 Merge pull request #49172 from ianchakeres/gce-local-ssd-fix
Automatic merge from submit-queue (batch tested with PRs 48565, 49172)

On GCE check whether NODE_LOCAL_SSDS=0 and handle this case appropriately

**What this PR does / why we need it**: Presently if you are using a mac and GCE and specify NODE_LOCAL_SSDS=0, or use the default, you end up with 2 local SSDs.

**Which issue this PR fixes** : fixes https://github.com/kubernetes/kubernetes/issues/49171

**Special notes for your reviewer**:

I've discovered that this issue is due to b353792f9c/cluster/gce/util.sh (L579)

If NODE_LOCAL_SSDS=0, this evaluates to $(seq 0)

```
$ for i in $(seq 0); do echo $i; done
1
0
```

From man seq on mac osx

```
The seq utility prints a sequence of numbers, one per line (default), from first (default 1), 
to near last as possible, in increments of incr (default 1).When first is larger than last the 
default incr is -1.
```

This was run on mac with the seq manpage indicating it comes from BSD Feb 19 2010.

**Release note**:

```release-note
NONE
```
2017-07-21 01:13:19 -07:00
..
addons log node-problem-detector 2017-07-16 16:46:25 -04:00
aws
centos fix systemd service file for custom args. 2017-06-22 14:27:28 +08:00
gce Merge pull request #49172 from ianchakeres/gce-local-ssd-fix 2017-07-21 01:13:19 -07:00
gke Log error when fail to execute command in with-retry() 2017-07-13 14:56:16 -07:00
images support to build hyperkube image on ppc64le 2017-06-22 00:53:05 +00:00
juju Merge pull request #49278 from juju-solutions/bug/master-msg 2017-07-20 21:59:34 -07:00
kubemark Update NODE_OS_DISTRIBUTION from debian to gci 2017-07-11 14:47:35 -07:00
lib
libvirt-coreos Add Initializers to all admission control paths by default 2017-06-02 22:09:04 -04:00
local
log-dump Fix bug with sed in log-dump script 2017-07-20 14:34:18 +02:00
openstack-heat Add configuration for swift container name 2017-06-29 10:15:55 -07:00
photon-controller Add Initializers to all admission control paths by default 2017-06-02 22:09:04 -04:00
pre-existing Launch kubemark with an existing Kubemark Master 2017-07-05 09:14:53 -04:00
saltbase Merge pull request #49222 from yujuhong/fix-l7-backend 2017-07-20 23:01:16 -07:00
skeleton
vagrant remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00
vsphere
windows
BUILD
OWNERS
README.md Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
clientbin.sh
common.sh Fix typo 2017-07-12 11:38:14 -07:00
get-kube-binaries.sh
get-kube-local.sh hack/cluster: map /run/xtables.lock into containerized kubelet filesystem 2017-05-05 23:34:06 -05:00
get-kube.sh
kube-down.sh
kube-push.sh
kube-up.sh add some more deprecation warnings to cluster 2017-07-19 09:43:05 -07:00
kube-util.sh
kubeadm.sh
kubectl.sh
options.md
restore-from-backup.sh
test-e2e.sh
test-network.sh
test-smoke.sh
update-storage-objects.sh Support storageclass storage upgrades to v1 2017-05-24 10:43:56 -04:00
validate-cluster.sh Merge pull request #48864 from jszczepkowski/ha-e2e-fix 2017-07-14 02:48:06 -07: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