k3s/cluster
k8s-merge-robot 1521aa8a86 Merge pull request #23550 from luxas/fix_hyperkube_certs
Automatic merge from submit-queue

Fix so setup-files don't recreate/invalidate certificates that already exist

Fixes: #23197 and a lot of other DNS and dashboard issues

This is quite critical for `docker`-based users and should be considered as a **cherrypick-candidate** as it makes a lot of people wonder why Dashboard and/or DNS doesn't work. Example: https://github.com/kubernetes/dashboard/issues/374

Earlier when you shut your `docker.md` cluster down and started it again, all ServiceAccounts became invalidated by `setup-files` that happily ran once again and replaced all files. That made `apiserver` and `controller-manager` pick up the new certs (or there was a race condition, they _could_ have picked up the old certs too, but that's unlikely) and the old certs were put into `/var/run/secrets` because the ServiceAccount's Secrets were stored in etcd, which `setup-files` didn't touch.

@fgrzadkowski @huggsboson @thockin @mikedanese @vishh @pwittrock @eparis @bgrant0607
2016-04-01 14:47:17 -07:00
..
addons Create a new Deployment in kube-system for every version. 2016-03-29 13:26:36 -07:00
aws Remove the restart-kube-proxy and restart-apiserver functions 2016-03-18 01:49:01 -07:00
azure azure: add kube-down, remove need for tenant-id 2016-03-16 12:02:41 -07:00
centos Change repository references to https://github.com/kubernetes/kubernetes 2016-01-22 10:23:14 -05:00
cloudimages AWS: Update jessie image, to fix reboot issue 2016-03-05 16:57:57 -05:00
gce Merge pull request #23558 from andyzheng0831/enhance 2016-04-01 03:39:08 -07:00
gke Remove the restart-kube-proxy and restart-apiserver functions 2016-03-18 01:49:01 -07:00
images Merge pull request #23550 from luxas/fix_hyperkube_certs 2016-04-01 14:47:17 -07:00
juju Updating documentation link to point to k8s.io/docs/ 2016-03-23 12:26:37 -04:00
kubemark Use get-mater-size function in kubemark config 2016-03-16 17:38:55 +01:00
lib Remove cluster/kube-env.sh. 2016-03-08 16:57:31 -08:00
libvirt-coreos Remove the restart-kube-proxy and restart-apiserver functions 2016-03-18 01:49:01 -07:00
mesos/docker Remove the restart-kube-proxy and restart-apiserver functions 2016-03-18 01:49:01 -07:00
ovirt
rackspace Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
saltbase Merge pull request #23593 from dchen1107/docker 2016-03-31 13:31:52 -07:00
ubuntu Merge pull request #22845 from ZhangZhenhua/eliminate-roles-ambiguity 2016-03-21 21:30:15 -07:00
vagrant Remove the restart-kube-proxy and restart-apiserver functions 2016-03-18 01:49:01 -07:00
vsphere Fix typo of "attempts" in vsphere util.sh during checks. 2016-03-10 13:05:19 -05:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
README.md
common.sh Merge pull request #22674 from mml/kube-up-up-and-away 2016-03-12 00:39:33 -08:00
get-kube-local.sh Remove -v /dev:/dev from docker and docker-multinode 2016-02-07 22:15:20 +02:00
get-kube.sh Update get-kube.sh to not re-download the kubernetes archive 2016-01-11 12:03:54 +05:30
kube-down.sh Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
kube-push.sh Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
kube-up.sh Remove EXIT_ON_WEAK_ERROR variable 2016-03-21 12:22:03 +01:00
kube-util.sh Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
kubectl.sh Rework `cluster/juju` to reflect current work 2016-03-16 14:25:26 -04:00
log-dump.sh AWS kube-up: collect logs from e2e 2016-03-16 11:48:07 -04:00
options.md Minion->Name rename: cluster/vagrant, docs and Vagrantfile 2015-12-02 12:45:12 -08:00
test-e2e.sh Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
test-network.sh
test-smoke.sh
update-storage-objects.sh Test jobs/hpas in storage update 2016-03-04 17:05:39 -05:00
validate-cluster.sh validate-cluster.sh: Don't use ignored and deprecated option '--api-version' 2016-03-17 12:49:21 -03:00

README.md

Cluster Configuration

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