Kubernetes Submit Queue
2650047f65
Merge pull request #31259 from rombit-be/update-dev-doc
...
Automatic merge from submit-queue
Add go-bindata as development dependency
**What this PR does / why we need it**:
Small update in the developer notes (a go dependency was missing, which I noticed when setting up my own development environment)
**Which issue this PR fixes**:
Not applicable
**Special notes for your reviewer**:
**Release note**:
N/A
```release-note
```
2016-09-05 11:10:14 -07:00
Kubernetes Submit Queue
61dda4d34a
Merge pull request #31773 from pigmej/typos_englishify_some_pkgs
...
Automatic merge from submit-queue
Typos and englishify pkg/cloudprovider + pkg/dns + pkg/kubectl
**What this PR does / why we need it**: Just fixed some typos + "englishify" in pkg/cloudprovider + pkg/dns + pkg/kubectl
**Which issue this PR fixes** : None
**Special notes for your reviewer**: It's just fixes typos
**Release note**: `NONE`
2016-09-05 11:10:09 -07:00
Kubernetes Submit Queue
6d812b66aa
Merge pull request #31972 from jszczepkowski/hpa-test-oom
...
Automatic merge from submit-queue
Bumped memory limit for resource consumer. Fixes #31591 .
Bumped memory limit for resource consumer from 100 MB to 200 MB, increased request sizes so that the number of consumers will be smaller. Fixes #31591 .
2016-09-05 10:33:22 -07:00
Kubernetes Submit Queue
de954c0b64
Merge pull request #32081 from wojtek-t/list_from_apiserver_in_nodecontroller
...
Automatic merge from submit-queue
NodeController listing nodes from apiserver cache
Ref #31981
This is addressing this particular failure:
https://github.com/kubernetes/kubernetes/issues/31981#issuecomment-244432054
2016-09-05 09:54:36 -07:00
Wojciech Tyczynski
b69d516763
NodeController listing nodes from apiserver cache
2016-09-05 16:52:57 +02:00
Marek Grabowski
9767c26093
Merge pull request #32079 from gmarek/load
...
Add a log to help debug #31981
2016-09-05 16:09:51 +02:00
gmarek
a82e54262d
Add a log to help debug #31981
2016-09-05 15:05:49 +02:00
Marek Grabowski
ab0b937c2e
Merge pull request #32076 from wojtek-t/fix_density_test
...
Fix density test
2016-09-05 14:07:51 +02:00
Wojciech Tyczynski
8c1b80c6d5
Fix density test
2016-09-05 13:53:43 +02:00
Dr. Stefan Schimanski
9a34eeed0f
Remove net.ipv4.tcp_max_syn_backlog from sysctl whitelist
...
This is not namespaced in today's kernels.
2016-09-05 13:04:19 +02:00
Kubernetes Submit Queue
921ab5070f
Merge pull request #32062 from gmarek/gc_timeout
...
Automatic merge from submit-queue
Increase GC timeout for RCs bigger than 40k
cc @caesarxuchao
2016-09-05 03:45:30 -07:00
gmarek
bac603afd6
Sleep between NodeStatus update retries
2016-09-05 12:29:28 +02:00
gmarek
d990720c12
Increase GC timeout for RCs bigger than 40k
2016-09-05 12:08:04 +02:00
Erik Hollensbe
eec97a7e66
Vagrantfile: Remove unused variables
...
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2016-09-05 02:30:28 -07:00
Erik Hollensbe
da3a2d78e7
Vagrantfile: do not insert invalid ssh key when provisioning VMs on vagrant 1.8.5
...
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2016-09-05 02:29:54 -07:00
Kubernetes Submit Queue
2352464853
Merge pull request #32063 from gmarek/load
...
Automatic merge from submit-queue
Add few more logs to the Load test
Useful to debug enormous-cluster failures.
2016-09-05 02:22:56 -07:00
gmarek
41e8f10d78
Add few more logs to the Load test
2016-09-05 10:34:30 +02:00
Kubernetes Submit Queue
a95dea4147
Merge pull request #32061 from gmarek/constraints
...
Automatic merge from submit-queue
Increase the threshold for apiserver CPU for 500 node kubemark
Fix #32059
2016-09-05 01:29:48 -07:00
gmarek
4051a2f8ea
Increase the threshold for apiserver CPU for 500 node kubemark
2016-09-05 09:48:25 +02:00
Kubernetes Submit Queue
2cc5923ed6
Merge pull request #31974 from piosz/enable-rescheduler
...
Automatic merge from submit-queue
Enable Rescheduler by default
Rescheduler is stable - e2e test is passing constantly for >1week.
ref #29023
```release-note
Rescheduler which ensures that critical pods are always scheduled enabled by default in GCE.
```
2016-09-05 00:27:43 -07:00
Kubernetes Submit Queue
7f3ce7b320
Merge pull request #32012 from hongchaodeng/f
...
Automatic merge from submit-queue
Unshare cluster, store in each test suite
For https://github.com/kubernetes/kubernetes/issues/31962 and https://github.com/kubernetes/kubernetes/issues/31300 .
Just try to unshare it to minimize interface and focus on correctness of logic.
2016-09-05 00:09:39 -07:00
Kubernetes Submit Queue
f6fe7c3ea7
Merge pull request #32052 from ivan4th/allow-ip-addresses-to-be-used-as-node-names
...
Automatic merge from submit-queue
Allow IP addresses to be used as node names
Fixes #32050
In `pkg/api/validation/validation.go`, there's already `ValidateNodeName()`, so using `ValidateDNS1123Label()` was ujustified. Also, it broke service endpoints in `hack/local-up-cluster.sh` and some other software that doesn't want to do extra work to provide resolvable hostnames for the nodes of test clusters, e.g.
https://github.com/metral/nanokube
https://github.com/sttts/kubernetes-dind-cluster
And probably others.
On affected installs, service latency e2e test hangs, see e.g. https://github.com/kubernetes/kubernetes/issues/30632#issuecomment-244431797
DNS1123Label suggestion is by @thockin, see [here](https://github.com/kubernetes/kubernetes/pull/30301#issuecomment-239602268 ). I think it's wrong though for aforementioned reasons :(
PR that broke node names: #31311
2016-09-04 21:49:49 -07:00
Ivan Shvedunov
1c9ee74987
Allow IP addresses to be used as node names
...
Fixes #32050
2016-09-05 02:37:00 +03:00
Kubernetes Submit Queue
aee6d10b57
Merge pull request #31848 from YuPengZTE/devTest
...
Automatic merge from submit-queue
The first letter should be small in errors.New
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```release-note
```
2016-09-04 15:31:30 -07:00
Clayton Coleman
13adc63bff
generated DeepCopy without a function on a struct pointer is wrong
...
in and out are both pointers to pointers, so *in has to be cast to
*Type, not Type.
2016-09-04 15:26:02 -04:00
Clayton Coleman
5e6f5fee8a
Handle Stream() errors consistently in restclient
...
We should be following the same rules for Stream() as the normal body
request flow.
Also add slightly more output on a server error - in the future we may
want to clean this up but it's potentially hiding bad responses.
2016-09-04 14:50:04 -04:00
guangxuli
294558be84
close the open file
2016-09-04 21:17:01 +08:00
guangxuli
b7a5fc9942
const string testQuantityFlag no longer use
2016-09-04 20:37:32 +08:00
Kubernetes Submit Queue
2ead4ba589
Merge pull request #32011 from chuckbutler/upstream-master-messaging-fix
...
Automatic merge from submit-queue
Fixes the master messaging
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**: Corrects the master unit messaging state to correctly reflect that kubernetes is active
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #32010
**Special notes for your reviewer**:
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```release-note
None
```
Proof: 
2016-09-04 02:02:54 -07:00
Kubernetes Submit Queue
6f6589df1e
Merge pull request #31882 from dims/skip-gofmt-for-_vendor
...
Automatic merge from submit-queue
Skip gofmt for staging/ directory
Don't run gofmt for example on:
staging/src/k8s.io/client-go/1.4/_vendor
Fixes #31875
2016-09-04 01:18:06 -07:00
Kubernetes Submit Queue
d532bfc63c
Merge pull request #31885 from better0332/master
...
Automatic merge from submit-queue
fix deleteClaim
2016-09-04 00:40:50 -07:00
Kubernetes Submit Queue
7dfbd8f8db
Merge pull request #31942 from smarterclayton/debug_conversion
...
Automatic merge from submit-queue
Make it easier to debug conversion mismatches
@thockin made finding mismatches easier
2016-09-04 00:01:34 -07:00
Kubernetes Submit Queue
cbfd645b9c
Merge pull request #31682 from xingzhou/km_bug
...
Automatic merge from submit-queue
Removed unused imports from mesos contrib.
Removed the unused imports from the "main.go"s.
Fixes #31681
2016-09-03 23:24:49 -07:00
Kubernetes Submit Queue
7bab34c3e9
Merge pull request #31998 from mwielgus/ca-0.3.0-b6
...
Automatic merge from submit-queue
Bump ClusterAutoscaler to 0.3.0-beta6
Contains https://github.com/kubernetes/contrib/pull/1685 .
2016-09-03 22:47:03 -07:00
Jeff Lowdermilk
3d4b3d5e24
Merge pull request #32042 from kubernetes/revert-31957-sj_e2e_gke
...
Revert "Check server version when running scheduled job e2e tests"
2016-09-03 21:29:00 -07:00
Jeff Lowdermilk
cb487307dc
Revert "Check server version when running scheduled job e2e tests"
2016-09-03 20:05:45 -07:00
Kubernetes Submit Queue
768e83657d
Merge pull request #31922 from yujuhong/test_asserts
...
Automatic merge from submit-queue
kubelet_test.go: use assertions
Switch most of the tests in this file to using the assert library
(`github.com/stretchr/testify/assert`) in the tests for better readability and
less code in general.
2016-09-03 09:51:36 -07:00
Kubernetes Submit Queue
d022750ad2
Merge pull request #31919 from ciwang/designdoc
...
Automatic merge from submit-queue
Snapshotting design doc
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
Design doc for volume snapshotting feature (alpha)
**Special notes for your reviewer**:
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```release-note
```
2016-09-03 09:11:19 -07:00
Kubernetes Submit Queue
8730514bd2
Merge pull request #31861 from YuPengZTE/devNote
...
Automatic merge from submit-queue
The first letter is small
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
**Release note**:
<!-- Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access)
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`.
-->
```release-note
```
2016-09-03 09:11:15 -07:00
Kubernetes Submit Queue
bbc6f45e03
Merge pull request #31957 from soltysh/sj_e2e_gke
...
Automatic merge from submit-queue
Check server version when running scheduled job e2e tests
@janetkuo this is the promised followup to #30575 which is checking minimal server version when running ScheduledJob e2e's.
2016-09-03 09:11:10 -07:00
Kubernetes Submit Queue
af9afbff87
Merge pull request #31970 from wojtek-t/configurable_qps_limits_in_tests
...
Automatic merge from submit-queue
Make it possible to set test args
2016-09-03 08:36:55 -07:00
m1093782566
7dd675ef32
clean up pet set code
...
Change-Id: I60562bb1aa44436a23cfc5e50d6037adcce417c6
2016-09-03 21:28:46 +08:00
Kubernetes Submit Queue
1f70140c4f
Merge pull request #32021 from mikedanese/flake
...
Automatic merge from submit-queue
retry oauth token fetch in gce cloudprovider
Fixes https://github.com/kubernetes/kubernetes/issues/31560
The oauth client fetches a token on the initial request of that client. Let's warm the cache.
cc @goltermann @lavalamp
2016-09-03 01:58:19 -07:00
Kubernetes Submit Queue
3d80709dc5
Merge pull request #31904 from jianhuiz/federation-replicaset-controller-e2e
...
Automatic merge from submit-queue
update e2e test for federation replicaset controlelr
e2e test to verify replicases synced to underlying clusters.
@quinton-hoole @nikhiljindal @deepak-vij @kshafiee @mwielgus
2016-09-03 00:08:10 -07:00
Kubernetes Submit Queue
a8e96f73f2
Merge pull request #31980 from wongma7/pvc-genclient-copy
...
Automatic merge from submit-queue
Run copy.sh to update client-go for pvcs
Following up https://github.com/kubernetes/kubernetes/pull/31834 to copy the changes to client-go
Ought to be v1.4, only touches client-go. (same reasoning as here: https://github.com/kubernetes/kubernetes/pull/31644#issuecomment-243274461 )
2016-09-02 23:26:52 -07:00
Kubernetes Submit Queue
da0e565fa7
Merge pull request #31934 from timstclair/aa-psp
...
Automatic merge from submit-queue
Fix PSP update validation
Issues fixed:
- apparmor annotations were not being validated
- sysctl annotations were not being validated
- `ValidateObjectMetaUpdate` parameters were reversed
/cc @sttts
---
1.4 justification:
- Risk: If I did something wrong, valid updates could be rejected or invalid updates accepted.
- Rollback: Nothing should depend on this behavior
- Cost: As it stands, the PSP can be updated to an invalid state. The cost of this is relatively low, but a bad user experience.
2016-09-02 22:42:01 -07:00
Kubernetes Submit Queue
f47707129c
Merge pull request #31927 from timstclair/psp
...
Automatic merge from submit-queue
Fix PSP volumes error message
Was:
```
Error from server: error when creating "pause-pod.yaml": pods "pause" is forbidden: unable to validate against any pod security policy: [spec.containers[0].securityContext.volumes[0]: Invalid value: "secret": secret volumes are not allowed to be used]
```
Now:
```
Error from server: error when creating "pause-pod.yaml": pods "pause" is forbidden: unable to validate against any pod security policy: [spec.volumes[0]: Invalid value: "secret": secret volumes are not allowed to be used]
```
Also, only perform the validation once (by moving it from `ValidateContainerSecurityContext` to `ValidatePodSecurityContext`).
---
1.4 Justification:
- Risk: low, this is just altering an error message
- Rollback: nothing should depend on this functionality
- Cost: the old error message didn't make any sense (there are no volumes on a container SecurityContext). This is fixing a bug.
2016-09-02 22:04:16 -07:00
Kubernetes Submit Queue
4414882543
Merge pull request #31895 from ymqytw/better_error_message
...
Automatic merge from submit-queue
Return detailed error message for better debugging.
Try to provide more details error message for debugging when this flake #31561 happens again.
@pwittrock
2016-09-02 21:26:59 -07:00
Kubernetes Submit Queue
c4a2baa29a
Merge pull request #31532 from wongma7/pv-gid-e2e-on
...
Automatic merge from submit-queue
Bump nfs server image tag in pv e2e
Image modified in https://github.com/kubernetes/kubernetes/pull/30084 has been pushed, so we can bump this back up to enable the part where pod writes to server with restrictive permissions
2016-09-02 20:47:41 -07:00
Kubernetes Submit Queue
4968f1006e
Merge pull request #32015 from smarterclayton/add_more_debugging
...
Automatic merge from submit-queue
Print out some extra details from the namespace deletion error
Adds debugging for #32009 . Only adds test code.
2016-09-02 20:09:54 -07:00