Commit Graph

879 Commits

Author SHA1 Message Date
Yuki Yugui Sonoda
2aa3de12d4 Make RESTful operations return 404 Not Found when the target resource
does not exist.

In the original implementation, GET, DELETE and PUT operations on
non-existent resources used to return 500 but not 404.
2014-07-18 14:16:56 +09:00
Clayton Coleman
831ab28759 Merge pull request #483 from brendandburns/health
Add a caching minion registry.
2014-07-16 20:51:27 -04:00
Tim Hockin
e1aa886f26 Merge pull request #498 from GoogleCloudPlatform/revert-495-retry-gsutil-cp
Revert "Retry failed release downloads"
2014-07-16 17:22:28 -07:00
Tim Hockin
e0b6222ebf Revert "Retry failed release downloads" 2014-07-16 17:22:05 -07:00
Tim Hockin
a9a4bbd41e Merge pull request #495 from ryfow/retry-gsutil-cp
Retry failed release downloads
2014-07-16 17:20:26 -07:00
Tim Hockin
99614a5713 Merge pull request #497 from bgrant0607/master
Answer 2 FAQs about motivations for pods.
2014-07-16 17:12:35 -07:00
Brian Grant
0063682a95 Answer 2 FAQs about motivations for pods. 2014-07-16 23:38:47 +00:00
Clayton Coleman
17053f5950 Merge pull request #465 from smarterclayton/simplify_config_for_reuse
Extract proxy/config common functions for reuse
2014-07-16 18:28:07 -04:00
Brendan Burns
dceafbadab Add a caching minion registry. 2014-07-16 14:52:32 -07:00
Ryan Fowler
6bef460bdf Retry failed release downloads
gsutil cp is prone to failure during initial creation of a Kubernetes
cluster. This 'until' loop will keep trying as suggested in the 'gsutil
cp' documentation.
2014-07-16 16:24:11 -05:00
Tim Hockin
c78206d2f7 Merge pull request #472 from lavalamp/dia
First take at architecture diagram.
2014-07-16 14:09:06 -07:00
Daniel Smith
7b4b87fd76 First take at architecture diagram. 2014-07-16 14:06:07 -07:00
Daniel Smith
7127eefd36 Merge pull request #469 from smarterclayton/unify_container_lookup
Make container lookup in the Kubelet cleaner
2014-07-16 12:15:52 -07:00
Clayton Coleman
021cf64808 Change proxy config to reuse util/config
Splits endpoint and service configuration into their own objects.  Also makes
the endpoint and service configuration tests correct - there was a race condition
previously that meant tests were passing but not checking correct code.
2014-07-16 14:13:25 -04:00
Clayton Coleman
38ec4ff8c0 Create a configuration update utility
Extracted from proxy/config
2014-07-16 14:13:25 -04:00
Clayton Coleman
185a97b037 Make container lookup in the Kubelet cleaner
Reduce duplicate calls to list lookups for parallel go routines.
2014-07-16 14:12:13 -04:00
Daniel Smith
0e1636e003 Merge pull request #481 from bgrant0607/master
Documentation additions and refactoring.
2014-07-16 11:07:28 -07:00
Brian Grant
37fb72d295 Add networking documentation from issue #188. Refactor pod, label, and networking documentation to push details into separate documents. Add some documentation of how to connect to services. 2014-07-16 18:04:35 +00:00
brendandburns
02b06a2f2f Merge pull request #482 from monnand/cadvisor-update-2
Add code in client package to use kubelet's API to retrieve data from cAdvisor
2014-07-16 10:39:31 -07:00
brendandburns
8ddc33998c Merge pull request #464 from yugui/fix/golint2
Fixes Go lint errors
2014-07-16 09:55:30 -07:00
brendandburns
18c4f42c5c Merge pull request #460 from nyaxt/remove_random
Don't keep rand.Rand inside Master
2014-07-16 09:54:57 -07:00
Tim Hockin
191c878f59 Merge pull request #488 from byxorna/gabe-fix-apiserver-runimage
use correct syntax for alternative value of KUBE_MINIONS
2014-07-16 09:44:43 -07:00
Gabe Conradi
8350463341 use correct syntax for alternative value of KUBE_MINIONS 2014-07-16 10:47:14 -04:00
Yuki Sonoda (Yugui)
d2db5cdffc Fix a build failure of a test 2014-07-16 21:33:26 +09:00
Yuki Sonoda (Yugui)
c1eee00a57 Correct an error message 2014-07-16 21:33:26 +09:00
Yuki Sonoda (Yugui)
a702be8e63 Fixes new golint errors in pkg/kubelet after merge 2014-07-16 21:33:26 +09:00
Yuki Sonoda (Yugui)
07b8be4d4c Merge branch 'master' into fix/golint2
Conflicts:
	pkg/api/types.go
	pkg/health/health_check.go
	pkg/kubelet/kubelet.go
	pkg/kubelet/kubelet_server.go
	pkg/kubelet/kubelet_server_test.go
	pkg/kubelet/kubelet_test.go
