Commit Graph

27156 Commits (bf07a6f5e1c6d59a8a15f0ef5f7991bf21294080)

Author SHA1 Message Date
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 9e14d6075c Merge pull request #23700 from gmarek/density
Automatic merge from submit-queue

Make total pod throughput in density test more readable
2016-04-01 11:32:51 -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
gmarek be3a5d83bb Make total pod throughput in density test more readable 2016-04-01 17:48:55 +02: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 9105a6abcc Merge pull request #23445 from ncdc/go16-portforward-e2e
Automatic merge from submit-queue

Update port forward e2e for go 1.6

Only close the stdout/stderr pipes from kubectl port-forward when we're truly done with the command,
instead of as soon as runPortForward exits.

Also try to gracefully stop kubectl port-forward via SIGINT, instead of always sending SIGKILL, as
this will help avoid spdy goroutine leaks in the Kubelet.

Ref #22149 

cc @smarterclayton @kubernetes/rh-cluster-infra
2016-04-01 06:05:15 -07:00
k8s-merge-robot fa8d72e35d Merge pull request #23358 from aveshagarwal/master-jsonpath-fix
Automatic merge from submit-queue

Fix jsonpath to handle maps with key of nonstring types
2016-04-01 05:31:03 -07:00
k8s-merge-robot c6e995a824 Merge pull request #23558 from andyzheng0831/enhance
Automatic merge from submit-queue

Trusty: Regional release .tar.gz support

@zmerlynn and @roberthbailey please review it. This change is to support the feature added in PR #22234. The entire logic is pretty much the same as in #22234, with only few minor changes in implementation.

I had manually run e2e tests with "export RELEASE_REGION_FALLBACK=true" on two clusters: (1) Trusty on master nodes on ContainerVM; (2) Master and nodes all on trusty. All tests are green. I don't figure out a way to simulate regional fallback. But I did test the function download_or_bust() out-of-box.

cc/ @wonderfly @dchen1107 @fabioy FYI.
2016-04-01 03:39:08 -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 421249785d Merge pull request #23582 from zhouhaibing089/typo_fix
Automatic merge from submit-queue

fix the gcfg typo

little fix in the openstack cloud provider.
2016-03-31 17:28:37 -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 57624365ba Markdown files in root updated by update-generated-docs.sh. 2016-03-31 16:53:52 -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
Alex Robinson 9e96d44111 Merge pull request #23703 from ixdy/gitignore
Ignore .config/gcloud-staging/ in .gitignore
2016-03-31 14:41:09 -07:00
Alex Robinson 7135754f93 Merge pull request #23504 from mml/mb
Stop swallowing stdout and stderr when we check for the staging bucket.
2016-03-31 14:39:46 -07:00
Jeff Grafton ec189a8417 Ignore .config/gcloud-staging/ too 2016-03-31 13:51:04 -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
Alex Robinson b60ef6f0dd Merge pull request #23593 from dchen1107/docker
Remove unnecessary override of /etc/init.d/docker on containervm image.
2016-03-31 13:31:52 -07:00
Alex Robinson 58cc06c458 Merge pull request #23678 from gmarek/kubemark
Kubemark uses kubectl from the repo
2016-03-31 12:37:31 -07:00
Wojciech Tyczynski c2a5998248 Merge pull request #23688 from caesarxuchao/fix-23533
Temporarily disable goroutine calls to testing.T.Logf to avoid race
2016-03-31 21:35:54 +02: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
k8s-merge-robot d807690c39 Merge pull request #23387 from hongchaodeng/e
Automatic merge from submit-queue

storage.Interface KV impl. of etcd v3

This is the initial implementation of #22448.

The PR consists of two parts:
- add godep of "clientv3" and "integration" (for testing)
- create new package "etcd3" under "pkg/storage/"
- implement KV methods of storage.Interface using etcd v3 APIs
  - Create, Set, Get, Delete, GetToList, List, GuaranteedUpdate
2016-03-31 11:46:43 -07:00
Chao Xu 674d083092 temporarily disable goroutine calls to testing.T.Logf to avoid race 2016-03-31 11:43:38 -07:00
Alex Robinson d41d50547d Merge pull request #23662 from ArtfulCoder/dockerscript
make docker-checker more robust
2016-03-31 10:53:39 -07:00
Brendan Burns be6c5b332b Add third party support to kubectl 2016-03-31 10:53:32 -07:00
k8s-merge-robot 8e4ac1925b Merge pull request #20377 from smarterclayton/protobuf_serializer
Automatic merge from submit-queue

