Commit Graph

1056 Commits (8a5cc87df8f7ff7a3beffd78675be2a1cce8188e)

Author SHA1 Message Date
Daniel Smith 8a5cc87df8 Merge pull request #638 from kelseyhightower/fix_multiple_response_write_headers
integration: Fix multiple response.WriteHeader calls
2014-07-26 16:50:47 -07:00
Kelsey Hightower 7a7dfeb85b integration: Fix multiple response.WriteHeader calls
The current integration tests do not return after delegating
HTTP requests, as a result an extra call to response.WriteHeader
is made for every request.

Fix the issue by returning after delegating HTTP requests.
2014-07-26 16:09:15 -07:00
Daniel Smith d102b9c845 Merge pull request #637 from kelseyhightower/fix-build-go
Fix hack/build-go.sh to work on all platforms
2014-07-26 15:37:56 -07:00
Kelsey Hightower 124b0e7ee6 Fix hack/build-go.sh to work on all platforms
Currently the hack/build-go.sh build script does not work
on OS X 10.9.x systems. This changes reverts back to building
one binary via a for loop.
2014-07-26 15:28:48 -07:00
brendandburns 57b583e03d Merge pull request #633 from kelseyhightower/go1.3-build
Build binaries using Go 1.3
2014-07-26 12:34:32 -07:00
Kelsey Hightower 777eec9e62 Build binaries using Go 1.3
Currently binaries are built using Go 1.2.2, which results
in larger binaries than those produced by newer versions of
Go. The Go source archive used for the build process is not
verified against its SHA1 hash.

Update the build-image Dockerfile to use Go 1.3 to build all
binaries, as a result binaries are now 20% - 30% smaller. The
Go source archive used for building binaries is now verified
against its SHA1 hash.
2014-07-26 09:57:03 -07:00
Daniel Smith 6b5690a259 Merge pull request #624 from dchen1107/cadvisor
update cadvisor client package which includes my fix for #608
2014-07-25 13:12:52 -07:00
Dawn Chen c48f6dcb34 bump(github.com/google/cadvisor/client): fb8fa5d9353549ad265462c9e99affe93a3d5a22 2014-07-25 13:00:49 -07:00
brendandburns 25150947c8 Merge pull request #626 from smarterclayton/speed_up_build
Build all commands at the same time
2014-07-25 12:57:25 -07:00
Clayton Coleman 6f84fc06da Remove cmd/ prefix on build-go.sh
Update places that depend on it.
2014-07-25 13:31:20 -04:00
Clayton Coleman 899127701e Build all commands at the same time
In Go it's much more efficient to build several commands in the same
`go build` because the build has to load most of the dependency tree
each time.  Roughly 50% on my machine:

Together (go1.2 on OS X):

    real  0m4.049s
    user  0m8.387s
    sys   0m2.766s

Separate:

    real  0m13.392s
    user  0m12.420s
    sys   0m6.882s
