Commit Graph

18 Commits

Author SHA1 Message Date
Zach Loafman cd8d6ae832 Fix issues mentioned in #10520 2016-03-29 10:58:03 -07:00
Daniel Smith 95f8c2d6c0 wait until a token shows up to start addons 2016-03-29 10:58:03 -07:00
Marek Biskup 6e8e1d877e e2e test for addon update 2016-03-29 10:58:03 -07:00
Jeffrey Bean d7c72f79dd kube_addons - Adding variable with default for kubectl bin. Fixes #9599 2016-03-29 10:58:03 -07:00
Robert Bailey 8e425f5084 Distribute the cluster CA cert to cluster addon pods through
the kubeconfig file. Use the $KUBERNETES_MASTER_NAME from the
kube-env for skydns, because it can't use the service name.
2016-03-29 10:58:03 -07:00
Marek Biskup 534a8d6f72 kube-addon-update.sh 2016-03-29 10:58:03 -07:00
Dawn Chen 06d3aac90e Create LimitRange object for cluster before addons service 2016-03-29 10:58:03 -07:00
Kris Rousey 107cbc92a5 Updating /cluster to use v1beta 3 specs, and change a lot of polling to
healthz instead of api endpoints.
2016-03-29 10:58:03 -07:00
saadali 6a907b1135 Enable Google Cloud Monitoring and Google Cloud Logging instead of
Influxdb for Google Compute Engine deployments.
2016-03-29 10:58:03 -07:00
Eric Paris 8f7090bce1 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2016-03-29 10:58:03 -07:00
CJ Cullen 68f9aafe0f kube2sky using kubeconfig secret: take 2. Point system secrets at https://kubernetes. Override in clients that can't use DNS. 2016-03-29 10:58:03 -07:00
Eric Tune 8a926f2aba Create system secrets in kubeconfig format
Was previously kubernetes_auth format.

Added defaults file which uses salt to fill in an env var
with the master's IP.

More thought needs to be given soon to how to make this
connection use a cert for the master, and how to support
multiple masters, and whether to use the DNS record
instead of an IP address.  But this PR unblocks some other
more urgent things, so doing it this way.
2016-03-29 10:58:03 -07:00
Eric Tune ffe3ee4472 Fix kube-addon retrying. 2016-03-29 10:58:03 -07:00
Eric Tune 2ca3917fcb Make secrets at cluster startup.
These secrets will be used in subsequent PRs by:
scheduler, controller-manager, monitoring services,
logging services, and skydns.

Each of these services will then be able to stop using kubernetes-ro
or host networking.
2016-03-29 10:58:03 -07:00
Eric Tune 93e34c6eed Use same addons script for init.d and systemd. 2016-03-29 10:58:03 -07:00
Zach Loafman f6caab55f8 Retry object creation with --validate in kube-addons
The better solution is some fence with Salt, but the actual logs
provided in the bug don't support any race condition here, plus the
ordering in the Salt configuration seems correct.

We haven't seen this again in a while, but given the results of the
situation (a borked cluster), I'm proposing a relatively simple
workaround.

Fixes #4357 (dubiously)
2016-03-29 10:58:03 -07:00
derekwaynecarr e6a8585721 Missing boilerplate 2016-03-29 10:58:03 -07:00
derekwaynecarr ca6a76a5ce Various vagrant fixes, etcd 2.0 2016-03-29 10:58:03 -07:00