2014-07-16 21:33:21 +09:00
Kouhei Ueno
938d9e811b don't reuse random 2014-07-16 15:58:16 +09:00
Tim Hockin
a28e900d46 Merge pull request #475 from lavalamp/httpLogger
Move logger to own package; clean up apiserver to use serve mux.
2014-07-15 22:12:09 -07:00
Nan Deng
6878f105c0 add a client to get container info from kubelet 2014-07-16 01:08:56 -04:00
Daniel Smith
90afdb06c1 Move logger to own package; clean up apiserver to use serve mux. 2014-07-15 21:25:33 -07:00
Daniel Smith
c7d31fabbc Merge pull request #480 from monnand/cadvisor-update-1
Update kubelet package to use most recent cAdvisor's code
2014-07-15 18:25:54 -07:00
Tim Hockin
e748a4b528 Merge pull request #479 from brendandburns/cpu
Add support for CPU limiting to the kubelet.
2014-07-15 17:26:09 -07:00
Brendan Burns
c331849e69 Add support for CPU limiting to the kubelet. 2014-07-15 16:49:34 -07:00
brendandburns
74e17022e4 Merge pull request #474 from yifan-gu/close_chan
Changed op.notify<-true to close(op.notify).
2014-07-15 16:03:53 -07:00
Daniel Smith
3d63d733e3 Merge pull request #456 from brendandburns/health
Move health checking logic out to a utility. Add a minion registry that health checks.
2014-07-15 15:39:21 -07:00
Brendan Burns
c5db874090 Addressed comments. 2014-07-15 15:16:36 -07:00
Yifan Gu
0e9e2ee7f4 Changed op.notify<-true to close(op.notify). 2014-07-15 15:08:04 -07:00
Nan Deng
30bc2af9f1 gofmt -r "GetContainerStats->GetContainerInfo" 2014-07-15 11:53:00 -07:00
Nan Deng
8c573ee727 Update to latest cAdvisor and use data structures directly from cAdvisor 2014-07-15 11:53:00 -07:00
Tim Hockin
02ee27c133 Merge pull request #459 from rrreeeyyy/fix-kubeup-curl-timeout
Fix: cluster/kube-up.sh curl timeout a little bit short.
2014-07-15 11:43:25 -07:00
Daniel Smith
3b6f201770 Merge pull request #467 from vmarmol/cadvisor
Use latest cAdvisor image.
2014-07-15 10:38:52 -07:00
Daniel Smith
8ef60138e5 Merge pull request #466 from smarterclayton/move_docker_function_out
Move Docker specific function out of the Kubelet
2014-07-15 10:38:28 -07:00
Daniel Smith
b5bdef7086 Merge pull request #470 from GoogleCloudPlatform/revert-458-close_chan
Revert "Changed op.notify<-true to close(op.notify)."
2014-07-15 10:34:57 -07:00
Daniel Smith
61917a0628 Revert "Changed op.notify<-true to close(op.notify)." 2014-07-15 10:34:05 -07:00
Victor Marmol
d9962946fc Use latest cAdvisor image.
This keeps us from downloading all cAdvisor images just to use "latest".
2014-07-15 10:16:52 -07:00
Daniel Smith
e659688f6d Merge pull request #458 from yifan-gu/close_chan
Changed op.notify<-true to close(op.notify).
2014-07-15 09:29:49 -07:00
Tim Hockin
3a9295add0 Merge pull request #407 from yugui/fix/golint
Fixes Go lint errors.
2014-07-15 08:44:57 -07:00
Clayton Coleman
e02ea37d9f Move Docker specific function out of the Kubelet 2014-07-15 11:34:48 -04:00
Yuki Yugui Sonoda
edac5ce0b8 Fixes golint errors in pkg/kubelet 2014-07-15 22:56:31 +09:00