Commit Graph

2335 Commits

Author SHA1 Message Date
Eric Paris
a96d16f8c0 Allow option to not build cmd/integration
In case it was built seperately (as in, on Fedora, we cannot use go
install as we do not have write permission to portions of the GOPATH)
2014-09-23 11:56:26 -04:00
Tim Hockin
501144c425 Merge pull request #1406 from thockin/docs
Add a doc on pod states
2014-09-23 08:41:07 -07:00
Tim Hockin
70b74483c0 Add a doc on pod states 2014-09-23 08:40:17 -07:00
Clayton Coleman
b0b7f13ade Merge pull request #1404 from lavalamp/scheduler
Add error type to watch.
2014-09-23 11:28:29 -04:00
Filipe Brandenburger
098eda600f Merge pull request #1409 from eparis/use-config-go-in-hack
hack: Switch some $(dirname $0)../blah to use ${KUBE_*} vars
2014-09-23 08:21:53 -07:00
roberthbailey
52500306e5 Merge pull request #1408 from bgrant0607/gcutilfix
Replace --lines= with -n to fix tail on mac os.
2014-09-23 07:37:19 -07:00
Brian Grant
b9eee0f0c7 Replace --lines= with -n to fix tail on mac os. 2014-09-23 14:16:43 +00:00
Eric Paris
3a40db8f56 hack: Switch some $(dirname $0)../blah to use ${KUBE_*} vars
This doesn't fix anything broken. But we have config-go which exports
KUBE_REPO_ROOT and KUBE_TARGET.  Using those means the test scripts can
be more easily moved around the repo and still work.  Especially in
hack/test-integration.sh where we use hack/build-go.sh which is going
to use KUBE_TARGET to place the binary, then we use a different method
to find/execute the binary...
2014-09-23 10:10:55 -04:00
Sebastien Goasguen
826680353d Modifications and improvements to the vagrant cluster README 2014-09-23 15:39:16 +02:00
Daniel Smith
bab5082a85 Merge pull request #1400 from abhgupta/abhgupta-dev
Adding GetEndpoints method to the client EndpointsInterface
2014-09-22 17:51:42 -07:00
Abhishek Gupta
002a5c6c29 Added test case 2014-09-22 17:40:18 -07:00
Abhishek Gupta
7c662ff065 Adding GetEndpoints method to the client EndpointsInterface 2014-09-22 17:40:18 -07:00
Daniel Smith
f211e46f20 handle watch errors everywhere 2014-09-22 17:37:12 -07:00
Joe Beda
d65f8e3b90 Merge pull request #1397 from thockin/kubecfg
Make "kubecfg -s <port> run ..." select correctly
2014-09-22 17:21:45 -07:00
Daniel Smith
8fd1fb4337 update pkg/api documentation 2014-09-22 17:08:57 -07:00
Daniel Smith
265f889260 convert etcd errors to watch errors 2014-09-22 17:06:03 -07:00
Daniel Smith
05eff2e910 add new watch event type 2014-09-22 17:06:03 -07:00
Tim Hockin
8b6de5af83 Merge pull request #1390 from smarterclayton/allow_stdin
Allow STDIN to kubecfg via `-c -`.
2014-09-22 16:49:55 -07:00
Tim Hockin
0f9cd4301d Merge pull request #1401 from jhadvig/k8s_log_retrieval_update
stdout/stderr writer container log stream
2014-09-22 16:38:11 -07:00
Tim Hockin
cf86d66076 rename labels in kubcfg logic 2014-09-22 15:34:13 -07:00
Tim Hockin
bb3900f447 Make "kubecfg -s <port> run ..." select correctly
kubecfg run creates a replication controller which sets all pods with a
replicationController= label, but then sets up a service selecting on name=
instead.  This fixes that.  kubecfg -s <port> run ... can now actually work.
2014-09-22 15:17:47 -07:00
jhadvig
9ba71528e4 stdout/stderr container log stream 2014-09-23 00:15:36 +02:00
Brendan Burns
0c2ea0bcf2 rev versions to 0.3 2014-09-22 14:54:33 -07:00
Brendan Burns
b569003738 rev. versions to 0.3 2014-09-22 14:53:47 -07:00
Daniel Smith
248f49fb7c Merge pull request #1340 from smarterclayton/cleanup_watch_embedding
Cleanup watch encoding w/ RawExtension
2014-09-22 14:52:50 -07:00
Brendan Burns
3346c68d33 Merge pull request #1389 from lavalamp/scheduler
make watch actually return an error when there's an error
2014-09-22 13:59:57 -07:00
Brendan Burns
f851d4b7f1 Merge pull request #1391 from thockin/proxy
Proxy cleanups
2014-09-22 13:59:29 -07:00
Brendan Burns
867e441e21 Merge pull request #1394 from bgrant0607/gcutilfix
Fixes #1392. Redirects error messages to stderr so users can see them.
2014-09-22 13:58:55 -07:00
Clayton Coleman
b9028753b0 Merge pull request #1387 from lavalamp/fix4
Don't pass empty labels (looks weird to POST with a label set)
2014-09-22 16:41:01 -04:00
bgrant0607
791e2185e1 Merge pull request #1398 from jbeda/update-readme-tweak
Tweak instructions for update demo
2014-09-22 13:40:22 -07:00
Tim Hockin
486dbd165f Merge pull request #1318 from jhadvig/k8s_log_retrieval
Adding endpoint for log retrieval on the minion
2014-09-22 13:21:28 -07:00
Joe Beda
590e4cbbb9 Tweak instructions for update demo 2014-09-22 13:20:10 -07:00
Clayton Coleman
fece926e2b Remove unnecessary EmbeddedObjects
Clarify the tests in embedded_test.go to indicate that unmarshalling
of an internal object (runtime.EmbeddedObject) will not work.  Instead,
consumers should decode raw external objects.
2014-09-22 16:03:07 -04:00
Clayton Coleman
e3da2ba2c8 Cleanup watch encoding (remove dupe Encoding)
Move standard watch encode / decode streams to use
runtime.RawExtension and embed API decoding based on
a provided codec.
2014-09-22 16:03:07 -04:00
Clayton Coleman
6778a8d88d watch/iowatcher should log non EOF errors encountered 2014-09-22 16:03:07 -04:00
Victor Marmol
b6a56627a7 Merge pull request #1396 from eparis/update-cadvisor
Update cadvisor to 0.4.0
2014-09-22 13:01:06 -07:00
Clayton Coleman
9a0add3c96 runtime.RawExtension must copy the buffer, not use it 2014-09-22 15:57:37 -04:00
bgrant0607
c6e4ce321d Merge pull request #1395 from thockin/kubecfg
Don't force a host port through kubecfg
2014-09-22 12:48:34 -07:00
Tim Hockin
2c5693b0ad Don't force a host port through kubecfg 2014-09-22 12:31:37 -07:00
Eric Paris
a32400f47f Remove all code dealing with cadvisor Percentiles
This was removed upstream beween cadvisor 0.3.0 and 0.4.0
2014-09-22 14:22:40 -04:00
Eric Paris
b24f202dd4 update to 0.4.0 for cadvisor 2014-09-22 13:50:08 -04:00
Brian Grant
cf60f4fa7d Fixes #1392. Redirects error messages to stderr so users can see them. 2014-09-22 17:25:25 +00:00
jhadvig
960f1b2693 Consistency update 2014-09-21 22:25:44 +02:00
Clayton Coleman
de9dc08e55 Allow STDIN to kubecfg via -c -.
Follows the `tar xvf -` convention (because all the other conventions
are crazier?)
2014-09-20 18:40:00 -04:00
Daniel Smith
71c1137213 Merge pull request #1381 from andrewmichaelsmith/patch-2
Change etcd install from go get to binaries from releases
2014-09-20 12:08:28 -07:00
Tim Hockin
dd9c562769 Get rid of un-needed lock 2014-09-20 11:40:02 -07:00
Tim Hockin
a559d8d9b2 Move some test-only code into the test 2014-09-20 11:38:05 -07:00
Tim Hockin
20826e6d50 Move copyBytes closer to use-sites 2014-09-20 11:31:13 -07:00
Tim Hockin
cf6ccaee54 Proxy: delete serviceInfo when stopping a service 2014-09-20 11:29:04 -07:00
Daniel Smith
4d7c6e2657 Treat super short watches with no items received the same as watches that error immediately 2014-09-19 18:09:40 -07:00