k3s/cluster
Kubernetes Submit Queue 0e31372b2f
Merge pull request #67639 from mborsz/validate-cluster
Automatic merge from submit-queue (batch tested with PRs 67655, 67639). 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>.

Fix validate-cluster.sh for clusters with more than 500 nodes.

**What this PR does / why we need it**:

Without the change, validate-cluster.sh counts nodes using 'wc -l' minus one (header).
kubectl repeats header every 500 rows, so for bigger clusters this doesn't work.

**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 #67597

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-08-22 04:25:03 -07:00
..
addons Merge pull request #67582 from monotek/kibana 2018-08-20 20:39:13 -07:00
centos Supplementary information for common flags and add restart second config 2018-08-21 11:06:44 +08:00
gce Allow adding default capabilities to unprivileged addons 2018-08-20 17:28:09 -07:00
images Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
juju Merge pull request #66523 from hyperbolic2346/mwilson/ceph 2018-08-21 13:00:05 -07:00
kubemark Adding IKS functionality to kubemark 2018-07-23 11:42:22 -04:00
kubernetes-anywhere
local Remove duplicated detect-master for local 2018-08-15 19:04:40 +00:00
log-dump Store logs from 'logexporter' to allow debugging it. 2018-08-14 15:43:32 +02:00
pre-existing
skeleton
BUILD
OWNERS Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
README.md
clientbin.sh enable e2e test on Arm64 2018-08-13 16:34:25 +08:00
common.sh
get-kube-binaries.sh
get-kube-local.sh fix create-kubelet-kubeconfig. 2018-08-10 16:07:49 +08:00
get-kube.sh
kube-down.sh Exit gce kube-up.sh early if openssl is LibreSSL 2018-07-26 14:48:51 -07:00
kube-up.sh
kube-util.sh
kubeadm.sh
kubectl.sh
restore-from-backup.sh Remove references to the Debian-based Container-VM image 2018-07-03 17:05:31 -07:00
test-e2e.sh
test-network.sh
test-smoke.sh
update-storage-objects.sh
validate-cluster.sh Fix validate-cluster.sh for clusters with more than 500 nodes. 2018-08-21 15:19:41 +02: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