Commit Graph

27368 Commits

Author SHA1 Message Date
Danny Jones
2d9bad95f8 Added HasAll utility method for string set.
Added HasAll method which detects if one set contains all
of the memebers of another set.

A.HasAll(B) returns true if A is a superset of B.
2014-07-18 13:19:55 -07:00
Jeff Mendoza
0d618788c3 Fix kube up azure templates 2014-07-18 13:16:49 -07:00
Jeff Mendoza
b4183409ab Comment and whitespace fixes. 2014-07-18 13:11:50 -07:00
Jeff Mendoza
3ff6b0f8a6 First draft of shell scripts for deploying kube to Azure. 2014-07-18 13:11:50 -07:00
Daniel Smith
d8faca9e81 Merge pull request #512 from smarterclayton/communicate_missing_pod_info
PodInfo should indicate when a pod is not found
2014-07-18 13:03:16 -07:00
Jonathan Boulle
9e63c3a633 assorted formatting and typo fixes 2014-07-18 13:02:59 -07:00
Brendan Burns
bf0cbac7ec Add a sleep to work around apparent races with salt. 2014-07-18 12:53:43 -07:00
Tim Hockin
fda69bcca2 Merge pull request #452 from Sarsate/extvol-hostdir
Initial framework for external volumes.
2014-07-18 12:44:38 -07:00
brendandburns
75447a93ef Merge pull request #518 from MSOpenTech/shell-scripts
Make build-release.sh not directory dependant.
2014-07-18 12:35:06 -07:00
Jeff Mendoza
a4ea512350 Make build-release.sh not directory dependant. 2014-07-18 11:51:19 -07:00
Clayton Coleman
a17f0d04d4 PodInfo should indicate when a pod is not found
Client should react.  Also, dial down the chattiness of errors for
pods which do not exist and stop processing NotFound earlier in
the podinfo chain
2014-07-18 13:32:10 -04:00
Daniel Smith
e9dbc4e8ad Merge pull request #509 from xiangli-cmu/kubelet
kubelet: cleanup
2014-07-18 10:24:11 -07:00
Daniel Smith
3da3c8386d Merge pull request #517 from brendandburns/sanity
Turn off error checking prior to sanity checking.
2014-07-18 10:20:55 -07:00
Daniel Smith
64d4e55624 Merge pull request #515 from brendandburns/fix
Add some more logging to service updates.
2014-07-18 10:18:04 -07:00
Xiang Li
86288ca82a kubelet: cleanup 2014-07-18 10:12:59 -07:00
Clayton Coleman
a52f38f37c Merge pull request #516 from smarterclayton/operation_server_not_returning
Operation server was not returning in error cases
2014-07-18 13:08:46 -04:00
Brendan Burns
a9723d059a Turn off error checking prior to sanity checking. 2014-07-18 09:47:13 -07:00
Clayton Coleman
0ccf1b7812 Operation server was not returning in error cases 2014-07-18 12:36:27 -04:00
Brendan Burns
fa69781b41 Add some more logging to service updates. 2014-07-18 09:29:49 -07:00
Clayton Coleman
7d0b8e0c1c Merge pull request #514 from brendandburns/fix
Insert a couple of sleeps to slow things down.
2014-07-18 12:25:12 -04:00
Brendan Burns
744072a71e Insert a couple of sleeps to slow things down. 2014-07-18 09:24:01 -07:00
Daniel Smith
2188907022 Merge pull request #486 from yugui/fix/404-if-notfound
Make RESTful operations return 404 Not Found when the target resource does not exist.
2014-07-18 09:03:17 -07:00
Tim Hockin
a6e7e47f87 Merge pull request #511 from smarterclayton/remove_excess_logging
Remove some verbose logging
2014-07-18 07:57:09 -07:00
Clayton Coleman
1831cf1711 Remove some verbose logging 2014-07-18 10:48:21 -04:00
Tim Hockin
2f593c92fa Merge pull request #487 from yugui/fix/golint
Fixes Go lint errors and a style fix
2014-07-17 22:44:31 -07:00
Tim Hockin
5ae67c5857 Merge pull request #287 from rafael/patch-1
Update commands to reflect latest changes.
2014-07-17 22:43:15 -07:00
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
Yuki Yugui Sonoda
e0d749f952 fix typo 2014-07-18 14:13:55 +09:00
Daniel Smith
f6bbcff93a Merge pull request #491 from monnand/cadvisor-update-3
Retrieve machine spec from cAdvisor
2014-07-17 16:01:52 -07:00
Danny Jones
bb2843498d API modified to use source; now supports EmptyDirectory
API is now modified to use a Source struct to handle multiple volumes.

Two volume types are supported now, HostDirectory and EmptyDirectory.
2014-07-17 15:25:50 -07:00
Nan Deng
564a58722c Retrieve machine spec from cAdvisor 2014-07-17 15:21:47 -07:00
Daniel Smith
0136db899c Merge pull request #502 from smarterclayton/rename_kubelet_server_files
Rename kubelet_server*.go to server*.go
2014-07-17 10:43:19 -07:00
Clayton Coleman
15e791fc5b Rename kubelet_server*.go to server*.go 2014-07-17 13:42:24 -04:00
Danny Jones
f1a7850454 Adds EmptyDirectory volume struct
Adds EmptyDirectory to volumes. This represents a directory
on the host, given to a pod that should not persist beyond.

The current draft does not cleanup after itself.
2014-07-17 10:09:14 -07:00
Danny Jones
f84ff740f0 Adds initial volumes package; Supports host-dirs
Adds the framework for external volume mounts.

Currently supports bare host directory mounts.

Modifies the API to support host directory mounts from Volumes
instead of VolumeMounts.
2014-07-17 10:08:45 -07:00
Yuki Yugui Sonoda
5e31ca3b27 Correct godoc messages according to review comments 2014-07-17 12:27:58 +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