k3s/cluster
Zach Loafman a305269e18 Deferred creation of SkyDNS, monitoring and logging objects
This implements phase 1 of the proposal in #3579, moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.

This is such a wide commit because our existing initial config story
is special:

* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.

(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)

Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-21 12:25:50 -08:00
..
addons Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
aws Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
azure Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
gce Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
gke Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
local Fix local cluster scripts 2014-11-02 23:30:14 -05:00
ovirt Add support for oVirt cloud provider 2014-09-11 13:08:46 +00:00
rackspace Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
saltbase Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
ubuntu ubuntu getting started guide 2014-12-15 15:43:35 -08:00
vagrant Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
vsphere Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
get-kube.sh Address comments. 2015-01-08 15:57:35 -08:00
kube-down.sh Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
kube-env.sh GKE: Limit liveness.sh to server version >0.7.2 2015-01-05 14:21:21 -08:00
kube-push.sh Set shell options for reliability. 2014-10-10 12:33:36 -07:00
kube-up.sh Deferred creation of SkyDNS, monitoring and logging objects 2015-01-21 12:25:50 -08:00
kube-util.sh Vagrant now using pre-built binaries. 2014-10-10 12:30:12 -07:00
kubecfg.sh Remove debug print in kubectl.sh 2014-12-19 16:09:04 -08:00
kubectl.sh Fix typos in user-facing strings 2015-01-18 01:32:34 -06:00
validate-cluster.sh Fix Kubelet check in GCE validate-cluster 2015-01-15 12:55:21 -08:00