Commit Graph

4381 Commits

Author SHA1 Message Date
Dawn Chen
71fc5940f1 suppress unnecessary stacktrace when http status code is redirect related. 2014-12-17 18:42:11 -08:00
Daniel Smith
8379966ac5 Merge pull request #3015 from brendandburns/fix
Remove HTTP Server support for pushing pods onto the kubelet.
2014-12-17 17:30:14 -08:00
Daniel Smith
305596edd6 Merge pull request #3014 from smarterclayton/fix_name_of_minion_in_v1beta1
v1beta1 should return Minion as kind, rather than Node
2014-12-17 17:20:21 -08:00
Brendan Burns
928f52056e Remove HTTP Server support for pushing pods onto the kubelet. 2014-12-17 17:15:36 -08:00
CJ Cullen
90364b30b0 Only create a single firewall rule for all minions. 2014-12-17 17:10:07 -08:00
Clayton Coleman
7fde4583f2 v1beta1 should return Minion as kind, rather than Node
This changes the internal name logic (for conversion) to prefer the
internal registered preferred name for a resource, and then makes
v1beta1 and v1beta2 prefer Minion.

Fixes #3010
2014-12-17 19:55:56 -05:00
Dawn Chen
edfae8660e Merge pull request #2994 from brendandburns/exec
Track the sources that the kubelet has seen
2014-12-17 16:17:48 -08:00
Joe Beda
da7d5d1a62 Merge pull request #3007 from zmerlynn/testtar
Add kubernetes-test.tar.gz
2014-12-17 15:59:28 -08:00
Mike Danese
4850bdbe63 refactor scheduler factory to use plugin architecture style like credentialprovider and cloudprovider for configuring priority functions and fit predicates 2014-12-17 14:55:28 -08:00
Zach Loafman
d3aed6c9cd Add kubernetes-test.tar.gz
Add test artifacts to the build. This lets you do:

tar -xzf kubernetes.tar.gz
tar -xzf kubernetes-test.tar.gz
cd kubernetes
go run ./hack/e2e.go -up -test -down

without having a git checkout.
2014-12-17 14:30:30 -08:00
Dawn Chen
7c66ebe2e0 Merge pull request #2985 from lavalamp/fix4
fix godep instructions
2014-12-17 13:52:18 -08:00
bgrant0607
3f22854e77 Merge pull request #2999 from dchen1107/podstatus
Determine PodStatus based on ContainerStatus and RestartPolicy
2014-12-17 13:51:41 -08:00
Joe Beda
fec6b887dd Merge pull request #2955 from jbeda/vagrant-docker-extra
Rework vagrant cluster set up.
2014-12-17 13:23:10 -08:00
Joe Beda
428aeacf6d Rework vagrant cluster set up.
* Have a single config file that mirrors other cluster providers
* Warn users not to use 'vagrant up' directly
* Allow 'extra' parameters to the docker daemon.  Fixes #2685
* Renumbers things so that they are more sane.  Master/minions are 10.245.1.x, container subnets are 10.246.x.1/24, portal is 10.247.0.0/16
2014-12-17 13:23:39 -08:00
Brendan Burns
7da0378f3c Track the sources that the kubelet has seen, and only delete pods
when every source has been seen at least once.
2014-12-17 13:08:43 -08:00
Mike Foley
569ce87f0e Updated types API to include session affinity. …
- changed CLIENT-IP and NONE to be ClientIP and None respectively
 - updated conversions to support translating between api versions.
 - updated validations to validate session affinity type if specified.
2014-12-17 15:59:20 -05:00
Dawn Chen
deafd90280 PodStatus 2014-12-17 11:39:09 -08:00
Clayton Coleman
ff305003f0 Merge pull request #2751 from sdminonne/delete_by_labels
kubectl delete command: adding  labelSelector
2014-12-17 14:16:45 -05:00
Salvatore Dario MINONNE
61ac2f7437 kubectl delete command: adding labelSelector
Add a Visitor pattern on top of ResourcesFromArgs

Allows ResourcesFromArgs to return an opaque list of items and have client
commands react to them.

