Commit Graph

1481 Commits (2d7a0c336b23a084564886e2e9f92088c039921d)

Author SHA1 Message Date
Daniel Smith 2d7a0c336b Merge pull request #895 from smarterclayton/only_write_when_value_changes
Only write to etcd if values have changed
2014-08-14 17:47:48 -07:00
Clayton Coleman befbf8466f Only write to etcd if values have changed
This prevents certain loops from writing data to etcd every few
seconds (when data hasn't changed).
2014-08-14 20:34:36 -04:00
brendandburns 778c89f65e Merge pull request #908 from brendandburns/time
Remove a print that is confusing jq in the e2e tests.
2014-08-14 16:33:59 -07:00
Brendan Burns 0fda53ea1c Remove a print that is confusing jq in the e2e tests. 2014-08-14 16:31:52 -07:00
Clayton Coleman fadf1b899f Merge pull request #888 from csrwng/pluggable_type_parsing
Allow kubecfg to parse other types via register function
2014-08-14 18:50:23 -04:00
csrwng 5538bfca01 Allow kubecfg to parse other types via initialization map 2014-08-14 18:14:12 -04:00
brendandburns 8daf8c7a30 Merge pull request #896 from smarterclayton/return_correct_index_for_delete
Delete should use current node, not prev node index
2014-08-14 14:59:52 -07:00
brendandburns bf7f8a2297 Merge pull request #867 from derekwaynecarr/apiserver_loopback
Vagrant: apiserver doesn't bind to 127.0.0.1, inaccessible through master nginx
2014-08-14 14:35:49 -07:00
brendandburns 25352c56d9 Merge pull request #886 from brendandburns/shell_sucks
Fix kubecfg.sh
2014-08-14 14:33:43 -07:00
Joe Beda 5654f5b247 Merge pull request #904 from erictune/cleanup5
Return not required after panic.
2014-08-14 14:30:41 -07:00
Joe Beda 8092a80ad9 Merge pull request #903 from erictune/cleanup4
Pass obj with lock by reference.
2014-08-14 14:29:01 -07:00
Joe Beda 9f7f46d06b Merge pull request #901 from erictune/cleanup3
Remove unreachable code.
2014-08-14 14:27:31 -07:00
Clayton Coleman 87256127e0 Merge pull request #856 from pmorie/workaround-timestamp
Set CreationTimestamp in each storage implementation
2014-08-14 17:25:58 -04:00
brendandburns f521fff89e Merge pull request #902 from jbeda/e2efix
Fix e2e teardown
2014-08-14 14:24:27 -07:00
Eric Tune c42d8b8e73 Return not required after panic.
Suggested by "go vet".
2014-08-14 14:04:39 -07:00
Eric Tune ee91a19f90 Pass obj with lock by reference. Methods->funcs.
Fixes "lock passed by value" issues raised by "go vet".
2014-08-14 14:01:27 -07:00
Joe Beda 629f964791 Fix e2e teardown 2014-08-14 13:57:50 -07:00
Eric Tune 7de0df0be8 Remove unreachable code. 2014-08-14 13:56:42 -07:00
Paul Morie c69160059b Change CreationTimestamp to a util.Time and set in each storage implementation
Because time.Time doesn't work correctly with our YAML package, it is necessary
to introduce a type, util.Time, which serializes correctly to JSON and YAML.

Eventually we would like timestamping to cut across storage implementations;
for now, we set it in each storage.
2014-08-14 16:26:29 -04:00
Clayton Coleman 2872e565a2 Delete should use current node, not prev node index
The index an object was deleted on should be resp.Node.ModifiedIndex
2014-08-14 16:14:24 -04:00
brendandburns ad8e853e82 Merge pull request #893 from derekwaynecarr/kubernetes_hello_world
Add small image to use for e2e-testing and getting started examples
2014-08-14 12:41:22 -07:00
derekwaynecarr 3fa4554e5f Add smallest image possible to use for e2e-testing 2014-08-14 13:14:13 -04:00
Daniel Smith 43e1c14e8b Merge pull request #892 from brendandburns/teardown
Add a teardown option to the e2e, that just tears down the cluster, also make gce teardown synchronous.
2014-08-14 10:11:13 -07:00
Brendan Burns 9f49650fba Add a tear down option to the e2e, that just tears down the cluster
Useful for cleaning state after failed runs.
2014-08-14 09:58:40 -07:00
Daniel Smith 85535ee408 Merge pull request #887 from brendandburns/proxy
Deflake proxy unit tests.
2014-08-14 09:29:39 -07:00
derekwaynecarr 10be80295c apiserver listen on 0.0.0.0 in vagrant 2014-08-14 10:02:04 -04:00
Daniel Smith e1998e5a07 Merge pull request #890 from jbeda/godep-cluster-fix
Fix release and salt scripts for godep
2014-08-13 15:59:42 -07:00
Joe Beda 70c6c75ae3 Fix release and salt scripts for godep 2014-08-13 15:57:41 -07:00
Brendan Burns 7ea2a37219 deflake tests. 2014-08-13 15:41:42 -07:00
Daniel Smith 9355fae71e Merge pull request #881 from smarterclayton/etcd_closes_watch_channel
Etcd can close the watch channel for services
2014-08-13 14:11:50 -07:00
Brendan Burns 34b240f17a Fix kubecfg.sh 2014-08-13 14:11:43 -07:00
brendandburns 045b52dbca Fix a typo in the godep installation instructions. 2014-08-13 13:54:14 -07:00
Joe Beda e5e4c8a7d3 Merge pull request #378 from monnand/godep
Use godep to manage dependencies
2014-08-13 13:28:15 -07:00
Daniel Smith 4d36502c9c Merge pull request #842 from smarterclayton/add_api_groups
Extract RESTHandler and allow API groupings
2014-08-13 13:05:02 -07:00
Nan Monnand Deng b587ec0e1a Add instructions of using godep in README 2014-08-13 15:30:25 -04:00
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
Daniel Smith 1852ffe282 Merge pull request #882 from smarterclayton/typo_in_path
Typo in name
2014-08-13 11:53:21 -07: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
Clayton Coleman 231ed95a61 Typo in name 2014-08-13 14:36:23 -04:00
erictune b8ac7092d1 Merge pull request #859 from smarterclayton/add_security_doc
First draft of security doc covering minion/etcd isolation
2014-08-13 11:21:51 -07:00
Clayton Coleman 7d24615d8e Etcd can close the watch channel for services
Need to loop and reopen if it's closed.
2014-08-13 14:21:16 -04:00
Clayton Coleman 86c9c48cba First draft of security doc covering minion/etcd isolation 2014-08-13 12:06:21 -04:00
Clayton Coleman bbf3b55e76 Extract RESTHandler and allow API groupings
Prepare for running multiple API versions on the same HTTP server
by decoupling some of the mechanics of apiserver.  Define a new
APIGroup object which represents a version of the API.
2014-08-13 10:53:34 -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