Commit Graph

31595 Commits (988359d0fe03d8a65fb21a57740a11206768ba0b)

Author SHA1 Message Date
Casey Davenport 988359d0fe Enable extensions/v1beta1/NetworkPolicy by default 2016-07-07 10:04:46 -07:00
k8s-merge-robot 32e5996d57 Merge pull request #28447 from k82/k8s-26930-km-local-path
Automatic merge from submit-queue

MESOS: Support a pre-installed km binary at a well known, agent-local path

fixes #26930
2016-07-07 09:53:30 -07:00
k8s-merge-robot 05cbaa9900 Merge pull request #28151 from mbohlool/master
Automatic merge from submit-queue

Represent unversioned.Time correctly in swagger spec

unversioned.Time previously represented as "string" type with no format while the correct representation should also have "date-time" as format. fixes #2968
2016-07-07 09:53:25 -07:00
k8s-merge-robot 33242b95d6 Merge pull request #27077 from mikedanese/faster-integration-tests
Automatic merge from submit-queue

break integration tests into seperate packages so that they run in parallel

If this is broken then our tests aren't threadsafe.

ref #25940
2016-07-07 09:21:08 -07:00
Klaus Ma b361f40009 Enable km to use local km in agent. 2016-07-07 23:39:11 +08:00
k8s-merge-robot ec6181d5d3 Merge pull request #25036 from kargakis/validate-generation-update
Automatic merge from submit-queue

api: validate generation updates

@bprashanth @liggitt PTAL
2016-07-07 08:06:51 -07:00
k8s-merge-robot a1501fde66 Merge pull request #28550 from janetkuo/e2e-deployment-rollover-log
Automatic merge from submit-queue

Log available pods of deployments when scaling down old RS

Ref #26834


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-07-07 07:33:30 -07:00
k8s-merge-robot e232ecd201 Merge pull request #28498 from endocode/kayrus/fix_kuberoot
Automatic merge from submit-queue

build: fixed ${KUBE_ROOT} prefix for build scripts

Running `./make-build-image.sh` command inside the `build` directory doesn't work:

```sh
$ cd build
$ ./make-build-image.sh 
./../build/common.sh: line 32: hack/lib/init.sh: No such file or directory
```

This PR adds `${KUBE_ROOT}` prefix for the `source` bash function. Also I added braces to unify the code style.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-07-07 07:33:25 -07:00
k8s-merge-robot 38ac367d6f Merge pull request #27901 from jfrazelle/clean-hack-dockerfiles
Automatic merge from submit-queue

Cleanup hack/ Dockerfiles

<!--
Checklist for submitting a Pull Request

