Commit Graph

3005 Commits (df832d15cef5b4d6139826b487d1be68cd471199)

Author SHA1 Message Date
Joe Finney f3b2490c90 Kubemark tests need to run on the Jenkins master. 2016-04-18 09:56:02 -07:00
Joe Finney f815be2c72 Revert "Revert "Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""""
This reverts commit e0f585ae93.
2016-04-18 09:55:09 -07:00
k8s-merge-robot a275a045d1 Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable
Automatic merge from submit-queue

Make etcd cache size configurable

Instead of the prior 50K limit, allow users to specify a more sensible size for their cluster.

I'm not sure what a sensible default is here. I'm still experimenting on my own clusters. 50 gives me a 270MB max footprint. 50K caused my apiserver to run out of memory as it exceeded >2GB. I believe that number is far too large for most people's use cases.

There are some other fundamental issues that I'm not addressing here:
- Old etcd items are cached and potentially never removed (it stores using modifiedIndex, and doesn't remove the old object when it gets updated)
- Cache isn't LRU, so there's no guarantee the cache remains hot. This makes its performance difficult to predict. More of an issue with a smaller cache size.
- 1.2 etcd entries seem to have a larger memory footprint (I never had an issue in 1.1, even though this cache existed there). I suspect that's due to image lists on the node status.

This is provided as a fix for #23323
2016-04-17 00:06:31 -07:00
k8s-merge-robot bfc953cd4b Merge pull request #23890 from pmorie/kubectl-describe-envs
Automatic merge from submit-queue

Correctly handle secret and configMap envs in kubectl describe

Fixes #23679 

cc @kubernetes/kubectl @jwforres
2016-04-16 17:08:58 -07:00
k8s-merge-robot 957ee1d50a Merge pull request #23819 from rrati/controller-manager-startup-delay
Automatic merge from submit-queue

Added optional delays to starting controller managers. #22669
2016-04-16 15:33:32 -07:00
Andy Zheng b2b738eed3 Shorten cluster names in GKE Jenkins on Trusty 2016-04-16 08:56:43 -07:00
k8s-merge-robot e87d8bacc4 Merge pull request #24273 from gtank/local-up-advertise
Automatic merge from submit-queue

hack: specify --advertise-address in hack/local-up-cluster.sh

This fixes the bug where the script fails to launch an apiserver on a
machine without active networking (issue #24272).
2016-04-16 07:31:14 -07:00
k8s-merge-robot d40bf503ed Merge pull request #24256 from porridge/fix-newlines
Automatic merge from submit-queue

Fix spacing in usage_from_stdin and info_from_stdin (issue #24186).

If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line

Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.

Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-16 07:31:12 -07:00
k8s-merge-robot 8a44115cc5 Merge pull request #24338 from spxtr/linkcheck
Automatic merge from submit-queue

Move cmd/linkcheck to test targets.

https://github.com/kubernetes/kubernetes/issues/24285#issuecomment-210306681
2016-04-16 00:00:30 -07:00
k8s-merge-robot 7bc49fb085 Merge pull request #24243 from hodovska/master
Automatic merge from submit-queue

Remove --api-version usage in test-cmd.sh.

Kubectl flag `--api-version` has been deprecated.

Fixes #24053
2016-04-16 00:00:27 -07:00
Joe Finney e0f585ae93 Revert "Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker"""
This reverts commit 93ea0252fd.
2016-04-15 18:41:40 -07:00
Joe Finney 009b0f051d Merge pull request #24356 from spxtr/revert-revert
Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""
2016-04-15 16:02:30 -07:00
k8s-merge-robot 985b5f14e2 Merge pull request #24168 from ixdy/jenkins-daily-maintenance-job
Automatic merge from submit-queue

Rename "gcloud-update" jobs to "daily-maintenace" and add Docker cleanup

I'm guessing Jenkins Job Builder won't delete the old job, and we'll need to do that manually?

@spxtr @fejta
2016-04-15 15:41:03 -07:00
k8s-merge-robot 03f48e730e Merge pull request #22810 from amygdala/cassandra2
Automatic merge from submit-queue

phase 2 of cassandra example overhaul

