Commit Graph

39126 Commits

Author SHA1 Message Date
ymqytw
189348df2b make kubectl create --edit iterate 2016-11-14 14:12:24 -08:00
Kubernetes Submit Queue
5c21cc892c Merge pull request #36581 from wojtek-t/fix_service_alloc
Automatic merge from submit-queue

Fix TestServiceAlloc test

Fix #32028
2016-11-14 05:35:00 -08:00
Kubernetes Submit Queue
984fb7112a Merge pull request #36606 from piosz/monitoring-docs
Automatic merge from submit-queue

Removed outdated metrics docs

cc @jszczepkowski @vishh @kubernetes/sig-instrumentation
2016-11-14 04:20:04 -08:00
Kubernetes Submit Queue
706224d9c3 Merge pull request #36225 from piosz/logging-e2e
Automatic merge from submit-queue

Promoted GCL e2e test to stable

The test is stable - haven't failed during last ~runs.
2016-11-14 04:19:56 -08:00
Kubernetes Submit Queue
38cc6df7b3 Merge pull request #36712 from hongchaodeng/e5
Automatic merge from submit-queue

cacher test: fix leftover v2 test server

I think this was dismissed in #30890

@timothysc @wojtek-t
2016-11-14 01:58:18 -08:00
Kubernetes Submit Queue
c964641fb3 Merge pull request #36635 from hongchaodeng/e2
Automatic merge from submit-queue

etcd3: remove stale comments in test
2016-11-14 01:15:20 -08:00
Kubernetes Submit Queue
5e52db2e4f Merge pull request #35895 from rf232/patch-1
Automatic merge from submit-queue

Update Dashboard UI version to 1.4.2

**What this PR does / why we need it**:

Dashboard 1.4.2 contains a fix for an XSS security bug, so I think it would be prudent to update the Dashboard version 'shipped' with kubernetes to this version

**Special notes for your reviewer**:

**Release note**:
- Updated dashboard version in addons to 1.4.2```
2016-11-14 01:15:12 -08:00
Wojciech Tyczynski
03b9be982f Fix TestServiceAlloc test 2016-11-14 10:11:37 +01:00
Kubernetes Submit Queue
d5014c3f21 Merge pull request #36696 from brendandburns/azure
Automatic merge from submit-queue

Add support for service load balancer source ranges to Azure load balancers.

@colemickens @kubernetes/sig-network
2016-11-13 21:00:38 -08:00
Kubernetes Submit Queue
c15758edf8 Merge pull request #36684 from mbohlool/api_all
Automatic merge from submit-queue

Update OpenAPI spec generator to enable all APIs

scheduledjob/cronjob is missing in the OpenAPI spec located in api/openapi-spec/swagger.json. Root cause is the API was not enabled when we generate this file in hack/update-openapi-spec.sh.

This change is only effect static swagger.json file in our source tree but the documentation @pwittrock working on and client-python I am working on depends on it. We can sure hack our way through having this in our components, but it look cleaner to have it in 1.5 specially because there is no runtime behavior change of any kind.

Fixes #36682
2016-11-13 18:44:10 -08:00
Hongchao Deng
32a96b7dc0 pkg/storage: update bazel 2016-11-13 18:34:55 -08:00
Kubernetes Submit Queue
30c830b217 Merge pull request #36492 from irfanurrehman/federation-kubefed-todo-3
Automatic merge from submit-queue

[Federation][Bugfix] Make the dns provider configurable in kubefed init

Fixes: Issue #36690 

The design doc PR relating the whole feature for kubefed is at #34484.


cc @kubernetes/sig-cluster-federation @madhusudancs @nikhiljindal
2016-11-13 17:51:28 -08:00
Hongchao Deng
1972270f7b cacher test: fix leftover v2 test server 2016-11-13 16:22:24 -08:00
Brendan Burns
610f38cb4a Add support for service address ranges to Azure load balancers. 2016-11-12 20:59:45 -08:00
Kubernetes Submit Queue
454f60c758 Merge pull request #36506 from Crassirostris/kibana-test-fix
Automatic merge from submit-queue

Fix kibana e2e test

Thanks @Random-Liu for noticing a problem in kibana e2e test!

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

@piosz
2016-11-12 19:07:05 -08:00
Hongchao Deng
5da4028aff etcd3: remove stale comments in test 2016-11-12 14:41:47 -08:00
Mik Vyatskov
2b837ba02c Fixed kibana e2e test 2016-11-12 22:27:37 +01:00
Kubernetes Submit Queue
68a7c2c6b5 Merge pull request #36678 from ymqytw/fix_bug_in_patch
Automatic merge from submit-queue

fix bug when compare version

Fix a small bug when compare version in `patch` which is introduced by my PR #35647 today.

This blocks #36672.

cc: @janetkuo
2016-11-11 23:12:13 -08:00
Kubernetes Submit Queue
76f99d726c Merge pull request #36561 from liggitt/etcd3-watch-zero
Automatic merge from submit-queue

Fix watching from resourceVersion=0 in etcd3 watcher

Fixes https://github.com/kubernetes/kubernetes/issues/36545

* Makes etcd3 consistent with watch cache behavior (all synthetic events sent for the initial list of items result in ADDED events)
* Fixes errors if previous values of initial items had been compacted away
* Removes fan-out Get() for previous values of initial items

Should be fixed before making etcd3 the default (https://github.com/kubernetes/kubernetes/pull/36229)
2016-11-11 22:33:20 -08:00
Jess Frazelle
887c7b01eb
Update CHANGELOG.md for v1.4.6. 2016-11-11 21:52:53 -08:00
Kubernetes Submit Queue
800ef09dc1 Merge pull request #36681 from mtaufen/1.5-gci-dev-56-8977-0-0
Automatic merge from submit-queue

Bump GCI version to gci-dev-56-8977-0-0

@vishh @saad
``` release-note
Updating GCI base image to gci-dev-56-8977-0-0. Changelog as follows:
    * runc: Eliminate redundant parsing of mountinfo
    * Updated kubernetes to v1.4.5
