Commit Graph

9620 Commits

Author SHA1 Message Date
Kris Rousey
81497f3ed2 Changing the scheduler package to use *api.Pod instead of api.Pod to
avoid unnecessary shallow copies. The change rippled through a lot of
code.
2015-04-17 13:34:31 -07:00
Yicheng Qin
fea0684c80 *: update go-etcd dependency
We recently updated the go-etcd. It solves the following issues:
1. support both 0.4.x and 2.x cluster
2. support redirection
3. always switch to another etcd member in case of a network failure
4. fix a bug in sync cluster
2015-04-17 13:30:55 -07:00
Brian Grant
3450bfde19 Merge pull request #6997 from pires/cleanup_jenkins_recipe
Removed duplicated markdown file with a different name.
2015-04-17 13:24:49 -07:00
deads2k
d24b672aa0 allow multiple changes in kubeconfig modifyconfig 2015-04-17 16:02:36 -04:00
Vish Kannan
c3caf397af Merge pull request #6935 from derekwaynecarr/fix_quota
Fix quota status not updating with change in spec
2015-04-17 12:52:33 -07:00
Eric Tune
6081fa52a7 controller, scheduler, proxy use kubeconfig
--master option still supported.
--kubeconfig option added to kube-proxy,
kube-scheduler, and kube-controller-manager
binaries.

Kube-proxy now always makes some kind of API
source, since that is its only kind of config.
Warn if it is using a default client, which probably won't work.

Uses the clientcmd builder.
2015-04-17 12:44:17 -07:00
Brian Grant
4b377e2ef6 Merge pull request #6977 from justinsb/move_var_lib_kubelet
AWS: Move /var/lib/kubelet to /mnt
2015-04-17 12:43:01 -07:00
Zach Loafman
6feef86b0b Merge pull request #6980 from eparis/go-build-cleanup
Go build cleanup
2015-04-17 12:41:05 -07:00
Eric Paris
2915c90200 Remove -installsuffix from go build
This is a go install argument which has no use in go build. Clean it up.
2015-04-17 15:33:00 -04:00
Eric Paris
d7fefb6f39 Indicate progress when doing a go build
It is slow.
2015-04-17 15:32:26 -04:00
Alex Robinson
fe262c0d98 Add an integration test that checks for the metrics we expect to be exported
from the master.
2015-04-17 19:31:23 +00:00
Brian Grant
95183dde5a Merge pull request #6988 from zmerlynn/flock_gcloud_update
Use flock around gcloud component update to avoid race
2015-04-17 12:23:58 -07:00
Zach Loafman
bcb63642b8 Make reboots work on GCE/GKE
* Fixes an issue where salt-minion would actually come up after reboot
(upstart is horrible obnoxious)
* Caches .deb downloads
* Handles PD remount on reboot correctly
* Notes a future optimization

Fixes #5666
2015-04-17 12:12:00 -07:00
Paulo Pires
e6e221263a Removed duplicated markdown file with a different name. 2015-04-17 20:11:12 +01:00
Brian Grant
43c375f759 Merge pull request #6968 from hurf/master
Update priorities.go
2015-04-17 12:10:54 -07:00
Brian Grant
2cd04755c5 Merge pull request #6953 from eparis/cgo-build-fallback
fall back to go build when static cgo not possible
2015-04-17 12:03:50 -07:00
Fabio Yeon
c6ef2ddf8a Fix "validate-cluster.sh" to use "kubectl get componentstatus". 2015-04-17 11:59:53 -07:00
Fabio Yeon
951a125751 Add "componentstatus" to API for easier cluster health check. 2015-04-17 11:58:23 -07:00
Zach Loafman
aca8452a21 Merge pull request #6994 from cjcullen/staticip
Reserve Master IP before creating Master VM
2015-04-17 11:48:48 -07:00
Derek Carr
40d0e559a6 Merge pull request #6983 from posita/vagrant-provider-support-2741
READY FOR REVIEW - Fix #2741. Add support for alternate Vagrant providers: ...
2015-04-17 14:42:19 -04:00
Robert Bailey
972cf60d2b Merge pull request #6957 from ArtfulCoder/no_monit
remove unused file
2015-04-17 11:40:36 -07:00
Robert Bailey
ad7d009ba8 Merge pull request #6990 from jlowdermilk/fix-kubeconfig
Retry Move KUBECONFIG into common.sh, change default to new location
2015-04-17 11:38:11 -07:00
CJ Cullen
6a3c809833 Reserve Master IP before creating Master VM. 2015-04-17 11:36:00 -07:00
Zach Loafman
05d8e96cd4 Push the configure-vm.sh script when we push metadata
This is needed when we upgrade (and useful when you're trying to
change the startup script for reboots).

