Commit Graph

940 Commits (dc7ee7c3331a035ce323314f07b39fd7e25f3087)

Author SHA1 Message Date
Kelsey Hightower dc7ee7c333 normalize -etcd_servers flag across all commands
The -etcd_servers flag is used inconsistently by the Kubernetes commands,
both externally and internally.

This patch fixes the issue by using the same type to represent a list of
etcd servers internally, and declares the -etcd_servers flag consistently
across all commands.

This patch should be 100% backwards compatible with no changes in behavior.
2014-07-20 07:48:47 -07:00
brendandburns 1e63719e02 Merge pull request #533 from kelseyhightower/examples
fix guestbook example to match docs
2014-07-19 22:57:08 -07:00
Kelsey Hightower 64618cd539 fix guestbook example to match docs 2014-07-19 22:22:33 -07:00
Tim Hockin e4055c2c5d Merge pull request #531 from thockin/cleanups
Break out small functions in cmd/kubelet
2014-07-19 22:17:35 -07:00
Tim Hockin 4aa1f04b08 Break out small functions in cmd/kubelet 2014-07-19 22:03:46 -07:00
Tim Hockin e41a0e5763 Merge pull request #530 from lavalamp/dia
Link to architecture diagram
2014-07-19 11:04:30 -07:00
Daniel Smith 06c55d142e Link to architecture diagram 2014-07-18 23:36:36 -07:00
Clayton Coleman d1de579070 Merge pull request #493 from lavalamp/scheduler
Add websocket dep & watch api support
2014-07-18 22:18:03 -04:00
Daniel Smith 1896468c95 Merge pull request #528 from GoogleCloudPlatform/revert-520-master
Revert "assorted formatting and typo fixes"
2014-07-18 17:16:37 -07:00
Daniel Smith 05f01a3654 Revert "assorted formatting and typo fixes" 2014-07-18 17:16:30 -07:00
Daniel Smith 211f6b312f Merge pull request #520 from jonboulle/master
assorted formatting and typo fixes
2014-07-18 17:15:30 -07:00
Daniel Smith eda30d4f20 Add watch mechanism to apiserver
Implemented via HTTP and websocket. A test is present but this isn't
yet wired into anything.

Eventual purpose of this is to allow a scheduler to watch for new pods.
Or allow replication controller to watch for new items it controlls.
Generally, it'll be good to turn everything possible into a push instead
of a poll.
2014-07-18 16:47:17 -07:00
Tim Hockin 7b905709d9 Merge pull request #521 from MSOpenTech/azure-scripts
Azure scripts
2014-07-18 16:43:20 -07:00
Jeff Mendoza 95ec94514b Rename and move Azure scripts. 2014-07-18 16:13:05 -07:00
Daniel Smith 60b6f5b6bd Merge pull request #524 from brendandburns/service
Make the service reconciller use the API, not a PodRegistry
2014-07-18 15:01:09 -07:00
Brendan Burns 59da62e2a1 Address comments. 2014-07-18 14:27:50 -07:00
Tim Hockin 94c9c96cb7 Merge pull request #525 from Sarsate/superset-hasall
Renames HasAll to IsSuperset; HasAll uses slice.
2014-07-18 13:59:18 -07:00
Danny Jones 136c9e112c Renames HasAll to IsSuperset; HasAll uses slice.
For the pedants. HasAll is now called IsSuperset and
the new HasAll method takes a slice instead of a set.
2014-07-18 13:58:43 -07:00
Daniel Smith ba871959bd Merge pull request #523 from brendandburns/sanity
Add a sleep to work around apparent races with salt.
2014-07-18 13:58:11 -07:00
Brendan Burns c6255afe37 Make the service reconciller use the API, not a PodRegistry 2014-07-18 13:54:33 -07:00
Daniel Smith af0ded703f bump(code.google.com/p/go.net/websocket): 7127eefd36
Add code.google.com/p/go.net/websocket to deps.sh and run update.sh.
2014-07-18 13:48:21 -07:00
Daniel Smith dd36c45bfe Merge pull request #522 from Sarsate/has-all
Added HasAll utility method for string set.
2014-07-18 13:38:11 -07:00
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