Commit Graph

9499 Commits

Author SHA1 Message Date
Eric Tune
c3203cba6d 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.
2015-04-20 15:02:45 -07:00
Brendan Burns
e079e23e47 Merge pull request #6597 from fabioy/kubectl-validate
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
Brendan Burns
ba95c8a176 Merge pull request #7014 from a-robinson/dirname
Move the logging-related directories to where I think they belong
2015-04-20 10:50:09 -07:00
Brendan Burns
29875191ad Merge pull request #7000 from deads2k/deads-allow-many-modifications
allow multiple changes in kubeconfig modifyconfig
2015-04-20 10:46:12 -07:00
Nikhil Jindal
f2c62c94f8 Merge pull request #7019 from roberthbailey/update-demo-v1beta3
Migrate the update-demo to use v1beta3.
2015-04-20 10:30:25 -07:00
Yu-Ju Hong
cd61aa9484 Merge pull request #7009 from yifan-gu/kube_dep
kubelet: Refactor prober.
2015-04-20 10:23:04 -07:00
Brian Grant
00e6488932 Merge pull request #7041 from benmccann/roadmap-update
Mark a couple items as complete in the roadmap
2015-04-20 09:53:20 -07:00
Ben McCann
7d608f4290 Mark a couple items as complete in the roadmap 2015-04-20 08:33:40 -07:00
Victor Marmol
cf27de61c6 Merge pull request #7035 from smarterclayton/turn_down_kubelet_for_what
Tone down kubelet logs for already run containers
2015-04-20 08:05:25 -07:00
Victor Marmol
446f349910 Merge pull request #7037 from xiang90/no-self
pkg/kubelet: no more self receiver in kubelet pkg
2015-04-20 08:03:48 -07:00
Robert Bailey
8be0c1ca14 Merge pull request #7045 from erictune/fixaddons
Fix kube-addon retrying.
2015-04-20 07:58:26 -07:00
Eric Tune
424ae1d67a Fix kube-addon retrying. 2015-04-20 07:38:39 -07:00
Eric Paris
bd1bf11129 Merge pull request #6886 from aveshagarwal/kubectl-get-nodes-issue
This commit fixes "kubectl get nodes" output and makes it more sane. It also fixes related test case resource_printer_test.
2015-04-20 07:53:55 -05:00
Avesh Agarwal
a2ac72c4e7 This commit fixes "kubectl get nodes" output and makes it more sane, and also adds new unit test cases for SchedulingDisabled. 2015-04-20 00:12:18 -04:00
Xiang Li
2f2247dae3 pkg/kubelet: no more self receiver in kubelet pkg 2015-04-19 20:26:07 -07:00
Clayton Coleman
9e87924983 Tone down kubelet logs for already run containers 2015-04-19 22:55:38 -04:00
Robert Bailey
5b8767fa0c Migrate the update-demo to use v1beta3. 2015-04-17 23:35:46 -07:00
Alex Robinson
059a8c92bd Move the logging-related directories to where I think they belong.
1. Move fluentd-gcp to be a core cluster addon, rather than a contrib.
2. Get rid of the synthetic logger under contrib, since the exact same
synthetic logger was also included in the logging-demo.
3. Move the logging-demo to examples, since it's effectively an example.

We should also consider adding on a GCP section to the logging-demo
example :)
2015-04-17 23:59:50 +00: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
Yifan Gu
1d58992df7 kubelet: Refactor prober.
Decompose the health check prober from the kubelet.
2015-04-17 15:54:28 -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
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