Commit Graph

1440 Commits

Author SHA1 Message Date
Nan Monnand Deng
453c328fc9 change travis.yml to install godep 2014-08-13 15:02:21 -04:00
Nan Monnand Deng
eb462eba06 changed scripts to use godep 2014-08-13 15:02:14 -04:00
Nan Monnand Deng
67f0737ec0 move all third party libs to Godeps/ dir 2014-08-13 14:49:31 -04:00
Nan Monnand Deng
41b0e5f34c move go-dockerclient-copiedstructs to third_party/docker-api-structs 2014-08-13 14:49:03 -04:00
Daniel Smith
aeea1b1e06 Merge pull request #732 from mfojtik/etcd_log
Avoid log flooding with messages about missing missing registry/services
2014-08-12 18:17:04 -07:00
roberthbailey
950f5a27dd Merge pull request #873 from lavalamp/fix
Fix gofmt/boilerplate verification scripts and associated files.
2014-08-12 17:58:39 -07:00
Daniel Smith
ab24790e8f Fix go files with wrong boilerplate 2014-08-12 17:48:00 -07:00
Daniel Smith
1a5a22c539 Fix files missing gofmt 2014-08-12 17:48:00 -07:00
Daniel Smith
713a9488a2 Fix verification scripts to actually look at all go files. 2014-08-12 17:47:59 -07:00
Dawn Chen
4b05cb0eb6 Merge pull request #872 from brendandburns/kubecfg
LGTM
2014-08-12 17:06:37 -07:00
Brendan Burns
5d0291ae0e Fix kubecfg.sh 2014-08-12 16:46:34 -07:00
brendandburns
74a7179e2e Merge pull request #858 from lavalamp/fix
Fix flaky TestOpGet
2014-08-12 15:19:13 -07:00
Daniel Smith
14f43f89d2 Merge pull request #870 from derekwaynecarr/fix_nsinit_sls
Fix nsinit on Vagrant
2014-08-12 14:42:13 -07:00
Daniel Smith
f220aa1aba Fix flaky TestOpGet and TestSyncCreateTimeout 2014-08-12 14:23:12 -07:00
derekwaynecarr
7db42a7b73 Fix nsinit on Vagrant 2014-08-12 16:35:01 -04:00
Joe Beda
76f87b30de Merge pull request #868 from derekwaynecarr/do_not_always_install_latest
Do not always look for latest pkg on salt-updates
2014-08-12 13:23:44 -07:00
brendandburns
8f85dabc1f Merge pull request #843 from bwells/version-releases
(Re)generate the build version when preparing a release
2014-08-12 13:22:13 -07:00
derekwaynecarr
ba7345d967 Do not always look for latest pkg 2014-08-12 16:10:59 -04:00
Daniel Smith
24b5d58268 Merge pull request #848 from kelseyhightower/breakup-registry-package
Breakup the registry package into separate packages.
2014-08-12 10:53:43 -07:00
Daniel Smith
a3d5d915c0 Merge pull request #826 from smarterclayton/git_check_wrong
Check for dirty files is not accurate
2014-08-12 10:53:22 -07:00
Clayton Coleman
aabd3683eb Check for dirty files is not accurate
grep '^M' was not returning anything. In general diff-index and
ls-files are preferred to status --porcelain.
2014-08-12 10:45:30 -04:00
Michal Fojtik
afbd7a6147 Make proxy/config/etcd.go less verbose when etcd is not available 2014-08-12 11:51:44 +02:00
Kelsey Hightower
c21a0ca39f Breakup the registry package into separate packages.
Currently all registry implementations live in a single package,
which makes it bit harder to maintain. The different registry
implementations do not follow the same coding style and naming
conventions, which makes the code harder to read.

Breakup the registry package into smaller packages based on
the registry implementation. Refactor the registry packages
to follow a similar coding style and naming convention.

