Daniel Smith
d52492111f
Merge pull request #835 from smarterclayton/apiserver_cleanup
...
Centralize path magic in apiserver into the New method
2014-08-08 13:53:15 -07:00
Clayton Coleman
a74fac7d70
Centralize path magic in apiserver into the New method
...
Make OperationHandler and WatchHandler properly encapsulate their
concerns and make them not depend on the global path
2014-08-08 16:33:44 -04:00
Daniel Smith
2297bf8cea
Merge pull request #830 from brendandburns/net
...
Delete containers for a pod if we have to create the network container.
2014-08-08 13:12:42 -07:00
brendandburns
a7a571e1ce
Update README.md
2014-08-08 12:49:06 -07:00
brendandburns
959b40bd54
Point the docs at a specific API html revision.
2014-08-08 12:48:41 -07:00
brendandburns
d0e6d00c30
Add a link to the HTML-ified API Documentation.
2014-08-08 12:46:36 -07:00
Brendan Burns
38900a9c58
Delete containers for a pod if we have to create the network container.
2014-08-08 12:34:59 -07:00
Daniel Smith
ac6d6ec974
Merge pull request #807 from smarterclayton/abstract_apiserver_encoding
...
Decouple apiserver from codec implementation
2014-08-08 11:57:04 -07:00
Tim Hockin
bff752bb24
Merge pull request #832 from VojtechVitek/api_typo
...
Fix typo in API
2014-08-08 08:30:10 -07:00
Vojtech Vitek (V-Teq)
ce4fcc4ad8
Fix typo in API
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-08-08 13:16:10 +02:00
Victor Marmol
adc57da3f3
Merge pull request #825 from brendandburns/runin
...
Add support for "run in"
2014-08-07 23:47:19 -07:00
Brendan Burns
d31d0781b2
Add support for "run in"
2014-08-07 20:27:58 -07:00
Tim Hockin
b7a8fabb32
Merge pull request #824 from derekwaynecarr/fix_kubelet_in_vagrant_env
...
Enforce -address flag is set on all Linux flavors
2014-08-07 17:39:02 -07:00
derekwaynecarr
c8c5435656
Enforce --address flag is set on all Linux flavors
2014-08-07 17:54:49 -05:00
brendandburns
76489b7fa0
Merge pull request #813 from thockin/cleanups
...
Remove duplicate -config param
2014-08-07 15:06:06 -07:00
Tim Hockin
7e9c142392
Remove duplicate -config param
...
This is duplicated in cluster/saltbase/salt/kubelet/default
cluster/saltbase/salt/kubelet/initd
2014-08-07 10:53:08 -07:00
Clayton Coleman
c9fc0bcf3d
Decouple apiserver from codec implementation
...
The apiserver on initialization must be provided with a codec
for encoding and decoding all handled objects including api.Status
and api.ServerOp. In addition, the RESTStorage Extract() method
has been changed to New(), which returns a pointer object that the
codec must decode into (the internal object). Switched registry
methods to use pointers for Create/Update instead of values.
2014-08-07 13:35:35 -04:00
Daniel Smith
14c379d27b
Merge pull request #812 from smarterclayton/sync_loop_max_wait
...
Kubelet should have a max think time before auto resync
2014-08-07 10:08:40 -07:00
Daniel Smith
9ede47299a
Merge pull request #821 from csrwng/fix_local_up_cluster_controller
...
Remove etcd servers flag from controller manager in local-up-cluster.sh
2014-08-07 10:05:59 -07:00
Victor Marmol
c501e09d14
Merge pull request #820 from brendandburns/nsenter
...
Install nsinit that is vendored into docker.
2014-08-07 08:36:49 -07:00
Clayton Coleman
4123a44653
Merge pull request #819 from thockin/restarts
...
Disable docker restarts, for now
2014-08-07 10:41:56 -04:00
Clayton Coleman
d7f46718a8
Kubelet should have a max think time before auto resync
...
The sync frequency should be part of the syncLoop and resync no
less often than every X seconds. The current implementation runs
even if a config update was delivered less than X seconds ago.
2014-08-07 10:40:03 -04:00
csrwng
c65470583e
Remove etcd servers flag from controller manager in local-up-cluster
2014-08-07 10:02:15 -04:00
Brendan Burns
22586c87fe
Install nsinit that is vendored into docker.
2014-08-06 22:45:18 -07:00
brendandburns
b43e3865b4
Merge pull request #789 from thockin/cleanups2
...
Rename files: stringlist -> list (similar to set)
2014-08-06 22:41:46 -07:00
Tim Hockin
92f13ceb52
Disable docker restarts, for now
...
If the docker daemon goes down and comes up, it will try to restart
containers. This will race with our own restart loop. Only one loop should
be controlling restarts, probably.
2014-08-06 22:41:09 -07:00
brendandburns
71bfa4cd74
Merge pull request #810 from derekwaynecarr/less_verbose
...
Run go-build on each kubepush and vagrant log only states that change or error to improve readability
2014-08-06 22:41:09 -07:00
brendandburns
cd129b1c4f
Merge pull request #814 from thockin/cleanups3
...
Clean up the -address flag in kubelet
2014-08-06 22:35:32 -07:00
brendandburns
acfbf279eb
Merge pull request #818 from csrwng/fix_fake_client_service_methods
...
Fix the wrong action being recorded on GetService in FakeKubeClient
2014-08-06 22:33:54 -07:00
csrwng
92be0b3f43
Fix the wrong action being recorded on GetService
...
Fix the action recorded when GetService gets called on FakeKubeClient
Also fix parameter names (controller -> service)
2014-08-07 00:15:44 -04:00
Tim Hockin
37309ece6d
Rename files: stringlist -> list (similar to set)
2014-08-06 20:13:40 -07:00
Tim Hockin
b0ffa8c8f6
Set kubelet -address flag to 0.0.0.0 via salt
...
Currently it binds to the eth0 IP only, this includes localhost. The flag
default is localhost only, but we need it looser than that.
2014-08-06 18:11:35 -07:00
Tim Hockin
adc9bb9451
Clarify flags for info server startup
...
Make a distinct flag to enable/disable the server. Comment on the address
flag.
2014-08-06 17:28:41 -07:00
Tim Hockin
ebef8af8fe
Merge pull request #688 from Sarsate/volume-cleanup-loop
...
Volume reconciliation loop
2014-08-06 16:59:17 -07:00
Daniel Smith
8e377e6ddf
Merge pull request #809 from amygdala/cleanup
...
minor cleanup, and bumped manifest version on 'pod' getting started example
2014-08-06 15:54:26 -07:00
Amy Unruh
f9bbddf892
minor docs/error msg cleanup
2014-08-06 15:43:27 -07:00
Daniel Smith
aa3ac324bc
Merge pull request #803 from brendandburns/nsenter
...
Install nsinit on hosts.
2014-08-06 15:12:49 -07:00
derekwaynecarr
b9dc38e617
Log only states that change or error to improve readability
2014-08-06 14:47:41 -04:00
Danny Jones
7c28e0849f
Reorganization; Directory traversal less ugly
...
Directory traversal is no longer recursive and only goes as deep as it
needs to. Moved GetActiveVolumes to volume packages and added a simple
test.
2014-08-06 11:20:34 -07:00
Daniel Smith
8c529187b5
Merge pull request #806 from smarterclayton/follow_up_to_encoding_abstraction
...
Address remaining comments from #756
2014-08-06 10:47:41 -07:00
Daniel Smith
c04cee5bc2
Merge pull request #808 from smarterclayton/minion_proxy_test
...
Fix proxy error condition and simplify method
2014-08-06 10:28:29 -07:00
Danny Jones
3f7f6cb2dc
Modifies tests to use new volume objects.
2014-08-06 10:21:59 -07:00
Danny Jones
6191ffc0de
Modifies directory walker to use a regex
...
Now a regex is used to determine active volume properties from
their directory paths.
2014-08-06 10:21:59 -07:00
Danny Jones
47bca30edc
Splits volume interface into Builders and Cleaners
...
Different information is needed to perform setup versus teardown. It
makes sense to separate these two interfaces since when we call teardown
from the reconciliation loop, we cannot rely on having the
information provided by the api definition of the volume.
2014-08-06 10:21:59 -07:00
Danny Jones
dfc9cb86f0
Initial reconciliation loop.
...
Determines the set of active volumes versus the set of valid volumes
defined by the manifests. If there is an active volume that is not
defined in any of the manifests, deletes and cleans up that volume.
2014-08-06 10:21:59 -07:00
Clayton Coleman
67dbd15929
Address remaining comments from #756
...
Rename Encoding to Codec, Versioning to ResourceVersioner. Add
GoDoc. Add Delete(key, recursive) to EtcdHelper
2014-08-06 11:25:35 -04:00
Clayton Coleman
836d2b9808
Fix proxy error condition and simplify method
...
Add new minion proxy test case.
2014-08-06 01:03:17 -04:00
Daniel Smith
91b31c5552
Merge pull request #804 from lavalamp/fixEtcd
...
Stop passing etcd_servers to controller manager
2014-08-05 17:48:50 -07:00
Daniel Smith
ea47ca7aa0
Stop passing etcd_servers to controller manager
2014-08-05 17:46:39 -07:00
Tim Hockin
63a7c37650
Merge pull request #799 from sborman/master
...
Corrected a typo in comment.
2014-08-05 17:17:02 -07:00