Change request.go to return apiserver errors for arbitrary status codes to
better respond to generic actions that don't make sense (kubectl delete operations foo)
2014-12-17 18:15:03 +00:00
Zach Loafman
7ee633d186 Fix duration_ms output to seconds (_ms obviously means measure-in-seconds!?) 2014-12-17 10:04:09 -08:00
Daniel Smith
7a0892dad8 Merge pull request #2993 from zmerlynn/taptimes
Add test timing to TAP output
2014-12-16 17:37:56 -08:00
Daniel Smith
8e33229792 Merge pull request #2991 from dchen1107/newdocker
Move salt based clusters to Docker 1.4.1
2014-12-16 16:57:31 -08:00
Zach Loafman
c25229937c Add test timing to TAP output in hack/e2e.go
Found this buried at https://issues.jenkins-ci.org/browse/JENKINS-16647
2014-12-16 16:54:45 -08:00
Filipe Brandenburger
da4967fe38 Merge pull request #2988 from jbeda/yaml-quote
Quote strings in bash populated YAML files.
2014-12-16 16:26:22 -08:00
Joe Beda
2fc02cb06a Quote strings in bash populated YAML files.
Quoting is hard.  When writing strings into YAML files, wrap them in single quotes.  Also escape any embedded single quotes in those strings via a double signle quote ('').
2014-12-16 16:13:46 -08:00
Dawn Chen
c053ec63c5 Move salt based clusters to Docker 1.4.1 2014-12-16 15:54:26 -08:00
Daniel Smith
c7d761f0f7 fix godep instructions 2014-12-16 15:52:53 -08:00
Joe Beda
93ed9173e3 Merge pull request #2781 from commonlisp/master
simplify util.ErrorList by eliminating errorListInternal
2014-12-16 15:43:55 -08:00
Joe Beda
940e5ed34c Merge pull request #2929 from resouer/harry-fix-box
Add kuber box location env to make it faster.
2014-12-16 15:42:24 -08:00
Dawn Chen
ec9e6fb87a Merge pull request #2987 from lavalamp/fix6
fix Godeps.json; upgrade context, html, and websocket packages
2014-12-16 15:30:19 -08:00
Daniel Smith
f27bfc52ce fix Godeps.json; upgrade context, html, and websocket packages 2014-12-16 15:15:36 -08:00
Brendan Burns
bb28949291 Merge pull request #2831 from jdef/unit_test_for_2815
unit test for #2815, as requested by @brendandburns
2014-12-16 15:08:41 -08:00
Jeff Lowdermilk
c2fa72d6ba Merge pull request #2986 from jbeda/docker-default-fix
Make the test for the 'docker_opts' grain more robust.
2014-12-16 15:04:16 -08:00
bgrant0607
003ba68e4c Merge pull request #2978 from brendandburns/exec
Add an e2e test for exec liveness probes.  Fix the docker exec integration
2014-12-16 14:53:21 -08:00
Joe Beda
911a437c1b Make the test for the 'docker_opts' grain more robust.
Fixes #2982
2014-12-16 14:26:36 -08:00
bgrant0607
8ba169f6a4 Merge pull request #2983 from jbeda/local-clarify
Make it clearer how to run kubectl after bringing up a local cluster.
2014-12-16 14:24:06 -08:00
Joe Beda
e933ac5784 Make it clearer how to run kubectl after bringing up a local cluster.
Fixes #2935.
2014-12-16 14:21:22 -08:00
Brendan Burns
3a0d16ff35 Add an e2e test for exec liveness probes. Fix the docker exec integration. 2014-12-16 13:53:32 -08:00
bgrant0607
56ee66831b Merge pull request #2979 from brendandburns/e2e
Wait for not pending, not for running.
2014-12-16 13:49:49 -08:00
Brendan Burns
12803c1a0e Merge pull request #2944 from deads2k/deads-make-monitoring.sh-run
make e2e/monitor.sh work outside gce
2014-12-16 13:28:49 -08:00
Brendan Burns
d2ff21d3d5 Wait for not pending, not for running.
When failures occur, we go to 'Terminated' which can cause
indefinite blocking.
2014-12-16 13:27:34 -08:00
derekwaynecarr
6694a45542 Add doc for {namespace} path param, fixup and verify proxy paths 2014-12-16 15:55:48 -05:00
derekwaynecarr
14dd466e83 Added namespace test case for POST to /pods 2014-12-16 15:55:48 -05:00
derekwaynecarr
7cf664439f Move namespace from query param to path part 2014-12-16 15:55:47 -05:00
Brendan Burns
58ba3c7faa Merge pull request #2976 from dchen1107/newdocker
Move salt based clusters to Docker 1.4.0
2014-12-16 12:14:54 -08:00
deads2k
8313e5d9bf make e2e/monitor.sh work outside gce 2014-12-16 15:01:16 -05:00
Dawn Chen
04b136a7db Move salt based clusters to Docker 1.4.0 2014-12-16 11:58:45 -08:00
Daniel Smith
e62280d84a Merge pull request #2957 from brendandburns/e2e
Add an e2e test for http liveness.
2014-12-16 11:42:33 -08:00
Brendan Burns
f1b55c04e2 Add an e2e test for http liveness. 2014-12-16 11:38:52 -08:00
Clayton Coleman
eb0f32bf0f Merge pull request #2911 from smarterclayton/event_field_should_be_condition
Rename Event.Status to Event.Condition to match v1beta3 agreement
2014-12-16 14:28:18 -05:00