Commit Graph

167 Commits (abd92a21123bb15f55287785aa73c0c805ff1d9c)

Author SHA1 Message Date
feihujiang e85253916f Support the subresource of node proxy 2016-02-16 17:02:45 +08:00
Janet Kuo 4e8b4871c4 Add e2e test for kubectl run should generate deployment 2016-02-12 12:29:14 -08:00
Maisem Ali 1c6a223eaa Merge pull request #20865 from maisem/master
Adding a readiness probe to kubectl e2e tests.
2016-02-11 12:55:15 -08:00
Maisem Ali 16ad043cb8 running gofmt 2016-02-09 15:48:34 -08:00
Maisem Ali 4dfdb154fb Adding testing-manifests to the test tar ball 2016-02-09 14:09:26 -08:00
Madhusudan.C.S 518f08aa7c Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.

Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
Maisem Ali 3f58a0b15b Adding a readiness probe to kubectl e2e tests. 2016-02-08 15:38:17 -08:00
Isaac Hollander McCreery 14e6910364 Skip kubectl tests that don't work before v1.1 when running against a pre-v1.1 cluster; fixes #18581 2016-02-01 16:56:19 -08:00
Daniel Smith 394e91c4ff Fix potential rounding problem 2016-01-28 15:50:39 -08:00
Matt Liggett 54a7904682 Add debug output to kubectl-log-e2e.
Fixes #20287.
2016-01-28 13:49:52 -08:00
Dawn Chen 6a341731f2 Merge pull request #20010 from lavalamp/e2e-kubectl-describe
Accept both 'No events.' and 'Events:'
2016-01-25 13:54:07 -08:00
Daniel Smith 4fe0a18024 Accept both 'No events.' and 'Events:' 2016-01-22 10:56:14 -08:00
Daniel Smith 23fd5e9a33 Make future flake diagnosis possible.
It's currently unclear if the request failed because the proxy wasn't
quite up yet, or if it failed because traffic couldn't get from the
proxy to apiserver. Getting the proxy logs unconditionally should help
narrow this down.
2016-01-21 16:41:26 -08:00
k8s-merge-robot 03ecde1277 Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
James DeFelice 75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
James DeFelice bc92fd6a02 add a timeout for job runs in case something gets stuck 2016-01-14 19:29:38 +00:00
k8s-merge-robot 796cc55663 Merge pull request #18773 from ihmccreery/fix-upgrade-proxy
Auto commit by PR queue bot
2015-12-19 21:10:34 -08:00
Eric Tune f15b2e32a7 Merge pull request #16422 from hurf/created_by
Display controllers along with type when describing a pod
2015-12-18 13:44:07 -08:00
k8s-merge-robot 4a9922c900 Merge pull request #18509 from gmarek/fix-e2e-pd
Auto commit by PR queue bot
2015-12-17 02:06:23 -08:00
k8s-merge-robot 5f1ebc3420 Merge pull request #18636 from feihujiang/removeStopCommandInE2eTest
Auto commit by PR queue bot
2015-12-16 23:38:11 -08:00
Isaac Hollander McCreery a5d895ac49 Add version-guarding around calls to SubResource proxy in e2es 2015-12-16 11:18:47 -08:00
k8s-merge-robot 0be54ae771 Merge pull request #18507 from feihujiang/supportRemoveFlagForKubectlRun
Auto commit by PR queue bot
2015-12-16 01:19:26 -08:00
gmarek f38455ddc3 Update e2e tests to list only schedulable nodes, to make them work with master Node registered. 2015-12-14 16:28:23 +01:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
feihujiang 9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08:00
feihujiang fd068b2887 Replace stop with delete command in e2e test 2015-12-14 15:49:05 +08:00
Wojciech Tyczynski 6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Wojciech Tyczynski 8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
Clayton Coleman 1d592e4c28 Unversioned types should not use ambiguous go-int
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).

Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
Janet Kuo c0c02c95c4 kubectl run to produce deployment and job 2015-11-24 10:21:31 -08:00
Prashanth Balasubramanian eb4106fe29 Refactor debug logging methods. 2015-11-16 18:57:59 -08:00
k8s-merge-robot a0ef44b712 Merge pull request #16676 from jbeda/e2e-fixes
Auto commit by PR queue bot
2015-11-09 20:05:12 -08:00
k8s-merge-robot a436da79fb Merge pull request #17002 from feihujiang/removeUseOfLegacyPodsProxyPath
Auto commit by PR queue bot
2015-11-09 17:13:40 -08:00
feihujiang ceeac16dc4 Remove use of legacy pods proxy path 2015-11-09 15:23:48 +08:00
Zichang Lin 2afda9f2c1 Update guestbook example according to config best practices 2015-11-07 14:39:32 +08:00
Joe Beda 89872777b8 Make e2e/kubectl.go look more places for kubectl binary. 2015-11-02 14:42:52 -08:00
hurf 29a0fe9032 Display controllers along with type when describing a pod
There're more controllers than replication controller, the patch
displays annotation item with key "kuberntetes.io/created-by" in
the form of "Controllers: type/name".
2015-10-30 11:16:46 +08:00
gmarek e638a415d4 Port remaining e2e tests to framework 2015-10-27 09:24:32 +01:00
k8s-merge-robot 570a9dc18f Merge pull request #15796 from caesarxuchao/fix-kubectl-api-versions
Auto commit by PR queue bot
2015-10-24 01:24:31 -07:00
k8s-merge-robot c3d92de705 Merge pull request #15875 from ashcrow/release-tar-fix-for-15713-15787
Auto commit by PR queue bot
2015-10-22 23:23:33 -07:00
Chao Xu eb3a80156a let kubectl api-versions use the discovery client 2015-10-22 10:19:34 -07:00
Steve Milner 95f48f2591 e2e: kubectl HTTP fix for #15713 and #15787.
This reverts commit 54c899370e, reversing
changes made to 0338e0ef53 and adds a fix
proposed in #15848.
2015-10-20 07:07:57 -04:00
Justin Santa Barbara 67d3a93166 Fix misc typos
Mostly in comments, but also renamed the (test) function
migUdpateCmdBase -> migUpdateCmdBase.
2015-10-20 05:52:45 -04:00
Fabio Yeon 38dc2bd6d6 Revert "e2e: kubectl HTTP fix for #15713" 2015-10-17 22:34:43 -07:00
k8s-merge-robot 0338e0ef53 Merge pull request #15787 from ashcrow/release-tar-fix-for-15713
Auto commit by PR queue bot
2015-10-17 05:37:40 -07:00
Clayton Coleman e9a465d635 Make kubectl run attach behave like docker run
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04:00
Steve Milner dda162d54c e2e: kubectl HTTP fix for #15713 2015-10-16 14:48:57 -04:00
Andy Goldstein 37b0cfd02b Temp. skip exec+proxy e2e test
It's breaking GCE e2e. Will reenable once we've fixed the test.
2015-10-15 14:22:14 -04:00
k8s-merge-robot a3f2ba2e34 Merge pull request #11694 from ncdc/add-spdy-proxy-support
Auto commit by PR queue bot
2015-10-15 06:56:15 -07:00
Steve Milner 57fc4bfa56 build: test/images in test tar and a static kubectl
* release tar now includes test/images/*
* kubectl is now built as a static binary in the test
2015-10-14 09:42:04 -04:00