Commit Graph

9478 Commits

Author SHA1 Message Date
Clayton Coleman
9e87924983 Tone down kubelet logs for already run containers 2015-04-19 22:55:38 -04:00
Robert Bailey
eb1ea26995 Merge pull request #7012 from jlowdermilk/export-kubeconfig
export KUBECONFIG so callers of common.sh functions can use it
2015-04-17 16:37:10 -07:00
Prashanth B
f2f40b06aa Merge pull request #6943 from lavalamp/fix4
Improve endpoint controller
2015-04-17 16:30:31 -07:00
Jeff Lowdermilk
1c265f3784 export KUBECONFIG so callers of common.sh functions can use it 2015-04-17 16:22:07 -07:00
Brian Grant
2775b9e0de Merge pull request #6998 from zmerlynn/make_reboot_work
Make reboots work on GCE/GKE
2015-04-17 16:10:32 -07:00
Daniel Smith
eefaac26b7 Merge pull request #6939 from yichengq/bump-go-etcd
*: update go-etcd dependency
2015-04-17 15:46:27 -07:00
Daniel Smith
a2953fdc7e Make endpoint controller use framework 2015-04-17 15:21:51 -07:00
Daniel Smith
24a8cceb5c add work queue; test coverage 100% 2015-04-17 15:21:47 -07:00
Daniel Smith
da5111891c Fix selector handling in listers.go. 2015-04-17 15:21:37 -07:00
Jeff Lowdermilk
aba5d9aca5 Merge pull request #6969 from erictune/use_kubeconfig
Use kubeconfig in several components
2015-04-17 15:07:04 -07:00
Yu-Ju Hong
1f3e47f6f7 Merge pull request #7005 from yifan-gu/kube_dep
kubelet: Refactor shouldContainerBeRestarted():
2015-04-17 15:05:41 -07:00
Daniel Smith
8a17ea4894 Add Delete method to endpoints client. 2015-04-17 14:55:19 -07:00
Daniel Smith
f6238fa61f Merge pull request #7004 from krousey/scheduler_pointer_fix
Change a few uses of api.Pod to *api.Pod to avoid copying
2015-04-17 14:45:22 -07:00
Alex Robinson
6213f61370 Merge pull request #6941 from a-robinson/metrics
Add an integration test that checks for the metrics we expect to be exported from the master
2015-04-17 14:40:06 -07:00
Yifan Gu
29a5da231d kubelet: Refactor shouldContainerBeRestarted():
Remove the function's dependency on kubelet.
2015-04-17 14:35:39 -07:00
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
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
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