Commit Graph

544 Commits (21e63cf75a26e41758742e4d15b6353b3bae12e2)

Author SHA1 Message Date
Brendan Burns 14838df51e Update the proxy server. 2014-06-26 13:09:23 -07:00
Brendan Burns 93019b8563 Add a minion registry that is backed by a cloud provider. 2014-06-26 13:00:07 -07:00
Dan Mace b733585123 Launch proxy as part of local-up-cluster.sh 2014-06-26 15:48:26 -04:00
Daniel Smith 1ddc012b17 Merge pull request #255 from jjhuff/remove_localkube
Remove localkube
2014-06-26 12:44:30 -07:00
brendandburns 46a615864c Merge pull request #249 from lavalamp/api_long_op
Give api server operation tracking ability
2014-06-26 12:10:40 -07:00
Justin Huff 253a783365 Remove localkube 2014-06-26 11:52:23 -07:00
Daniel Smith afd13edd6a Address comments; also, demonstrate one more property in test. 2014-06-26 11:36:15 -07:00
Daniel Smith 3dddb1694c Merge pull request #233 from brendandburns/demo
switch to built in golang FileServer
2014-06-26 10:52:24 -07:00
Brendan Burns 9bd4e441b3 better error handling. 2014-06-26 10:44:57 -07:00
Daniel Smith c9246dc130 Implement required sync changes everywhere.
Make requests sync by default, so that usage of them doesn't have to
change.
2014-06-26 10:33:21 -07:00
Daniel Smith 59a6489e84 Add tracked operations to apiserver 2014-06-26 10:33:21 -07:00
brendandburns 60e2d4b258 Merge pull request #250 from lavalamp/fix
Make boilerplate hook work for .sh files, too.
2014-06-26 10:01:46 -07:00
brendandburns aecf10290c Merge pull request #252 from lavalamp/fix_name
Rename cloudcfg to kubecfg
2014-06-26 10:00:53 -07:00
Daniel Smith c97c514742 Rename cloudcfg to kubecfg 2014-06-25 18:01:37 -07:00
Daniel Smith 260af3017b Make boilerplate hook work for .sh files, too. 2014-06-25 17:11:48 -07:00
Daniel Smith 61b00739a3 Merge pull request #247 from jjhuff/master
Make local-up-cluster.sh more user-friendly
2014-06-25 12:43:16 -07:00
Justin Huff e948248546 Make local-up-cluster more user-friendly 2014-06-25 12:19:37 -07:00
Daniel Smith c236c72b4e Merge pull request #242 from thockin/logging
Less verbose logging for "normal" things.
2014-06-24 22:17:06 -07:00
Daniel Smith f3b24ff709 Merge pull request #243 from jjhuff/cloudcfg_flag
Fix cloudcfg duplicate flag error
2014-06-24 22:13:39 -07:00
Justin Huff 1c32df4aac Fix cloudcfg duplicate flag error 2014-06-24 22:05:27 -07:00
Tim Hockin 3f0e7e790b Less verbose logging for "normal" things.
Don't log things that we expect to happen every sync loop, unless the user
asks for --v > 0.
2014-06-24 22:05:25 -07:00
Daniel Smith 7403b2335c Merge pull request #240 from thockin/glog
Default --logtostderr=true
2014-06-24 21:40:17 -07:00
Tim Hockin a570b81220 Default --logtostderr=true
This retains compatibility with existing logging to stderr, until we can agree
on log dirs for each cmd.
2014-06-24 21:29:53 -07:00
Daniel Smith 546600371e Merge pull request #221 from thockin/glog
Use glog for logging
2014-06-24 20:58:47 -07:00
Tim Hockin 9f9e75f508 Switch to glog for logging, bridge logging to glog.
1) imported glog to third_party (previous commit)
2) add support for third_party/update.sh to update just one pkg
3) search-and-replace:
  s/log.Printf/glog.Infof/
  s/log.Print/glog.Info/
  s/log.Fatalf/glog.Fatalf/
  s/log.Fatal/glog.Fatal/
4) convert glog.Info.*, err into glog.Error*

Adds some util interfaces to logging and calls them from each cmd, which
will set the default log output to write to glog.  Pass glog-wrapped
Loggers to etcd for logging.

Log files will go to /tmp - we should probably follow this up with a
default log dir for each cmd.