Please remove this comment block before submitting.

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
2. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
3. If you want this PR to automatically close an issue when it is merged,
   add `fixes #<issue number>` or `fixes #<issue number>, fixes #<issue number>`
   to close multiple issues (see: https://github.com/blog/1506-closing-issues-via-pull-requests).
4. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.
-->

```release-note
Small improvements to hack/ Dockerfiles
```


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-07-07 07:33:20 -07:00
Michail Kargakis 93c2656d5a api: validate generation updates 2016-07-07 13:09:48 +02:00
Mike Danese 81e67c0403
update docs
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-07-07 00:54:23 -07:00
Mike Danese 13f36d5117
delete some dead code
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-07-07 00:54:19 -07:00
Mike Danese f3de21bdf0
move integration tests into individual pacakges
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-07-07 00:54:15 -07:00
k8s-merge-robot acda24ae25 Merge pull request #27805 from janetkuo/change-redis-image-gcr
Automatic merge from submit-queue

Change redis image gcr

Follow up https://github.com/kubernetes/kubernetes/pull/27577#discussion_r67809871:
> Any chance we can move these images somewhere in gcr.io?

I pushed `kubernetes/redis:v1` to `gcr.io/google_containers/redis:v1`.  


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-07-07 00:53:44 -07:00
k8s-merge-robot 3832b32d08 Merge pull request #27501 from ronnielai/test1
Automatic merge from submit-queue

Log all image deletion errors instead of just the last one

#27169
2016-07-07 00:53:39 -07:00
k8s-merge-robot 2da247ffbc Merge pull request #26977 from joe2far/fix-help-strings
Automatic merge from submit-queue

Make kubectl help strings consistent
2016-07-07 00:12:22 -07:00
k8s-merge-robot 8741217179 Merge pull request #28547 from elyscape/completion-docs
Automatic merge from submit-queue

Reformat kubectl completion example text
2016-07-06 23:37:06 -07:00
k8s-merge-robot bb763df8d5 Merge pull request #28530 from lixiaobing10051267/msterwascreated
Automatic merge from submit-queue

"was not created" should be "was created"

In file pkg\client\restclient/request_test.go, line #1089, "t.Errorf("expected object was not created")" , here "was not created" should be "was created" because the if condition is "if wasCreated".
2016-07-06 23:37:02 -07:00
k8s-merge-robot bfa5d3027c Merge pull request #28479 from lixiaobing10051267/masterbuild
Automatic merge from submit-queue

delete the redundant word "a"

In file docs/reporting-security-issues.md, line #37, "If you believe you have discovered a vulnerability or a have a security incident to report", here the second "a" is redundant, should be deleted.
2016-07-06 23:36:58 -07:00
k8s-merge-robot f3d0d147eb Merge pull request #28305 from jlowdermilk/kubectl-convert-noise
Automatic merge from submit-queue

kubectl convert --local prints info message to stderr

fix #28298
2016-07-06 23:36:53 -07:00
k8s-merge-robot 0c696dc95b Merge pull request #27848 from liubin/fix-typos
Automatic merge from submit-queue

fix some typos

Just a minor typos fix.


Signed-off-by: bin liu <liubin0329@gmail.com>
2016-07-06 23:36:49 -07:00
k8s-merge-robot 8135154f7f Merge pull request #26868 from xiang90/rm_all
Automatic merge from submit-queue

daemon/controller.go: remove unused func enqueueAllDaemonSets
2016-07-06 23:36:45 -07:00
k8s-merge-robot 9075f53dca Merge pull request #28388 from mml/cluster-refactor
Automatic merge from submit-queue

Collect cluster state into a single type.

Mostly just makes it easier to read and, hopefully, extend.
2016-07-06 23:03:01 -07:00
k8s-merge-robot 79c8d8b735 Merge pull request #26588 from caesarxuchao/release-1.4-clientset
Automatic merge from submit-queue

[client-gen] stop update release_1_3 clientset; create release_1_4

We'll bump the version after we cut 1.3 release. I'll keep this PR assigned to myself in the mean time.

@lavalamp
2016-07-06 23:02:56 -07:00
k8s-merge-robot 5fe54ac9ef Merge pull request #25640 from dims/fix-issue-7496
Automatic merge from submit-queue

kubectl should print usage at the bottom

Override the Usage: output using SetUsageTemplate. Just moved
the strings in the template to make sure we print Usage: at
the bottom of the output and not at the top.

Fixes issue #7496
2016-07-06 20:19:18 -07:00
k8s-merge-robot 4d91f0f763 Merge pull request #25137 from huang195/tls_user_emailaddress
Automatic merge from submit-queue

getting emailAddress from TLS cert

Kubernetes if using TLS cert to perform authentication will use the CommonName field of the cert as the authenticating user. In https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/auth/authenticator/request/x509/x509.go#L106, alternative methods are defined to use emailAddress or DNSName as the authenticating user. The method that uses the emailAddress is not comprehensive as this information can be encoded in different places of the certificate. This PR fixes this.
2016-07-06 19:45:01 -07:00
k8s-merge-robot 1c56319b79 Merge pull request #28534 from asalkeld/configmap-multi-ref
Automatic merge from submit-queue

Add spec.Name() to the configmap GetVolumeName()

This is to base the name on the volume not just on the
source configMap. If you have 2 volumes that both have the same
configMap as a source, the volume is see as being in the attached
state (it's state is looked up based on GetVolumeName()).

Fixes #28502
2016-07-06 19:07:45 -07:00
k8s-merge-robot 32ffa785d8 Merge pull request #28556 from madhusudancs/fed-gce-gci-readonly-var
Automatic merge from submit-queue

Copy FEDERATIONS_DOMAIN_MAP to a local variable since the helper script doesn't allow overwriting the existing variable.

cc @kubernetes/sig-cluster-federation 


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-07-06 18:33:00 -07:00
k8s-merge-robot 52e8d4f5cd Merge pull request #28536 from kubernetes/revert-28176-inode-check-dep
Automatic merge from submit-queue

Revert "Declare out of disk when there is no free inodes"

Reverts kubernetes/kubernetes#28176

Fixes #28481
2016-07-06 17:59:17 -07:00
k8s-merge-robot 6de30e64d3 Merge pull request #28521 from Random-Liu/fix-flake-pod-test
Automatic merge from submit-queue

E2E: Add UpdatePod function in e2e framework and change the test to use it.

Fix https://github.com/kubernetes/kubernetes/issues/28096.

Some e2e tests need to update pod, but the pod update is a bit complex because of potential conflict. #28096 happened just because the test only called pod `Update` once.

This PR move the update pod logic into a util function `UpdatePod` in e2e framework, and change the tests to use it.

Mark P2 because the original issue is P0, but in fact happens not quite frequently. :)

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

the test to use it.
2016-07-06 17:25:31 -07:00
k8s-merge-robot b167001de6 Merge pull request #28403 from vishh/known-issues
Automatic merge from submit-queue

Document known issues for v1.3.0
2016-07-06 16:13:16 -07:00
Madhusudan.C.S d618e5329b Copy FEDERATIONS_DOMAIN_MAP to a local variable since the helper script doesn't allow overwriting the existing variable. 2016-07-06 15:58:53 -07:00
Madhusudan.C.S 2e308035f0 Copy FEDERATIONS_DOMAIN_MAP to a local variable since the helper script doesn't allow overwriting the existing variable. 2016-07-06 15:53:45 -07:00
Matt Liggett 5b8113dffd code review fixes 2016-07-06 15:10:29 -07:00
Matt Liggett 55e642cb9f Use a pointer. Duh. 2016-07-06 15:10:29 -07:00
Matt Liggett 088b871729 Switch to a map. 2016-07-06 15:10:29 -07:00
Matt Liggett 49a69b17f7 add clusterNamespaceCreated to it 2016-07-06 15:10:29 -07:00
Matt Liggett 36c34af2fa cluster type 2016-07-06 15:10:29 -07:00
k8s-merge-robot c0b67b62b2 Merge pull request #28402 from rmmh/test-owners
Automatic merge from submit-queue

Add test/test_owners.csv, for automatic assignment of test failures.

This file will be read by the munger -- see kubernetes/contrib#1264
    
This also includes a simple script to do minor automatic updates to the  CSV.

I'd like to get `update_owners.py` into a more usable state -- right now the CSV is based directly on the Google Sheets data. It has 9 outdated tests and is missing 80 new tests.

I can randomly assign new tests to people on kubernetes-maintainers, but are there any caveats to how the assignment should work? Should they be load balanced? Should some people in the group not receive issues? Etc.
2016-07-06 14:48:23 -07:00
k8s-merge-robot 567c64d1e2 Merge pull request #24992 from brandonweeks/docker_machine_regenerate_certs
Automatic merge from submit-queue

Test for certificate error and prompt to regenerate

This resolves an issue where if the `${DOCKER_MACHINE_NAME}` VM was ever removed from `docker-machine` the build process would enter an infinite loop, with the following error being redirected to `/dev/null`.

>Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.99.102:2376": open /Users/weeks/.docker/machine/machines/kube-dev/server.pem: no such file or directory You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'. Be advised that this will trigger a Docker daemon restart which will stop running containers.

Now the output is tested for the error string and if found prompts the user if they want to regenerate the certificate. Another option would be setting the `--force` flag on `docker-machine regenerate-certs`, so user intervention wouldn't be required.

/cc @mhbauer

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24992)
<!-- Reviewable:end -->
2016-07-06 14:48:18 -07:00
k8s-merge-robot 6c63460a2e Merge pull request #28406 from david-mcmahon/update-v1.2.3
Automatic merge from submit-queue