2014-07-25 13:23:23 -04:00
Daniel Smith b3ecfbde43 Merge pull request #625 from smarterclayton/quotes_not_necessary
The quotes around the coverfile are unnecessary
2014-07-25 10:23:16 -07:00
Clayton Coleman f7948015bd The quotes around the file should not be necessary
In Go 1.2 on the Mac they result in a file created with actual
quotes.
2014-07-25 13:11:45 -04:00
Clayton Coleman bb1d362f8a Merge pull request #622 from sjcarriere/master
list replicationControllers appears broken
2014-07-25 11:17:01 -04:00
Jeromy Carriere 9cad657b4c Fix internalize for ReplicationControllerList. items were created
in a new var hiding the function-scoped var.
2014-07-25 10:44:45 -04:00
Clayton Coleman fbd71c9c02 Merge pull request #535 from lavalamp/etcdWatcher
Etcd watcher
2014-07-25 08:40:05 -04:00
Daniel Smith e3927b428d Merge pull request #618 from brendandburns/async
Make replication controller synchronizations independent.
2014-07-24 22:58:45 -07:00
Brendan Burns ae0baf3fab Make replication controller synchronizations independent. 2014-07-24 22:46:04 -07:00
brendandburns 28b41dd875 Merge pull request #609 from lavalamp/fix
Fix kube-push.sh
2014-07-24 22:32:28 -07:00
Daniel Smith 321ce0e1ce Merge pull request #565 from brendandburns/api2
Fork API types.
2014-07-24 22:29:57 -07:00
Clayton Coleman dde108a737 Merge pull request #616 from brendandburns/example
Augment the update example to turn black if the server is not responding...
2014-07-25 01:16:33 -04:00
Brendan Burns 3723eb7629 Add kind and apiVersion to guestbook example. 2014-07-24 22:13:43 -07:00
brendandburns 4372b7a6f6 Merge pull request #610 from lavalamp/fix2
Make kubecfg work for minions.
2014-07-24 21:49:25 -07:00
Brendan Burns bf5ae4bb9d Fork API types. 2014-07-24 21:47:08 -07:00
Brendan Burns 854b9e14bd Augment the update example to turn black if the server is not responding. 2014-07-24 21:46:35 -07:00
Daniel Smith cb28f25b1b Merge pull request #615 from lavalamp/fix3
Fix release.sh
2014-07-24 18:52:18 -07:00
Daniel Smith 354ccae7b3 Fix release.sh 2014-07-24 18:50:54 -07:00
Daniel Smith f3b6090a38 Make kubecfg work for minions. 2014-07-24 18:04:55 -07:00
Daniel Smith a6668f625b Fix kube-push.sh 2014-07-24 17:50:19 -07:00
Daniel Smith 9e9d9b8913 Merge pull request #607 from smarterclayton/return_correct_content_type
Write the json content type for API responses
2014-07-24 15:27:31 -07:00
Daniel Smith 8881adc905 Merge pull request #606 from jonboulle/master
assorted formatting and typo fixes
2014-07-24 15:25:08 -07:00
Jonathan Boulle c43035088b assorted formatting and typo fixes 2014-07-24 15:10:36 -07:00
Clayton Coleman 30e881c3f9 Write JSON content type for API responses 2014-07-24 17:45:02 -04:00
Daniel Smith 5ae20f9edb Merge pull request #605 from Sarsate/setup-error
SetUp now returns an error.
2014-07-24 14:13:22 -07:00
Daniel Smith 3800c3bdcb Merge pull request #532 from jonboulle/typos
Fix a few other doc typos
2014-07-24 14:06:05 -07:00
Daniel Smith 6f24b361ba Merge pull request #550 from derekwaynecarr/vagrant_env
Vagrant env
2014-07-24 14:05:41 -07:00
Daniel Smith c979900ce2 Merge pull request #588 from vmarmol/simple-parallel
Sync pods asynchronously in the Kubelet.
2014-07-24 14:00:43 -07:00
Danny Jones 1117da4a55 SetUp now returns an error.
SetUp returns an error, kubelet now skips pod if error occurs.
2014-07-24 13:53:44 -07:00
Victor Marmol b131da1cf5 Sync pods asynchronously in the Kubelet.
This makes two main changes:
- Runs syncPod in a separate Go routine (and enforces only one of those
  runs at a time).
- Uses the pod list to determine if a container should be running or
  should be killed (used to use the output of syncPod).

Since Docker pulls are synchronized by the Docker daemon we still block
on that, but pods can now be removed and prepared for starting without
blocking on long pulls.
2014-07-24 13:47:51 -07:00
derekwaynecarr 69ae2fe4bb Initial vagrant setup and e2e testing support 2014-07-24 16:32:36 -04:00
Daniel Smith 41eb15bcff Merge pull request #527 from Sarsate/rootdir-flag
Adds a flag to specify root working directory.
2014-07-24 13:12:55 -07:00
Danny Jones bfa4642055 Adds a flag to specify root working directory.
--root_dir specifies the directory kubelet will use for it's
procedures. Currently used for volume mounts.
2014-07-24 13:04:05 -07:00
Daniel Smith b87ae144ea Merge pull request #552 from MSOpenTech/azure-scripts
Update salt config for apiserver to support Azure.
2014-07-24 12:46:53 -07:00
Daniel Smith cd3ead9122 Merge pull request #593 from dchen1107/cleanup
Query minion's /healthz for sanity checking.
2014-07-23 18:02:59 -07:00
Daniel Smith 65575953c0 Merge pull request #589 from monnand/update-docker-client
update github.com/fsouza/go-dockerclient
2014-07-23 18:00:24 -07:00
Nan Deng ea4224cbe7 update github.com/fsouza/go-dockerclient 2014-07-23 17:42:03 -07:00
Dawn Chen eb6d0238d4 query minion's /healthz for sanity checking. Removing gcutil ssh to
VM, and check kubelet's status.
2014-07-23 17:08:24 -07:00
Daniel Smith b630c7bcb4 Implement watch.Interface via etcd. 2014-07-23 15:04:08 -07:00
Daniel Smith cac3d1fb3b Merge pull request #590 from smarterclayton/test_example_syntax
Add unit tests for example syntax
2014-07-23 13:59:35 -07:00
Daniel Smith e2e2ce44c1 Merge pull request #587 from VojtechVitek/data_race
Fix data race in kubelet fake_docker_client
2014-07-23 13:00:55 -07:00