Here's the next iteration in overhauling this example, towards https://github.com/kubernetes/kubernetes/issues/20961.  This removes the pod adoption part, but doesn't (yet) otherwise change any of the resources used.

It also includes some README cleanup, and removes some explicit specification of labels in the rc yaml.

This PR doesn't yet add any commentary on how we're using the seed provider (re: https://github.com/kubernetes/kubernetes/issues/20961#issuecomment-190405959 etc.).  Maybe we should add that.

Also: LMK if this PR should include any changes to the links out to the docs.

cc @bgrant0607 @johndmulhausen
2016-04-15 15:41:01 -07:00
Joe Finney 93ea0252fd Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""
This reverts commit b2f8b1962f.
2016-04-15 14:56:48 -07:00
k8s-merge-robot 82458d8f46 Merge pull request #24281 from ixdy/dockerized-e2e
Automatic merge from submit-queue

Set metadata.google.internal IP in dockerized e2e based on /etc/hosts

Support the metadata cacher from #24131 inside dockerized e2e runs.

cc @fejta
2016-04-15 14:48:15 -07:00
Jeff Grafton 9fa35d0bc6 Set metadata.google.internal IP in dockerized e2e based on /etc/hosts 2016-04-15 12:12:12 -07:00
k8s-merge-robot 75d9b36a2a Merge pull request #24175 from fejta/fast
Automatic merge from submit-queue

Restart job 5m after the previous failure.

If a job flakes at the beginning of it scripts, it will likely sit around doing nothing for 30m blocking the merge queue. Decreasing this to 5m.
2016-04-15 12:04:08 -07:00
Mike Danese c5cc0c34fb Merge pull request #24277 from ihmccreery/upgrade-timeout
Use a sane timeout for experimental upgrade jobs, and skip v1.1 tests
2016-04-15 11:40:09 -07:00
Joe Finney c2906ee09d
Remove soak and disruptive 1.1 Jenkins jobs. 2016-04-15 11:34:30 -07:00
Joe Finney 7179296e30
Move cmd/linkcheck to test targets. 2016-04-15 09:55:04 -07:00
Erick Fejta f5cc8f772b Restart job 5m after the previous failure. 2016-04-15 07:33:18 -07:00
k8s-merge-robot ff1da7674d Merge pull request #24268 from wojtek-t/remove_old_conversions_generator
Automatic merge from submit-queue

Remove old conversion generator
2016-04-15 04:25:19 -07:00
Wojciech Tyczynski 89e860e622 Remove old conversion generator 2016-04-15 12:07:57 +02:00
Amy Unruh 8846b313dc phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
Daniel Smith 225f4786af Merge pull request #24026 from gmarek/gofmt
Add go1.4 and 1.6 to hack/verify-gofmt.sh and fail verify check if go…
2016-04-14 16:56:33 -07:00
Daniel Smith a42d7fa31c Merge pull request #23756 from smarterclayton/force_delete
Add a client flag to delete "--now" for grace period 0
2016-04-14 16:55:07 -07:00
Daniel Smith d8532e0746 Merge pull request #24294 from spxtr/build-boop
Bump kubernetes-build timeout.
2016-04-14 16:23:11 -07:00
Daniel Smith f778cb3bc7 Merge pull request #24223 from tyangliu/generate-yaml-docs
Include genyaml in update/verify generated docs scripts
2016-04-14 16:22:03 -07:00
Joe Finney 21e664aa95 Bump kubernetes-build timeout. 2016-04-14 16:16:21 -07:00
Daniel Smith 276665f774 Merge pull request #24289 from spxtr/bandaid
Bump the kubernetes-test-go timeout.
2016-04-14 15:52:12 -07:00
Joe Finney b00ade13e5 Bump the kubernetes-test-go timeout. 2016-04-14 15:48:37 -07:00
Daniel Smith a4e0aaab9d Merge pull request #24068 from ixdy/jjb-diff
Compute Jenkins job config XML changes easily
2016-04-14 15:12:09 -07:00
Daniel Smith 4389aa1364 Merge pull request #23931 from luxas/build_for_arm64
Build Kubernetes, etcd and flannel for arm64 and ppc64le
2016-04-14 15:10:37 -07:00
Joe Finney e6919f335e
Update Jenkins documentation. 2016-04-14 14:13:32 -07:00
Isaac Hollander McCreery 5e1a268511 Use a sane timeout for experimental upgrade jobs, and skip v1.1 tests properly 2016-04-14 13:13:20 -07:00
Euan Kemp 9f9c54cdd2 jenkins: Allow configuration of release bucket
This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-14 12:26:43 -07:00
George Tankersley 07eb9ec305 hack: specify advertise address for local-up-cluster.sh
This fixes the bug where the script fails to launch an apiserver on a
machine without active networking.
2016-04-14 12:08:21 -07:00
George Tankersley 64b11a0b79 hack: change update-swagger-spec.sh apiserver defaults
Removing the explicit list of KUBE_API_VERSIONS will cause the apiserver
to enable all APIs by default. This change reduces the amount of script
hacking needed to add new API groups in the future.
2016-04-14 11:48:11 -07:00
Daniel Smith 490c68dbe3 Merge pull request #23768 from wojtek-t/conversions_with_framework_6
Migrate to new conversions generator - part 2
2016-04-14 11:30:21 -07:00
Marcin Owsiany 9ce855269e Fix spacing in usage_from_stdin and info_from_stdin (issue #24186).
If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line

Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.

Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-14 18:19:02 +02:00
Dominika Hodovska 70a43aa043 Remove --api-version usage in test-cmd.sh. 2016-04-14 10:14:11 +02:00
Lucas Käldström 4559a84d3b Build Kubernetes, etcd and flannel for arm64 and ppc64le 2016-04-14 07:29:10 +03:00
Daniel Smith d19bc6b245 Merge pull request #24222 from pwittrock/jjbto
Increase kubelet timeout from 30->45 minutes to address long build ti…
2016-04-13 17:15:25 -07:00
Phillip Wittrock e79483ab0b Increase kubelet timeout from 30->45 minutes to address long build times. 2016-04-13 15:14:12 -07:00
Thomas Liu f4f04e2985 Include genyaml in update/verify generated docs scripts 2016-04-13 15:11:31 -07:00
goltermann a3104ba96c Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
Tim St. Clair b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Robert Rati 83de3e9733 Added optional delays to starting controller managers. #22669 2016-04-13 09:52:28 -04:00
k8s-merge-robot d8680feda6 Merge pull request #24184 from fejta/kubemark
Automatic merge from submit-queue

Increase 5 node kubemark to a 60m timeout, schedule every 5m

Closes https://github.com/kubernetes/kubernetes/issues/24183 and should reduce mergebot flakes

http://kubekins.dls.corp.google.com/view/Submit%20Queue/job/kubernetes-kubemark-5-gce/1354/consoleFull is an example where everything seemed to be running find but ran out of time after 30m, which is only slightly slower than its average passing runtime of 20m. I'm increasing to 3x average runtime.
2016-04-13 04:43:05 -07:00
Erick Fejta e1ed4d48a4 Increase 5 node kubemark to a 60m timeout and start every 5m (when not already running) 2016-04-13 01:28:46 -07:00
k8s-merge-robot 42ac05fa20 Merge pull request #24115 from rmmh/test-history-suites
Automatic merge from submit-queue

Add suite pages to test-history

This changes http://storage.googleapis.com/kubernetes-test-history/static/index.html to look like:

![image](https://cloud.githubusercontent.com/assets/211868/14445317/f263e1da-0000-11e6-9bd9-01150d9ae4ba.png)

And adds sub-pages to show test results for specific suites:

![image](https://cloud.githubusercontent.com/assets/211868/14445339/1bb8555c-0001-11e6-9e5c-41d671af39a1.png)
2016-04-12 19:48:56 -07:00
Erick Fejta b2f8b1962f Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker" 2016-04-12 18:40:21 -07:00
Ryan Hitchman 5683c0b087 Make test-history generator create pages for individual suites
This makes it easier to determine which tests cause particular suites to
fail.

All static HTML pages are now generated by one invocation of gen_html.py.

- make index include good/flake/fail numbers for each link
- consistently use % for string interpolation
2016-04-12 18:07:59 -07:00
Jeff Grafton d82a8cb282 Add a verify check to check Jenkins job config changes 2016-04-12 16:49:28 -07:00
Jeff Grafton 47967d0756 Add script to compute diff in Jenkins job config changes 2016-04-12 16:49:22 -07:00
Jeff Grafton 5bcd1f8d7b Rename "gcloud-update" jobs to "daily-maintenace" and add Docker cleanup 2016-04-12 16:43:34 -07:00
Abhi Shah 405656eff8 Merge pull request #24149 from ihmccreery/upgrade-clean
e2e-runner: don't clean old binaries before upgrade
2016-04-12 15:19:56 -07:00
Jeff Grafton 0fb747882d Merge pull request #24109 from ixdy/dockerized-e2e
Run most GCE, GKE, and Kubemark e2e jobs inside Docker
2016-04-12 14:38:04 -07:00
k8s-merge-robot 95871a3582 Merge pull request #24066 from wonderfly/serial_tests_trusty
Automatic merge from submit-queue

Start running [Serial] tests in Trusty CI jobs and the release job of Trusty-dev

Adding these tests as requested in https://github.com/kubernetes/kubernetes/issues/23956#issuecomment-207096136

@spxtr Can you review this?
cc/ @dchen1107 @andyzheng0831
2016-04-12 13:28:40 -07:00
Isaac Hollander McCreery 7fb421bdc3 e2e-runner: don't clean old binaries before upgrade 2016-04-12 11:12:59 -07:00
Alex Robinson 80a75ff76c Merge pull request #24075 from a-robinson/multizone
Add an e2e test suite for multi-zone GKE clusters.
2016-04-12 09:31:24 -07:00
James Ravn 5bb0595260 Make deserialization cache size configurable
Instead of the default 50K entries, allow users to specify more sensible
sizes for their cluster.
2016-04-12 13:42:27 +01:00
Jeff Grafton a639e702f0 Run most GCE, GKE, and Kubemark e2e jobs inside Docker
Explicitly pin all <= 1.1 e2e jobs, upgrade, soak, and AWS jobs to
the master node and "legacy" e2e runner.
2016-04-11 14:26:00 -07:00
Jordan Liggitt 37c86041ca Preserve int64 data when patching 2016-04-11 16:23:28 -04:00
Jeff Grafton 1816582fda Remove "dirty workspace" check in e2e-runner.sh 2016-04-11 12:02:14 -07:00
Jeff Grafton 94d4a3eca3 Merge pull request #24010 from ixdy/dockerized-e2e
Run kubernetes-e2e-g[ck]e-flaky inside Docker
2016-04-11 11:36:18 -07:00
Isaac Hollander McCreery f9ffeb8244 Merge pull request #24077 from ihmccreery/upgrade-version-1.1
Fix upgrade jobs again
2016-04-11 09:52:46 -07:00
Wojciech Tyczynski 7448cc04e1 Switch to new generator 2016-04-11 08:04:45 +02:00
k8s-merge-robot e31177219b Merge pull request #23962 from fejta/test-cmd
Automatic merge from submit-queue

Update hack/test-cmd.sh to use tagged, gcr.io images

Migrate hack/test-cmd.sh and related test data to use tagged, gcr.io versions of the images for #13288 and #20836
2016-04-09 20:37:45 -07:00
Isaac Hollander McCreery a2fc84878e Use 1.1 as published version for experimental upgrade jobs 2016-04-08 17:31:10 -07:00
Alex Robinson e686ba978f Add an e2e test suite for multi-zone GKE clusters. 2016-04-09 00:14:44 +00:00
Jeff Grafton fde3545351 Use dockerized e2e for g[ck]e-flaky jobs, and run on the Jenkins slave
Force all other e2e jobs to run on master.
2016-04-08 16:45:00 -07:00
Jeff Grafton 253711016e Make e2e-runner.sh work inside Docker and add wrapper script 2016-04-08 16:42:09 -07:00
Jeff Lowdermilk 3a1767fda0 Merge pull request #23649 from ihmccreery/release-pin
Create test job against release/latest on GKE
2016-04-08 16:38:42 -07:00
Erick Fejta 7d2055a762 Increase *-slow workflow timeouts to 150 as avg runtime is 50m 2016-04-08 15:54:49 -07:00
Daniel Wang f7b674533c Start running [Serial] tests in Trusty CI jobs and the release job of Trusty-dev 2016-04-08 14:25:11 -07:00
Jeff Lowdermilk 9ee4d79a62 Merge pull request #23821 from spxtr/retry-404
Retry the cloudsdk gsutil copy.
2016-04-08 12:56:28 -07:00
Jeff Lowdermilk 8b6ab71901 Merge pull request #23760 from spxtr/disable-jobs
Disable autoscaling Jenkins job.
2016-04-08 12:54:41 -07:00
Jeff Lowdermilk 653bc04eb2 Merge pull request #24032 from ixdy/update-job
Only keep 7 days' worth of logs for kubernetes-update-jenkins-jobs
2016-04-08 12:44:29 -07:00
Jeff Lowdermilk c0567e3b5f Merge pull request #24046 from ihmccreery/fix-upgrade-splits
Fix upgrade tests
2016-04-08 12:43:51 -07:00
Jeff Lowdermilk 48ea7cae48 Merge pull request #23970 from fejta/slow
Increase standard e2e suite timeout to 50m, twice mean runtime
2016-04-08 09:33:32 -07:00
Isaac Hollander McCreery 1c28cf016c Fix upgrade tests 2016-04-08 08:28:18 -07:00
gmarek c36e965c45 Change the go version checking in go format to the same as in contrib. 2016-04-08 10:14:01 -04:00
Jeff Grafton c924f5aa87 Only keep 7 days' worth of logs for kubernetes-update-jenkins-jobs 2016-04-08 00:21:47 -07:00
Clayton Coleman ea3467f822 Add a client flag for --now delete
Is equivalent to --grace-period=0 but is more intuitive for end users.
2016-04-07 23:45:08 -04:00
Crazykev 7c9dfd8620 fix relative working dirctory of KUBE_ROOT
Signed-off-by: Crazykev <zcq8989@gmail.com>
2016-04-08 11:00:27 +08:00
Erick Fejta 5fd47873dd Update hack/test-cmd.sh to use tagged, gcr.io images 2016-04-07 17:55:22 -07:00
Jeff Lowdermilk d427eeea10 Merge pull request #23842 from mml/gcloud
Set CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS on GCE e2e runs.
2016-04-07 15:59:23 -07:00
k8s-merge-robot 25ffc6ab03 Merge pull request #23984 from vishh/skip-tests-node-e2e
Automatic merge from submit-queue

Add an option to focus or skip tests in the node e2e makefile rule.

cc @kubernetes/sig-node
2016-04-07 14:09:12 -07:00
Paul Morie 9069cbb086 Correctly handle secret and configMap envs in kubectl describe 2016-04-07 14:16:59 -04:00
Vishnu kannan 1e7e941dae Add an option to focus or skip tests in the node e2e makefile rule.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-07 10:22:22 -07:00
Erick Fejta 7416c4470c Increase standard e2e suite timeout to 50m, twice mean runtime 2016-04-06 19:11:17 -07:00
Joe Finney 5f5639da1e
Retry the cloudsdk gsutil copy. 2016-04-06 16:42:14 -07:00
k8s-merge-robot 7b0766ad67 Merge pull request #23712 from freehan/jenkins
Automatic merge from submit-queue

add jenkins project for kubenet

added a jenkins project for gce using kubenet as network provider


`k8s-jkns-e2e-gce-kubenet` has been created and configured
2016-04-06 15:33:49 -07:00
Matt Liggett 42b8fa8ca6 Stop using storage.cloud.google.com in test logs. 2016-04-06 12:59:53 -07:00
Isaac Hollander McCreery 9a7860855c Merge pull request #22962 from ihmccreery/split-upgrade-jobs
Add configuration for splitting upgrade jobs instead of using Jenkins steps
2016-04-05 13:05:25 -07:00
Matt Liggett 3a4beb1ef1 Set CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS on GCE e2e runs.
This should help us debug the large number of gcloud crashes we are
seeing.
2016-04-04 15:07:53 -07:00
Isaac Hollander McCreery 53c3a5626d Add configuration for splitting upgrade jobs instead of using Jenkins steps 2016-04-04 14:21:21 -07:00
Vishnu kannan a3cfe90b14 Transfer ownership of cadvisor e2es to Tim St. Clair.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-04 13:15:03 -07:00
Isaac Hollander McCreery e5d900a23f Remove cloud-kubernetes-alerts from notifications, since the emails aren't going through anyway 2016-04-04 10:47:08 -07:00
Isaac Hollander McCreery 718c5b0d2f Create test job against release/latest on GKE 2016-04-04 10:47:08 -07:00
Chris Drake 7aa9ef54ce Replace tab with eight spaces 2016-04-01 18:47:13 -07:00
Joe Finney 1358f5c529 Disable autoscaling Jenkins job. 2016-04-01 13:16:05 -07:00
Fabio Yeon bf07a6f5e1 Merge pull request #23452 from david-mcmahon/mungedocs
Add --norecurse bool to allow mungedocs to process kube root.
2016-04-01 12:06:56 -07:00
Jeff Grafton d7f7c7796c Merge pull request #23415 from ixdy/upload-to-gcs-script
Refactor upload-started.sh and upload-finished.sh into upload-to-gcs.sh
2016-04-01 11:54:12 -07:00
k8s-merge-robot a49d5c1fd0 Merge pull request #23714 from wojtek-t/dont_run_without_watch_cache
Automatic merge from submit-queue

Don't run integration tests without watch cache.

@lavalamp - FYI
2016-04-01 09:31:34 -07:00
k8s-merge-robot 14f5eb458d Merge pull request #23454 from wonderfly/bump_timeouts
Automatic merge from submit-queue

Migrate gke-trusty test jobs to 1.2

Following up #23100 and #23139, #23319, migrate all gke-trusty jobs to the
`release-1.2` branch, add parallel and subnet test jobs, and bump timeouts
accordingly.

Tested with `jenkins-jobs test`. Manually diff'ed gke-trusty jobs against their equivalent gke jobs. For example,

```
# diff /tmp/jobs0324/kubernetes-e2e-gke-test /tmp/jobs0324/kubernetes-e2e-gke-trusty-test
4c4
<   <description>Run E2E tests on GKE test endpoint. Test owner: GKE on-call.&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
---
>   <description>Run E2E tests on GKE test endpoint. Test owner: wonderfly@google.com.&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
49c49
< export PROJECT=&quot;k8s-jkns-e2e-gke-test&quot;
---
> export PROJECT=&quot;kubekins-e2e-gke-trusty-test&quot;
51a52
> export E2E_NAME=&quot;jkns-gke-e2e-test-trusty&quot;
228c229
<       <recipientList>$DEFAULT_RECIPIENTS</recipientList>
---
>       <recipientList>wonderfly@google.com,qzheng@google.com</recipientList>
```

@spxtr @roberthbailey @ihmccreery Can you review this?
cc/ @andyzheng0831
2016-04-01 06:38:56 -07:00
k8s-merge-robot 07929972a3 Merge pull request #18835 from brendandburns/3rdparty
Automatic merge from submit-queue

Add support for 3rd party objects to kubectl

@deads2k @jlowdermilk

Instructions for playing around with this:

Run an apiserver with third party resources turned on (`--runtime-config=extensions/v1beta1=true,extensions/v1beta1/thirdpartyresources=true`)

Then you should be able to:

```
kubectl create -f rsrc.json
```

```json
{
  "metadata": {
    "name": "foo.company.com"
  },
  "apiVersion": "extensions/v1beta1",
  "kind": "ThirdPartyResource",
  "versions": [
    {
      "apiGroup": "group",
      "name": "v1"
    },
    {
      "apiGroup": "group",
      "name": "v2"
    }
  ]
}
```

Once that is done, you should be able to:

```
curl http://<server>/apis/company.com/v1/foos
```

```
curl -X POST -d @${HOME}/foo.json http://localhost:8080/apis/company.com/v1/namespaces/default/foos
```

```json
{
  "kind": "Foo",
  "apiVersion": "company.com/v1",
  "metadata": {
    "name": "baz"
  },
  "someField": "hello world",
  "otherField": 1
}
```

After this PR, you can do:

```
kubectl create -f foo.json
```

```
kubectl get foos
```

etc.
2016-03-31 18:09:56 -07:00
k8s-merge-robot f8ea3fab53 Merge pull request #23427 from wojtek-t/conversions_with_framework_4
Automatic merge from submit-queue

Migrate to the new conversion generator - part1

This PR contains two commits:
- few more fixes to the generator
- migration of the pkg/api/v1 to use the new generator

The second commit is big, but I reviewed the changes and they contain:
- conversions between types that we didn't even generating conversion between
- changes in how we handle maps/pointers/slices - previously we were explicitly referencing fields, now we are using "shadowing in, out" to make the code more generic
- lack of auto-generated method for ReplicationControllerSpec (because these types are different (*int vs int for Replicas) and a preexisting conversion already exists

Most of issues in the first commit (e.g. adding references to "in" and "out" for slices/maps/points) were discovered by our tests. So I'm pretty confident that this change is correct now.
2016-03-31 17:28:36 -07:00
David McMahon 37787ffe90 Add --norecurse bool to allow mungedocs to process kube root.
Run hack/after-build/update-generated-docs.sh on kube root with --norecurse and
--skip-munges=unversioned-warning.
2016-03-31 16:53:44 -07:00
Wojciech Tyczynski 70688f84e8 Don't run integration tests without watch cache. 2016-04-01 00:51:23 +02:00
Minhan Xia 2937d8f87f add jenkins project for kubenet 2016-03-31 15:00:36 -07:00
Jeff Grafton 62b3587b62 Use upload-to-gcs.sh everywhere 2016-03-31 13:49:06 -07:00
Jeff Grafton f83a6f1665 Refactor upload-started.sh and upload-finished.sh into upload-to-gcs.sh. 2016-03-31 13:45:23 -07:00
k8s-merge-robot 154ed74424 Merge pull request #23469 from fejta/goget
Automatic merge from submit-queue

Retry github and godep operations in test-dockerized.sh

closes #21887.

Attempt to mitigate go get and godep flakes by retrying a few times inside of jenkins
2016-03-31 12:23:57 -07:00
Brendan Burns be6c5b332b Add third party support to kubectl 2016-03-31 10:53:32 -07:00
k8s-merge-robot 5e159695d9 Merge pull request #23422 from gmarek/diff
Automatic merge from submit-queue

When checking for leak look only at additional resources

This should help with "fake" leaks, when run deletes stuff that was leaked in a previous one.

cc @zmerlynn @ixdy @wojtek-t
2016-03-31 06:32:54 -07:00
gmarek 5555cbeb2b When checking for leak look only at additional resources 2016-03-30 15:08:14 -07:00
Janet Kuo c1596e6711 Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
Isaac Hollander McCreery 84a6c4588a Fix cluster names to be numeric in upgrade jobs 2016-03-30 13:31:01 -07:00
Erick Fejta 0c0722373c Retry intermittent failures in test-dockerized.sh during go get 2016-03-30 11:44:35 -07:00
Isaac Hollander McCreery fe58dac522 Merge pull request #23096 from ihmccreery/numeric-cluster-names-upgrades
Fix cluster names to be numeric in upgrade jobs
2016-03-30 11:08:21 -07:00
k8s-merge-robot be8ce6c385 Merge pull request #23353 from spiffxp/conformance-docs
Automatic merge from submit-queue

Update conformance test policy

Addresses #14913

/cc @kubernetes/sig-testing
2016-03-30 06:21:13 -07:00
k8s-merge-robot 6226cbe6ca Merge pull request #23308 from yifan-gu/rkt_bump
Automatic merge from submit-queue

rkt: bump rkt version to 1.2.1

Upon bumping the rkt version, `--hostname` is supported. Also we now gets the configs from the rkt api service, so `stage1-image` is deprecated. 

cc @yujuhong @Random-Liu
2016-03-30 05:42:58 -07:00
Daniel Wang a84f4c2af6 Migrate gke-trusty test jobs to 1.2
Following up #23100 and #23139, #23319, migrate all gke-trusty jobs to the
`release-1.2` branch, add parallel and subnet test jobs, and bump timeouts
accordingly.
2016-03-29 15:35:16 -07:00
Phillip Wittrock 9de33fc425 Run node test jobs every 30 minutes instead of daily. This is critical for the kubelet e2e as it is a merge queue blocker. 2016-03-29 09:54:51 -07:00
Wojciech Tyczynski 9ee8278e4a Fix remaining issues with conversion generator. 2016-03-29 09:49:27 +02:00
Yifan Gu d814d973ff rkt: Bump rkt required version. Get options from api service. 2016-03-28 17:06:14 -07:00
k8s-merge-robot 5cb94cfab1 Merge pull request #23302 from spxtr/unittest-1.6
Auto commit by PR queue bot
2016-03-26 11:56:54 -07:00
k8s-merge-robot 23fc7905c1 Merge pull request #23466 from andyzheng0831/fix
Auto commit by PR queue bot
2016-03-26 04:01:49 -07:00
Robert Bailey 44b1f63d16 Set the correct api endpoint for gke prod. 2016-03-25 15:34:55 -07:00
Andy Zheng 364ac85179 Support differentiation of OS distro in e2e tests 2016-03-25 14:53:36 -07:00
k8s-merge-robot 1358dac95d Merge pull request #23418 from roberthbailey/gke-asia
Auto commit by PR queue bot
2016-03-25 06:17:17 -07:00
k8s-merge-robot 548cfa68ca Merge pull request #23202 from ixdy/jenkins-test-go-gopath
Auto commit by PR queue bot
2016-03-25 04:23:39 -07:00
Daniel Wang a06eb5b0c2 Disable gke-trusty-prod
Has been failing constantly due to a known internal issue.
2016-03-24 18:35:05 -07:00
David McMahon 47ee746fcc Merge pull request #23364 from david-mcmahon/godep-licenses
Write a parallel (godeps) _workspace tree to hold all the missing files.
2016-03-24 15:35:50 -07:00
Robert Bailey a39c120cbe Use the right variable to change the GKE zone. 2016-03-24 09:26:48 -07:00
gmarek 6dec136b23 Remove kubemark-gce suite 2016-03-24 10:52:57 +01:00
k8s-merge-robot 8355cefb7b Merge pull request #23373 from wojtek-t/conversions_with_framework_3
Auto commit by PR queue bot
2016-03-24 01:39:23 -07:00
k8s-merge-robot 76fde46b16 Merge pull request #23025 from nikhiljindal/disableSwaggerUI
Auto commit by PR queue bot
2016-03-24 00:55:06 -07:00
Wojciech Tyczynski 42e7ecda5a Fix bunch of issues with conversion generator. 2016-03-24 08:26:51 +01:00
Prashanth Balasubramanian 3ced1eedf5 Give 1-2 ingress tests their own project. 2016-03-23 16:22:49 -07:00
k8s-merge-robot 635bc410a6 Merge pull request #23405 from ixdy/jenkins-job-configs
Auto commit by PR queue bot
2016-03-23 16:19:33 -07:00
k8s-merge-robot f8bb10b479 Merge pull request #22818 from andyzheng0831/enhance
Auto commit by PR queue bot
2016-03-23 16:19:31 -07:00
Jeff Grafton 601ecaff0a Run upload-to-gcs.sh after upload-finished.sh. 2016-03-23 15:28:06 -07:00
k8s-merge-robot 69b3cb36a6 Merge pull request #22726 from chuckbutler/juju-import-layers
Auto commit by PR queue bot
2016-03-23 14:26:42 -07:00
nikhiljindal 1cccfc7074 Disabling swagger ui by default. Adding a flag to enable it 2016-03-23 13:19:22 -07:00
Robert Bailey e2feb28dd6 Migrate the gke-prod e2e test from the 1.1 release branch to the
1.2 release branch and add a gke-prod-parallel test.
2016-03-22 21:14:20 -07:00
David McMahon 3e613ee341 Write a parallel (godeps) _workspace tree to hold all the missing files.
godeps doesn't get everything we want, so fix the problem but write it
to a parallel tree since _workspace is reserved only for godeps auto-generated
files.
2016-03-22 16:51:30 -07:00