Along the way: allow add-instance-metadata[-from-file] to take a
variable number of KVs.
2015-04-17 11:27:48 -07:00
Yu-Ju Hong
26a70a52e6 Merge pull request #6843 from xiang90/cleanup
pkg/kubelet: clean up pod manager
2015-04-17 11:27:14 -07:00
Matt Bogosian
e8672e2242 Fix #2741. Add support for alternate Vagrant providers: VMWare Fusion, VMWare Workstation, and Parallels. 2015-04-17 11:26:29 -07:00
Alex Robinson
92e668108b Merge pull request #6987 from erictune/remove_rackspace_link
Unlink stale rackspace getting-started-guide.
2015-04-17 11:19:41 -07:00
Alex Robinson
959d6f406c Merge pull request #6950 from roberthbailey/getting-started
Update GKE/GCE getting started guides to refer to the latest release.
2015-04-17 11:01:23 -07:00
Dawn Chen
e5eec703e0 Merge pull request #6959 from ArtfulCoder/use_busybox
Use busybox as base image for docker images of kubernetes-master components
2015-04-17 10:48:56 -07:00
Yu-Ju Hong
13b29cd64b Merge pull request #6595 from guenter/kubelet-update-channel-closed
kubelet syncloop should stop if/when updates chan closes
2015-04-17 10:42:05 -07:00
Jeff Lowdermilk
2a8291a67e Retry Move KUBECONFIG to common.sh, change default to new location 2015-04-17 10:33:12 -07:00
Xiang Li
28c1726232 pkg/kubelet: minor cleanup in pod_manager.go 2015-04-17 10:24:38 -07:00
Xiang Li
864f9b4a8a pkg/kubelet: drop unnecessary receiver in pod_manager.go 2015-04-17 10:24:38 -07:00
Xiang Li
ede4fb4a37 pkg/kubelet: remove unnecessary wrapper code in pod_manager.go 2015-04-17 10:24:38 -07:00
Clayton Coleman
153a362501 Merge pull request #6938 from derekwaynecarr/fix_nil_pointer
Fix nil pointer in etcd tools
2015-04-17 13:20:59 -04:00
Zach Loafman
d5f02b2970 Use flock around gcloud component update to avoid race 2015-04-17 09:50:15 -07:00
Eric Tune
ed23bbb0ab Unlink stale rackspace getting-started-guide.
Leaving cloud provider in as community person is
working on updating it.
2015-04-17 09:46:32 -07:00
Brian Grant
12984c85ea Merge pull request #6984 from smarterclayton/remove_duplicates
Don't insert duplicate arguments in SplitResourceArgs
2015-04-17 09:20:33 -07:00
Cesar Wong
2adaf104fa Use Pod.Spec.Host instead of Pod.Status.HostIP for pod subresources
The Spec.Host is set when binding a pod to a node and will contain the
canonical host name of the node. The Status.HostIP may not be included
in the node's server TLS certificate.
2015-04-17 11:40:00 -04:00
Clayton Coleman
4b85c0866a Don't insert duplicate arguments in SplitResourceArgs 2015-04-17 11:36:25 -04:00
derekwaynecarr
199011eee0 Fix nil pointer in etcd tools 2015-04-17 11:33:31 -04:00
Clayton Coleman
4833578a57 Merge pull request #6958 from smarterclayton/args_remain_in_order
`kubectl get rc,pods` should invoke in that order
2015-04-17 11:30:09 -04:00
Clayton Coleman
3bc42f1635 Merge pull request #6573 from kargakis/setup-resource-aliases
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
Robert Bailey
f3dd053a08 Merge pull request #6952 from mikedanese/kubelet-profiling
add enable_profiling option to kubelet healthz port
2015-04-17 07:42:35 -07:00
kargakis
9d056c6bd8 Support setting up aliases for groups of resources
Closes #5278
2015-04-17 16:31:59 +02:00
Eric Paris
5fb8602c65 fall back to go build when static cgo not possible
Instead of just failing, use go build if people don't have the magic cgo
stuff we need build-able/write-able.
2015-04-17 09:50:54 -04:00
Clayton Coleman
b3f03b934d Merge pull request #6869 from csrwng/pod_connect
Pod proxy, portforward and exec subresources
2015-04-17 09:49:12 -04:00
Justin Santa Barbara
b2bce12b6c AWS: Move /var/lib/kubelet to /mnt
The backing for empty-dir volumes otherwise consumes all our disk space
2015-04-17 06:46:08 -07:00
Zach Loafman
0232888a4b Merge pull request #6975 from zmerlynn/dont_error_on_update
Don't error out if gcloud update fails
2015-04-17 06:17:12 -07:00
Zach Loafman
db7e640bb5 Don't error out if gcloud update fails
Fixes #6974
2015-04-17 06:16:17 -07:00