k3s/cluster
Kubernetes Submit Queue 7ee9abe447 Merge pull request #40339 from noseka1/master
Automatic merge from submit-queue (batch tested with PRs 40549, 40339)

Invalid node names when deploying with Heat

OpenStack Heat templates create Kubernetes nodes with invalid
hostnames. Capital letters are not allowed in the hostnames:

Unable to register node "kubernetes-node-6s8OizYe" with API server: Node "kubernetes-node-6s8OizYe" is invalid: metadata.name: Invalid value: "kubernetes-node-6s8OizYe": must match the regex [a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)* (e.g. 'example.com')

This patch prevents Heat generating hostnames that contain
capital letters.



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

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

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-01-29 23:52:07 -08:00
..
addons Update go version to go1.8rc2 and fix the addon-manager changelog 2017-01-27 22:44:18 +02:00
aws cluster: update default rkt version to 1.23.0 2017-01-23 15:22:33 +00:00
azure
azure-legacy Use ensure-temp-dir in the common.sh script 2017-01-19 09:30:50 -05:00
centos Merge pull request #39462 from Shawyeok/master 2017-01-25 16:40:57 -08:00
gce Merge pull request #40172 from liggitt/abac-upgrade 2017-01-25 21:20:32 -08:00
gke Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
images Upgrade go version in Makefiles to 1.7, use qemu 2.7, armel => armhf and goarm=6 => goarm=7 and use go 1.7.4 2017-01-27 20:04:24 +02:00
juju Splitting master/node services into separate charm layers 2017-01-24 09:42:25 -06:00
kubemark Refactored kubemark code into provider-specific and provider-independent parts [Part-1] 2017-01-26 22:54:14 +01:00
lib Add test shell stack traces 2017-01-25 13:34:16 -05:00
libvirt-coreos adding local registry to libvirt_coreos 2016-12-19 07:51:46 +01:00
local
openstack-heat Merge pull request #40339 from noseka1/master 2017-01-29 23:52:07 -08:00
ovirt
photon-controller Use ensure-temp-dir in the common.sh script 2017-01-19 09:30:50 -05:00
rackspace When calling chown, use : instead of . to separate the user and 2017-01-26 13:39:06 -08:00
saltbase Merge pull request #40565 from bprashanth/glbc-version 2017-01-27 01:34:17 -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
windows Fixed the issue with log rotation 2016-12-12 11:08:41 -05: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
clientbin.sh Refactor the common parts of cluster/kube{ctl,adm}.sh into a util script. 2017-01-26 21:29:49 -08:00
common.sh Only run gcloud as root if we plan to change something. 2017-01-20 17:18:05 -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 Use the e2e zone name as the cluster name. 2017-01-24 10:50:51 -08:00
kubeadm.sh Refactor the common parts of cluster/kube{ctl,adm}.sh into a util script. 2017-01-26 21:29:49 -08:00
kubectl.sh Refactor the common parts of cluster/kube{ctl,adm}.sh into a util script. 2017-01-26 21:29:49 -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