```
2016-11-11 17:34:51 -08:00
mbohlool
0fd8ac06e8 Auto-generated OpenAPI spec 2016-11-11 16:30:07 -08:00
mbohlool
6e2eba5399 Update OpenAPI spec generator to enable all APIs 2016-11-11 16:29:49 -08:00
Kubernetes Submit Queue
f228edbf8e Merge pull request #36668 from mwielgus/dis_e2e
Automatic merge from submit-queue

Add back e2e tests for disruption budget

The tests were temporarily removed due to problems with api versions in client-go. The test is almost exactly the same as it used to be before api version change.

cc: @caesarxuchao @davidopp
2016-11-11 16:28:53 -08:00
Michael Taufen
a38c61395e Bump GCI version to gci-dev-56-8977-0-0 2016-11-11 16:00:18 -08:00
Kubernetes Submit Queue
b85acd957a Merge pull request #36579 from kargakis/restore-events-for-tests
Automatic merge from submit-queue

Restore event messages for replica sets in the deployment controller

Needed to unblock release upgrade tests (see https://github.com/kubernetes/kubernetes/issues/36453)

@kubernetes/deployment ptal
2016-11-11 15:50:31 -08:00
ymqytw
af8fbc327d fix bug when compare version 2016-11-11 15:20:15 -08:00
Kubernetes Submit Queue
0f774de8ff Merge pull request #36595 from philips/fix-all-the-readme-links
Automatic merge from submit-queue

README: Link to the real links

A majority of the links in the README tell you to go to another link on
kubernetes.io. Fix up all of the ones I could find.
2016-11-11 15:14:09 -08:00
Kubernetes Submit Queue
3e169be887 Merge pull request #35647 from ymqytw/patch_primitive_list
Automatic merge from submit-queue

Fix strategic patch for list of primitive type with merge sementic

Fix strategic patch for list of primitive type when the patch strategy is `merge`.
Before: we cannot replace or delete an item in a list of primitive, e.g. string, when the patch strategy is `merge`. It will always append new items to the list.
This patch will generate a map to update the list of primitive type.
The server with this patch will accept either a new patch or an old patch.
The client will found out the APIserver version before generate the patch.

Fixes #35163, #32398

cc: @pwittrock @fabianofranz 

``` release-note
Fix strategic patch for list of primitive type when patch strategy is `merge` to remove deleted objects.
```
2016-11-11 14:36:44 -08:00
Kubernetes Submit Queue
3509419543 Merge pull request #36548 from foxish/fix-spark-e2e
Automatic merge from submit-queue

Fixing spark e2e test failures.

**What this PR does / why we need it**: Fixes e2e test failures in the spark tests. These failures were caused by an update to the examples in https://github.com/kubernetes/kubernetes/pull/33604

**Which issue this PR fixes** : fixes https://github.com/kubernetes/kubernetes/issues/36102

**Release note**:
```release-note
NONE
```

cc @calebamiles @elsonrodriguez @saad-ali
2016-11-11 13:57:18 -08:00
Marcin
e3091d8304 Add back e2e tests for disruption budget 2016-11-11 22:30:56 +01:00
Kubernetes Submit Queue
2822e4fd78 Merge pull request #36651 from mwielgus/evict-from-b1
Automatic merge from submit-queue

Switch pod eviction client from v1alpha1 to v1beta

Generated client 1.5 has a function to evict a pod. The function uses v1alpha1.Eviction object instead of v1beta1. This pr changes the api version that is being used.

cc: @davidopp @caesarxuchao
2016-11-11 12:22:34 -08:00
foxish
a5b7591646 Remove namespaces from all examples. 2016-11-11 11:57:33 -08:00
Kubernetes Submit Queue
dd681f91cc Merge pull request #36654 from fejta/meta
Automatic merge from submit-queue

Set version and job-version in started.json/metadata.json

Ref https://github.com/kubernetes/test-infra/issues/1032

We can delete version once all CI jobs are migrated to bootstrap
2016-11-11 11:39:08 -08:00
Kubernetes Submit Queue
8b37baa926 Merge pull request #36616 from jingxu97/Nov/reconstruct-fix
Automatic merge from submit-queue

fix issue in reconstruct volume data when kubelet restarts

During state reconstruction when kubelet restarts, outerVolueSpecName
cannot be recovered by scanning the disk directories. But this
information is used by volume manager to check whether pod's volume is
mounted or not. There are two possible cases:
1. pod is not deleted during kubelet restarts so that desired state
should have the information. reconciler.updateState() will use this
inforamtion to update.
2. pod is deleted during this period, reconciler has to use
InnerVolumeSpecName, but it should be ok since this information will not
be used for volume cleanup (umount)
2016-11-11 11:38:59 -08:00
Jordan Liggitt
7f61d37996
Fix watching from resourceVersion=0 in etcd3 watcher 2016-11-11 11:35:53 -08:00
Marcin
6f235de143 Updated bazel build 2016-11-11 19:43:06 +01:00
Marcin
75f47307d7 Updated stating client go 2016-11-11 19:40:31 +01:00
Marcin
324368ea98 Switch pod eviction client from v1alpha1 to v1beta. 2016-11-11 19:34:29 +01:00
Kubernetes Submit Queue
868f6e1c5c Merge pull request #36585 from jszczepkowski/hpa-unittest2
Automatic merge from submit-queue

More unittests for HPA.
2016-11-11 09:17:06 -08:00
Erick Fejta
3c22444b47 Set version and job version in started.json/metadata.json 2016-11-11 08:43:26 -08:00
Kubernetes Submit Queue
3e6210994c Merge pull request #36605 from mwielgus/test-fix-1
Automatic merge from submit-queue

Federation test util fix - 1

* Make nil and empty map equivalent when testing ObjectMeta equivalence
* Add a function that waits for a particular content inside federated store

cc: @nikhiljindal @madhusudancs
2016-11-11 08:21:59 -08:00
Marcin Wielgus
2fb71ed955 Test equality in get from storage 2016-11-11 16:00:16 +01:00
Marcin Wielgus
92c3e20e93 Make null and empty as equivalent in ObjectMetaEquivalent 2016-11-11 16:00:16 +01:00
Kubernetes Submit Queue
a0dadf16f9 Merge pull request #36316 from derekwaynecarr/pvc_quota_use_informers
Automatic merge from submit-queue

Improve quota performance for pvc by using shared informer

This avoids a list call for each namespace in the resource quota controller when syncing quota.
2016-11-11 05:34:30 -08:00
Kubernetes Submit Queue
9a7bfe7f57 Merge pull request #36642 from kargakis/log-already-exists
Automatic merge from submit-queue

Do not emit event for AlreadyExists errors

Fixes https://github.com/kubernetes/kubernetes/issues/36598 also reduced the clutter of events since the AlreadyExists error is a common error (may be a slow rs cache or a fast resync of the deployment that causes it apart from hash collisions)

@kubernetes/deployment
2016-11-11 04:01:51 -08:00
Michail Kargakis
9afe2c3a7c Do not emit event for AlreadyExists errors 2016-11-11 10:49:05 +01:00
Kubernetes Submit Queue
dbb4def470 Merge pull request #36608 from bprashanth/svc_leak
Automatic merge from submit-queue

Ensure health check exists before creating target pool

We already couple health check deletion with target pool deletion in deleteTargetPools, do the inverse in createTargetPools. See https://github.com/kubernetes/kubernetes/issues/35282#issuecomment-259317589 for why this is necessary. Fixes https://github.com/kubernetes/kubernetes/issues/35282, but the test won't go green till I relieve quota on the project.
2016-11-10 20:43:46 -08:00
Kubernetes Submit Queue
1bc5b822cd Merge pull request #36479 from Random-Liu/node-e2e-node-name
Automatic merge from submit-queue

Node Conformance & E2E: Get node name from node object.

This PR changes the node e2e test framework to get node name from apiserver instead of test flags.

When a user tried out the node conformance test, he found that node conformance test will not work properly if kubelet is started with `hostname-override`.

The reason is that node conformance test is using [the default node name - `os.Hostname`](https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/e2e_node_suite_test.go#L124), which may be different from `hostname-override`. This will cause test pods not scheduled, and eventually test timeout.

We can expose a flag from node conformance test, and let user set node name themselves if they are using `hostname-override` on kubelet. However, let the framework automatically detect it from apiserver is more user friendly.

/cc @kubernetes/sig-node 
This PR 1) only changes node e2e test framework; 2) fixes a problem in node conformance test which is a 1.5 feature. @saad-ali Can we have this in 1.5?
2016-11-10 18:56:53 -08:00
Kubernetes Submit Queue
8e808e3730 Merge pull request #36591 from philips/remove-v1.0.1-link
Automatic merge from submit-queue

README: stop linking to a 18 month old version

We are proud of the v1.0 release but lets give users context on the date
it was released and not drive them to the actual release since
they should be using the latest release instead.
2016-11-10 17:48:15 -08:00