Add a protobuf serializer

Provide a core protobuf serializer that can either write objects with
an envelope (a 4 byte prefix and a runtime.Object) or raw to a byte
array.

Makes a few small refactors to prepare for streaming codecs (watch)
including a new constructor for the codec factory.

@kubernetes/sig-api-machinery the bulk of this is not compiled by
default (under the 'proto' tag), but lays groundwork the enablement
here.
2016-03-31 10:19:01 -07:00
Abhishek Shah 736c02c7a0 make docker-checker more robust 2016-03-31 10:07:37 -07:00
gmarek 9120a60724 Kubemark uses kubectl from the repo 2016-03-31 09:13:42 -07:00
Clayton Coleman f2139b186c Add an experimental protobuf serializer
Provide a core protobuf serializer that can either write objects with
an envelope (a 4 byte prefix and a runtime.Object) or raw to a byte
array.
2016-03-31 10:41:11 -04: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
k8s-merge-robot 62eb7d3db8 Merge pull request #22827 from dcbw/net-plugin-capabilities
Automatic merge from submit-queue

Implement network plugin capabilities hook and shaping capability

Allow network plugins to declare that they handle shaping and that
Kuberenetes should not.  I've got an OpenShift PR that handles shaping in OVS but the kubelet code sends nasty pod events because it doesn't think shaping is used since --reconcile-cbr0 is not used with most network plugins.

See https://github.com/openshift/openshift-sdn/pull/266 for the OpenShift implementation.
2016-03-31 03:20:07 -07:00
Alex Mohr 2e89f555c6 Merge pull request #23646 from cjcullen/kubeproxy
Change kube-proxy & fluentd CPU request to 20m/80m.
2016-03-30 21:22:38 -07:00
CJ Cullen 26a6c66de5 Change kube-proxy & fluentd CPU request to 20m/80m. 2016-03-30 18:14:24 -07:00
k8s-merge-robot 56de2d11a0 Merge pull request #23616 from david-mcmahon/v1.3.0-alpha.1-changelog
Automatic merge from submit-queue

Explicit links needed for PRs and users in github source markdown.

Fix some other formatting:
- Reverse ordered the included releases for 1.2.0 (newest to oldest).
- Use the same Downloads format for all releases so far (in this file).
2016-03-30 15:38:52 -07:00
k8s-merge-robot 39bcb81e21 Merge pull request #23579 from edevil/fix_typo
Automatic merge from submit-queue

Fixed typo.

Corrected log message.
2016-03-30 15:38:50 -07:00
Alex Robinson c298a1bc62 Merge pull request #23408 from janetkuo/update-guestbook
Update guestbook examples; replace RC concepts with Deployment
2016-03-30 15:20:02 -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
Andy Goldstein 66899a47a5 Update port forward e2e for go 1.6
Only close the stdout/stderr pipes from kubectl port-forward when we're truly done with the command,
instead of as soon as runPortForward exits.

Also try to gracefully stop kubectl port-forward via SIGINT, instead of always sending SIGKILL, as
this will help avoid spdy goroutine leaks in the Kubelet.
2016-03-30 17:07:21 -04:00
Isaac Hollander McCreery 84a6c4588a Fix cluster names to be numeric in upgrade jobs 2016-03-30 13:31:01 -07:00
k8s-merge-robot 2ac788b492 Merge pull request #23315 from david-mcmahon/relnotes-proposal
Automatic merge from submit-queue

Release Notes proposal

Get the conversation started.
cc @eparis @vishh @davidopp @thockin @dchen1107 
Ref #23070
2016-03-30 12:53:55 -07:00
k8s-merge-robot f36c44be79 Merge pull request #23279 from kargakis/export-volume-describer
Automatic merge from submit-queue

kubectl: enhance podtemplate describer

@kubernetes/kubectl 

@smarterclayton for the dc decsriber
2016-03-30 12:53:52 -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
Hongchao Deng 00ddf0671d etcd (v3) store: implements KV methods of storage.Interface
This implements Get(), Create(), Delete(), GetToList(),
List(), GuaranteedUpdate().
2016-03-30 10:20:39 -07:00
Alex Robinson b2ceb3e206 Merge pull request #22917 from liggitt/namespace_controller_logging
Decrease verbosity of namespace controller trace logging
2016-03-30 10:11:37 -07:00
Alex Robinson cd0caf5312 Merge pull request #23501 from a-robinson/md
Update our GCP metadata dependency to include a recent flakiness improvement
2016-03-30 09:51:52 -07:00