Updating release notes

    v1.2.2..v1.2.3
    v1.2.3..v1.2.4
    v1.2.4..v1.2.5
    v1.2.0..v1.3.0-alpha.1
    v1.3.0-alpha.1..v1.3.0-alpha.2
    v1.3.0-alpha.2..v1.3.0-alpha.3
    v1.3.0-alpha.3..v1.3.0-alpha.4
    v1.3.0-alpha.4..v1.3.0-alpha.5
    v1.3.0-alpha.5..v1.3.0-beta.1
    v1.3.0-beta.1..v1.3.0-beta.2
    v1.3.0-beta.2..v1.3.0-beta.3

First pass.
2016-07-06 14:48:13 -07:00
Madhusudan.C.S 5f01e8d335 Give sufficient permissions to kube-version-defs file to be able to source it during build. 2016-07-06 14:41:15 -07:00
Janet Kuo 08305f12a2 Log available pods of deployments when scaling down old RS 2016-07-06 13:31:28 -07:00
Ryan Hitchman 616e938662 Address PR comments, randomly assign owners for new tests. 2016-07-06 13:22:53 -07:00
Eli Young f2f80a097d Reformat kubectl completion example text
This makes the description wrap properly in 80-character terminals.
2016-07-06 13:18:33 -07:00
krousey 8c8c5d97ca Merge pull request #28540 from kubernetes/revert-28520-update-jwt
Revert "update jwt-go to v3.0.0-4-g01aeca5"
2016-07-06 11:19:39 -07:00
Random-Liu be8c7536ae Add standard UpdatePod function in framework, and change
the test to use it.
2016-07-06 11:04:34 -07:00
Jess Frazelle 5e03b743d6
Cleanup hack/ Dockerfiles
Signed-off-by: Jess Frazelle <jessfraz@google.com>
2016-07-06 11:03:42 -07:00
Janet Kuo 6a60f8e542 Moving kubernetes/redis:v1 image to gcr.io 2016-07-06 11:03:38 -07:00
Chao Xu a2980e56c9 stop update release_1_3 clientset; create release_1_4 2016-07-06 10:48:28 -07:00