Commit Graph

558 Commits

Author SHA1 Message Date
Mike Danese 7af89bb646 Merge pull request #2 from mikedanese/addons
move kube_addon_manager to new home
2016-03-29 11:16:56 -07:00
Mike Danese 24dc804bab move addon manatger into subdirectory 2016-03-29 11:02:43 -07:00
Quintin Lee 5eec0fb93f Removing versions from deployment names. 2016-03-29 11:01:37 -07:00
Quintin Lee 90f046e907 Support addon Deployments, make heapster a deployment with a nanny. 2016-03-29 11:01:37 -07:00
bryk 0ca684752a Set kubernetes-dashboard as the default UI addon
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0

This replaces kube-ui addon
2016-03-29 11:01:37 -07:00
Andy Zheng 2c7fa3c243 Support master on Ubuntu Trusty
This change support running kubernetes master on Ubuntu Trusty.
It uses pure cloud-config and shell scripts, and completely gets
rid of saltstack or the release salt tarball.
2016-03-29 11:01:37 -07:00
Peter McDonnell e9f32808dc exit if unable to query status from apiserver 2016-03-29 11:01:37 -07:00
Dhawal Yogesh Bhanushali 8df36f9eba vsphere support 2016-03-29 11:01:37 -07:00
Arsen Mamikonyan 4a11aa3056 Change repository references to https://github.com/kubernetes/kubernetes 2016-03-29 11:01:37 -07:00
Justin Santa Barbara 09cb75f3dc Salt: force service provider to systemd if systemd
The version of Salt we're running doesn't do a good job of detecting
systemd.  Inspired by https://github.com/saltstack/salt/issues/13926,
I added a provider-force to the services.

With this change, salt-call -l debug state.highstate succeeds, even for
repeated invocations.

The issue was (probably) benign, but definitely caused noised (e.g. #11297)
2016-03-29 11:01:37 -07:00
Josh Ellithorpe f5df2c160d Fix issues with Python3 and bring up a dev cluster 2016-03-29 11:01:37 -07:00
Yifan Gu 4c0c99033d kube-addons: Use python container if python is not found on the machine.
To build the python image, BUILD_PYTHON_IMAGE should be set during make.
When the addon script is running, it will check if python is installed
on the machine, if not, it will use the python image that built previously.
2016-03-29 11:01:37 -07:00
Prashanth Balasubramanian 65c48a79fc Cluster-loadbalancing addon 2016-03-29 11:01:37 -07:00
Brendan Burns 66d200a751 Make heapster config creation dynamic 2016-03-29 11:01:37 -07:00
Dai Zuozhuo d0f0177ae4 change -o template to -o go-template=... 2016-03-29 11:01:37 -07:00
Muhammed Uluyol a2f3dd10d8 Use quotes more consistently 2016-03-29 11:01:37 -07:00
Muhammed Uluyol c934df29a8 Use a persistent volume for the docker registry. 2016-03-29 11:01:37 -07:00
Muhammed Uluyol f66ca094f7 Launch a cluster-local registry.
This registry can be accessed through proxies that run on each node
listening on port 5000. We send the proxy images to the nodes directly
to avoid requests that hit the network during cluster launch. For now,
we continue to pull the registry itself over the network, especially
given its large size (we should be able to dramatically shrink the
image). On GCE we create a PD and use that for storage, otherwise we
use an emptyDir. The registry is not enabled outside of GCE. All
communication is currently plain HTTP. In order to use SSL, we will
need to be able to request a certificate/key from the apiserver signed
by the apiserver's CA cert.
2016-03-29 11:01:37 -07:00
Veres Lajos 3e0affde9b typofix - https://github.com/vlajos/misspell_fixer 2016-03-29 11:01:37 -07:00
Eric Paris ed33e20824 Respect KUBECTL_BIN in kube-addon-update.sh not just kube-addons.sh 2016-03-29 11:01:37 -07:00
Eric Paris 609eec02fe generate-cert: allow for alternative paths
Instead of hard coding kube-cert and /srv/kubernetes allow these to be
overwritten by environment variables.  / is immutable on some systems
and so /srv is not a possible location to store data.
2016-03-29 11:01:37 -07:00
Piotr Szczesniak 2d64a4c911 Made enabling Kube UI configurable 2016-03-29 11:01:37 -07:00
Marek Biskup 6b070f69d2 kill child processes of addon-update on stop 2016-03-29 11:01:37 -07:00
Satnam Singh 6ffbdc1708 Wait for service accounts in the kube-system namesapce 2016-03-29 11:01:23 -07:00
Brendan Burns 3d28c6cbab Move things into a 'kube-system' namespace. 2016-03-29 11:01:23 -07:00
Justin Santa Barbara 914ad5c63f Salt: have kube-addons service depend on init file
For symmetry with systemd
2016-03-29 11:01:23 -07:00
Justin Santa Barbara 7dee33b12d Salt: Add more dependencies to systemd services
This may help Salt reload services correctly, although we still
need the script until Salt's bug with reloading services on systemd
is resolved.

Salt bug: https://github.com/saltstack/salt/issues/16778
2016-03-29 11:01:23 -07:00
Justin Santa Barbara 400d9a8940 Salt: support systemd (don't assume Redhat <=> systemd)
Also work around problems with Salt & systemd services, in particular
that Salt doesn't issue a daemon-reload.
2016-03-29 11:01:23 -07:00
nikhiljindal 224e3ca9c5 Stop exposing v1beta3 by default 2016-03-29 11:01:23 -07:00
Tim St. Clair 6b30c23527 Add kube-ui cluster addon for serving k8s dashboard UI.
Changes include:
- Add kube-ui binary for serving static dashboard UI
- Add kube-ui docker image, replication controller, and service
- Make the kube-ui a cluster-addon (enabled by default)
- Split the compiled pkg/ui/datafile.go into separate dashboard and swagger packages
- Update docs to reflect changes
2016-03-29 11:01:23 -07:00
Marek Biskup 8532e34774 namespaces in addon update 2016-03-29 11:01:23 -07:00
Marek Biskup 0eecf63fb4 addon updater should not retry too many times because specs may be invalid 2016-03-29 11:01:23 -07:00
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
Vishnu Kannan 70bee7b606 Updating heapster version to v0.14.1.
Adding a standalone version of heapster which exposes stats via REST API.

(cherry picked from commit 31f7ea10c6b3fcfd463983fed0bfcaed710b143f)
2016-03-29 10:58:03 -07:00
saadali 1e507fe243 Enable InfluxDB/Grafana for GCE in addition to GCM/GCL
(cherry picked from commit bc53533c833bf07c0d247ab410eedca055417954)
2016-03-29 10:58:03 -07:00
Vishnu Kannan 232c76de4c Updating heapster version to v0.14.1.
Adding a standalone version of heapster which exposes stats via REST API.
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
saadali 8fd21e459f Enable InfluxDB/Grafana for GCE in addition to GCM/GCL 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
Satnam Singh 1d533e43a3 Convert Elasticsearch logging to v1beta and de-salt 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