The glog lib is sort of weak in that it only flushes every 30 seconds, so
we spin up our own flushing goroutine.
2014-06-24 20:51:57 -07:00
Tim Hockin 381ac4328c bump(github.com/golang/glog): d1c4472bf2efd3826f2b5bdcc02d8416798d678c 2014-06-24 20:20:03 -07:00
brendandburns b2a7d19798 Merge pull request #239 from jjhuff/dead_code
Remove extractMultipleFromReader and extractSingleFromReader.
2014-06-24 19:32:12 -07:00
Justin Huff ddf0fd18f0 Remove extractMultipleFromReader and extractSingleFromReader. Unused now after improvements in #212 and #213 2014-06-24 18:59:57 -07:00
Daniel Smith c3da356cd6 Merge pull request #237 from brendandburns/tests
Added some tests
2014-06-24 18:04:32 -07:00
brendandburns 8b44f34e0f Merge pull request #213 from lavalamp/fix_manifest
Better fix of #212
2014-06-24 17:42:22 -07:00
Brendan Burns 60ce1296d4 Added some tests 2014-06-24 17:41:30 -07:00
Daniel Smith f7968ce00b Make integration test the manifest url feature. Make kubelet's docker pull command testable. 2014-06-24 16:57:35 -07:00
Daniel Smith cfa1ef3c4c Merge pull request #229 from brendandburns/fix
Several small fixes.
2014-06-24 15:35:50 -07:00
brendandburns 19fa068de4 Merge pull request #232 from lavalamp/master
Make minion printing prettier; standardize on MinionList.Items
2014-06-24 15:34:06 -07:00
Brendan Burns 84e5c37f74 Several small fixes. 2014-06-24 15:30:14 -07:00
Daniel Smith 2cc038298b Make minion printing prettier; standardize on MinionList.Items like the other list types. 2014-06-24 15:29:17 -07:00
Daniel Smith 86b5cfd4ed Merge pull request #218 from thockin/logging
Logging cleanup in Kubelet
2014-06-24 15:20:20 -07:00
Daniel Smith fd66a8b59b Readability fixes & address review comments. 2014-06-24 15:16:21 -07:00
Daniel Smith 6900431b13 Add kubelet testing to integration test. Test that kubelet makes the requested containers. Check that the url manifest feature works. 2014-06-24 15:14:40 -07:00
Daniel Smith 9d8a16f180 Make manifest url reader accept both single and multiple manifests. 2014-06-24 15:13:18 -07:00
Daniel Smith e4c47f0219 Merge pull request #231 from brendandburns/hooks
Fixed the boilerplate hook to work on OS X, where apparently wc add's spaces
2014-06-24 15:12:25 -07:00
Daniel Smith 4f81008ab9 Merge pull request #230 from thockin/cleanups
Slightly friendlier pre-commit errors.
2014-06-24 15:11:08 -07:00
Brendan Burns 2c404aba0f Fixed the boilerplate hook to work on OS X, where apparently wc add's spaces 2014-06-24 15:02:48 -07:00
Tim Hockin b6d5faf276 Slightly friendlier pre-commit errors.
Make the pre-commit check spit out cut-and-paste commands and be more
obvious about errors.  Tested by making an invalid change and observing the
message generated.
2014-06-24 15:01:08 -07:00
Daniel Smith 75e37c133f Merge pull request #228 from brendandburns/master
Remove an erroneous debug statement.
2014-06-24 14:04:30 -07:00
Tim Hockin c705593b62 Logging cleanup in Kubelet
Make it easier to see the signal when looking at kubelet logs.  Make the
signal more consistent and legible.
2014-06-24 13:50:08 -07:00
Daniel Smith cf041acc29 Merge pull request #227 from thockin/cleanups
Rename Kubelet.Client -> EtcdClient
2014-06-24 13:26:59 -07:00
Brendan Burns 20ba523266 Remove an erroneous debug statement. 2014-06-24 13:23:58 -07:00
Tim Hockin 7622bb871b Rename Kubelet.Client -> EtcdClient
All the other *Client members are so named.  Makes easier reading.
2014-06-24 13:17:38 -07:00
Daniel Smith dec3e09aa7 Merge pull request #226 from gottwald/TestYAMLPrinter
Add test for YAMLPrinter
2014-06-24 13:16:51 -07:00