This patch does not introduce any changes in behavior.
2014-08-11 20:58:09 -07:00
Clayton Coleman
c6dcfd544f Merge pull request #839 from yugui/fix/api-status
Make storage.Delete return *api.Status instead of api.Status
2014-08-11 20:01:28 -04:00
Daniel Smith
c372b74bc8 Merge pull request #847 from thockin/health
Use IntOrString for health checks
2014-08-11 16:28:24 -07:00
Tim Hockin
d93fca5224 Merge pull request #838 from thockin/roadmap
Proposed roadmap to 1.0
2014-08-11 16:21:23 -07:00
Tim Hockin
d5daea5e81 Merge pull request #854 from lavalamp/fix
Correct confusing comment.
2014-08-11 16:04:58 -07:00
Daniel Smith
6460a8cbf8 Correct confusing comment. 2014-08-11 15:58:59 -07:00
brendandburns
3222f61bca Merge pull request #557 from lavalamp/podLocation
Prepare for external scheduler
2014-08-11 15:27:24 -07:00
Tim Hockin
1c8704befc Merge pull request #592 from lavalamp/schedulerApi
Proposal for scheduler API
2014-08-11 15:20:45 -07:00
Tim Hockin
b5d55c1702 Proposed roadmap to 1.0 2014-08-11 15:18:55 -07:00
Daniel Smith
5e34a9784f Merge pull request #852 from smarterclayton/deliver_state_on_nil_version
Watch delivers current state for resourceVersion=0
2014-08-11 15:13:15 -07:00
Daniel Smith
b5352a81c7 Use DesiredState rather than CurrentState for Host. 2014-08-11 15:12:51 -07:00
Daniel Smith
86667818bc Merge pull request #855 from ironcladlou/resource-versioning-fix
Apply resource versioning to list extractions from etcd
2014-08-11 14:33:03 -07:00
Dan Mace
b986c520a7 Apply resource versioning to list extractions from etcd
Set the resource version on lists of objects extracted from etcd to prevent
them from always being interpreted as new during updates.
2014-08-11 21:11:08 +00:00
Clayton Coleman
c5630a9567 Watch delivers current state for resourceVersion=0
Allows clients to get the current state without having to execute
a get followed by a watch.  Makes integration with action loops
much cleaner.
2014-08-11 17:07:14 -04:00
Tim Hockin
05b382be26 Merge pull request #850 from derekwaynecarr/issue834
Add local scripts, simplify kubecfg.sh
2014-08-11 13:46:53 -07:00
Daniel Smith
b7752a86d4 Add debugging info printing to etcd fake
And make tests pass again.
2014-08-11 13:09:24 -07:00
Daniel Smith
9050c819dc Merge pull request #722 from smarterclayton/improve_errors
Normalize apiserver error handling of standard errors
2014-08-11 12:43:06 -07:00
brendandburns
943674850f Merge pull request #844 from bwells/vagrant-example-docs
Add explicit instruction to vagrant example docs
2014-08-11 12:19:32 -07:00
derekwaynecarr
fea7b61b81 Add local scripts, simplify kubecfg.sh 2014-08-11 13:02:52 -04:00
Tim Hockin
bca90f4866 Reduce and comment exports 2014-08-11 00:11:59 -07:00
Tim Hockin
7beac7a9af Split health_check.go into smaller parts.
Distinct files for core, http, and tcp.
2014-08-11 00:01:17 -07:00
Tim Hockin
24c516ec1d Move HTTP code out of health.go
Put it with the related HTTP code.
2014-08-10 23:50:06 -07:00
Tim Hockin
c67c1edfb4 Use IntOrString for TCP health check ports
Clean up code to be more testable.  Add test cases for named and numeric
ports in TCP health checks.  Improve tests.
2014-08-10 23:44:42 -07:00
Tim Hockin
7201227cb1 Use IntOrString for HTTP health check ports
Clean up code to be more testable.  Add test cases for named and numeric
ports in HTTP health checks.  Improve tests.
2014-08-10 23:26:42 -07:00
Daniel Smith
7d605467dc New scheduler API
This commit adds a Binding object. The idea is that schedulers can write
these to cause pods to be asssigned to hosts. I'll provide an implementation
along with a rudimentary scheduler plugin.

This continues k8s' tradition of phrasing all APIs as RESTful handlers.
2014-08-10 19:05:03 -07:00
Daniel Smith
5cdce0e35a Prepare for external scheduler
1. Change names of Pod statuses (Waiting, Running, Terminated).
2. Store assigned host in etcd.
3. Change pod key to /registry/pods/<podid>. Container location remains
   the same (/registry/hosts/<machine>/kublet).
2014-08-10 15:05:36 -07:00
Daniel Smith
e35dfedd79 Merge pull request #840 from smarterclayton/missing_return_in_watch
Watch handler not returning after 404
2014-08-09 16:05:03 -07:00
Clayton Coleman
d419eedb06 Watch handler not returning after 404 2014-08-09 10:46:56 -04:00