Brendan Burns
59da62e2a1
Address comments.
2014-07-18 14:27:50 -07:00
Brendan Burns
c6255afe37
Make the service reconciller use the API, not a PodRegistry
2014-07-18 13:54:33 -07: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
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
Yuki Yugui Sonoda
edac5ce0b8
Fixes golint errors in pkg/kubelet
2014-07-15 22:56:31 +09:00
Brendan Burns
b2ef24fb48
Address comments.
2014-07-14 21:39:22 -07:00
Brendan Burns
f7bd5a6f0f
Add a template printer to kubecfg.
2014-07-14 21:13:06 -07:00
Brendan Burns
5bf0820580
Fix integration tests.
2014-07-11 14:24:54 -07:00
brendandburns
40c71e8292
Merge pull request #372 from yugui/feature/golint
...
Fixes Go lint errors.
2014-07-08 12:55:41 -07:00
Tim Hockin
92cf6662ed
Merge pull request #351 from discordianfish/use-api-for-pull
...
Use api for pulling images instead of shelling out
2014-07-08 09:08:12 -07:00
Johannes 'fish' Ziemke
3fa6c9671d
Use docker client lib instead of binary for pulls
2014-07-08 12:21:39 +02:00
Yuki Yugui Sonoda
c25f44c137
Fixes golint errors in cmd/.
2014-07-08 16:08:24 +09:00
Brendan Burns
a77248eb6f
Add some more logging to better understand integration test timeouts.
2014-07-07 13:57:25 -07:00
Brendan Burns
e3838e1153
Make poll period and timeout configurable.
...
Make poll period short for integration testing.
2014-07-07 10:13:27 -07:00
Daniel Smith
3b9735d787
Test atomic PUTs, and make them work.
...
Improve apiserver/logger.go's interface (it's pretty cool now).
Improve apiserver's error reporting to clients.
Improve client's handling of errors from apiserver.
Make failed PUTs return 409 (conflict)-- http status codes are amazingly
well defined for what we're doing!
2014-07-02 15:42:05 -07:00
Daniel Smith
969586a214
Add logging, fix crash
...
Crash was in kublet_server when fake docker client gives it nil pointer.
2014-07-01 17:38:07 -07:00
Daniel Smith
bf3b34c2e9
Allow master's pod info getter to be faked. Wire up in integration tests in futile attempt to make travis pass.
2014-07-01 17:08:32 -07:00
Daniel Smith
587fb75a7a
rearrange RunKubelet's parameters so that address and port are next to each other
2014-07-01 16:47:37 -07:00
Daniel Smith
d523ccb428
Change error printing for easier debugging
2014-07-01 16:41:09 -07:00
Daniel Smith
b820e026f6
Improve logging.
2014-07-01 14:02:14 -07:00
Daniel Smith
50bbf39925
improvements to integration test organization
2014-07-01 14:02:14 -07:00
Brendan Burns
4d6a783e5f
Initial add of an environment variable for the kubernetes master.
2014-07-01 10:12:38 -07:00
brendandburns
d53c56dd29
Merge pull request #314 from thockin/valid2
...
Fix examples to set manifest ID and version
2014-06-30 20:21:32 -07:00
brendandburns
65a62278b1
Merge pull request #286 from lavalamp/exampleEtcd
...
Separate scheduler from registry
2014-06-30 20:17:07 -07:00
Tim Hockin
9affd6d260
Fix examples to set manifest ID and version
...
Part 4 in a series of changes towards data validation.
2014-06-30 16:16:06 -07:00
Daniel Smith
011ce9d871
Add crash handler bypass for testing.
2014-06-29 12:35:43 -07:00
Tim Hockin
6c79937a42
Reduce logging noise
...
Don't use %#v for errors.
Do use %+v when more detail than %v is needed.
Fix typos Kublet -> Kubelet.
2014-06-28 22:16:26 -07:00
Daniel Smith
134f44e3fa
Merge pull request #276 from brendandburns/minion
...
Initial integration of the cloud based minion registry.
2014-06-27 22:56:47 -07:00
Brendan Burns
431fcac8b0
Initial integration of the cloud based minion registry.
2014-06-27 22:49:27 -07:00
Daniel Smith
b21facafb1
Merge pull request #273 from brendandburns/kubelet
...
Make the docker endpoint a flag.
2014-06-27 17:09:25 -07:00
Brendan Burns
f8060c5b3d
Make the docker endpoint a flag.
2014-06-27 17:01:12 -07:00
Daniel Smith
9a0f89170e
Fix comments. Add timeout to integration test; don't make travis run for 15 minutes any more.
2014-06-27 15:40:23 -07:00
Brendan Burns
b25f950362
Use etcd compare and swap to update the list of pods, to remove a race.
2014-06-27 11:09:36 -07:00
Justin Huff
253a783365
Remove localkube
2014-06-26 11:52:23 -07:00
Daniel Smith
c97c514742
Rename cloudcfg to kubecfg
2014-06-25 18:01:37 -07:00
Justin Huff
1c32df4aac
Fix cloudcfg duplicate flag error
2014-06-24 22:05:27 -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
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
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
568631e765
Merge pull request #217 from brendandburns/demo
...
Create a proxy server using cloudcfg. Useful for demos
2014-06-24 12:01:04 -07:00
Daniel Smith
07a431f713
Fix duplicated path.
2014-06-24 11:51:14 -07:00
Brendan Burns
8b50e45dcc
Update the proxy server.
2014-06-24 11:25:45 -07:00
Brendan Burns
5756189f0d
Added a proxy server to cloudcfg
2014-06-24 11:15:08 -07:00
Daniel Smith
5ce54bb77b
Use new method.
2014-06-24 09:38:22 -07:00
Daniel Smith
61a494d303
First step of combination.
2014-06-24 09:38:22 -07:00
Tim Hockin
7218a4d165
Clarify config file code to be clear that it handles directories. ...
...
… Add a check for IsRegular() before reading a config path. Add a comment
about exec.Command("hostname", "-f").
2014-06-23 21:14:15 -07:00
brendandburns
974d3f3999
Merge pull request #180 from lavalamp/master
...
Make minions first class citizens
2014-06-23 19:52:00 -07:00
Daniel Smith
79ee5aa250
Implement minion registry. Minions now a first-class object.
2014-06-23 13:27:52 -07:00
Daniel Smith
6ccd9b2361
Move to new file. Build and tests pass.
2014-06-23 13:24:27 -07:00