Commit Graph

35437 Commits (54fee8c2535c72da960765a1c54d1026f2f4c70f)

Author SHA1 Message Date
mbohlool 54fee8c253 Improvements on OpenAPI spec generation:
- Generating models using go2idl library (no reflection anymore)
- Remove dependencies on go-restful/swagger
- Generate one swagger.json file for each web-service
- Bugfix: fixed a bug in trie implementation
2016-09-12 18:47:03 -07:00
mbohlool 8865f5d007 Only add to tracker if it's non-local 2016-09-12 18:47:03 -07:00
mbohlool 641b625a2a Add Finalize method to go2idl Generator interface 2016-09-12 18:47:03 -07:00
mbohlool da4f824265 Don't remvove generated files in staging folder 2016-09-12 18:47:03 -07:00
Kubernetes Submit Queue 523fa24659 Merge pull request #31102 from sttts/sttts-podclient-doc
Automatic merge from submit-queue

Add some docs about the missing node e2e scheduling
2016-09-12 18:26:49 -07:00
Kubernetes Submit Queue a842608c36 Merge pull request #32514 from mtaufen/emergency-fix-memevict
Automatic merge from submit-queue

Fix memory eviction test parameters!

The parameters currently in master should NOT have come through in b9f0bd95. Must have happened when I squashed. Apologies.
2016-09-12 18:26:43 -07:00
Kubernetes Submit Queue 51b5ff59b9 Merge pull request #32210 from deads2k/controller-01-cachewait-handle
Automatic merge from submit-queue

update error handling for daemoncontroller

Updates the DaemonSet controller to cleanly requeue with ratelimiting on errors, make use of the `utilruntime.HandleError` consistently, and wait for preconditions before doing work.

@ncdc @liggitt @sttts My plan is to use this one as an example of how to handle requeuing, preconditions, and processing error handling.
@foxish fyi

related to https://github.com/kubernetes/kubernetes/issues/30629
2016-09-12 17:13:19 -07:00
David McMahon 71af33120a Update CHANGELOG.md for v1.3.7. 2016-09-12 16:45:13 -07:00
Kubernetes Submit Queue 6a9a93d469 Merge pull request #32242 from jingxu97/bug-wrongvolume-9-2
Automatic merge from submit-queue

Fix race condition in updating attached volume between master and node

This PR tries to fix issue #29324. The cause of this issue is that a race
condition happens when marking volumes as attached for node status. This
PR tries to clean up the logic of when and where to mark volumes as
attached/detached. Basically the workflow as follows,
1. When volume is attached sucessfully, the volume and node info is
added into nodesToUpdateStatusFor to mark the volume as attached to the
node.
2. When detach request comes in, it will check whether it is safe to
detach now. If the check passes, remove the volume from volumesToReportAsAttached
to indicate the volume is no longer considered as attached now.
Afterwards, reconciler tries to update node status and trigger detach
operation. If any of these operation fails, the volume is added back to
the volumesToReportAsAttached list showing that it is still attached.

These steps should make sure that kubelet get the right (might be
outdated) information about which volume is attached or not. It also
garantees that if detach operation is pending, kubelet should not
trigger any mount operations.
2016-09-12 15:29:38 -07:00
Kubernetes Submit Queue 32a32962ee Merge pull request #31564 from ericchiang/update-go-oidc
Automatic merge from submit-queue

vendor: update github.com/coreos/go-oidc client package

This change updates the github.com/coreos/go-oidc package to it's latest commit
(since we don't version that package).

Notable changes:

- Throw out JWTs with invalid claims early (coreos/go-oidc#97, brougt up in #30457)
- Remove the capnslog dependency (coreos/go-oidc#95)
- Support for Azure AD oddities (coreos/go-oidc#87)

cc @kubernetes/sig-auth
2016-09-12 14:43:43 -07:00
Kubernetes Submit Queue d66fde7e4f Merge pull request #31804 from yujuhong/shim_test2
Automatic merge from submit-queue

dockershim: add unit tests for sandbox/container status

Part of #31459
2016-09-12 14:04:51 -07:00
Kubernetes Submit Queue 6a739aae29 Merge pull request #32515 from nikhiljindal/fixFedRSTest
Automatic merge from submit-queue

federation e2e: Initialising cluster var before using it

Fixing https://github.com/kubernetes/kubernetes/pull/31904#discussion_r78433657

cc @jianhuiz @kubernetes/sig-cluster-federation
2016-09-12 14:04:46 -07:00
Jing Xu efaceb28cc Fix race condition in updating attached volume between master and node
This PR tries to fix issue #29324. This cause of this issue is a race
condition happens when marking volumes as attached for node status. This
PR tries to clean up the logic of when and where to mark volumes as
attached/detached. Basically the workflow as follows,
1. When volume is attached sucessfully, the volume and node info is
added into nodesToUpdateStatusFor to mark the volume as attached to the
node.
2. When detach request comes in, it will check whether it is safe to
detach now. If the check passes, remove the volume from volumesToReportAsAttached
to indicate the volume is no longer considered as attached now.
Afterwards, reconciler tries to update node status and trigger detach
operation. If any of these operation fails, the volume is added back to
the volumesToReportAsAttached list showing that it is still attached.

These steps should make sure that kubelet get the right (might be
outdated) information about which volume is attached or not. It also
garantees that if detach operation is pending, kubelet should not
trigger any mount operations.
2016-09-12 13:51:08 -07:00
Yu-Ju Hong 0075e9dbee dockershim: add unit tests for sandbox/container status
Also add a fake clock in the FakeDockerClient to allow testing container
CreatedAt, StartedAt, FinishedAt timestamps.
2016-09-12 12:55:49 -07:00
Kubernetes Submit Queue 54f24b02ea Merge pull request #31612 from jayunit100/patch-1
Automatic merge from submit-queue

Asciidoc for scheduler

Add more structure to the scheduler introduction.  This diagram should be easier to maintain as we add more features.
2016-09-12 12:50:09 -07:00
Kubernetes Submit Queue ee2ae078b1 Merge pull request #31573 from yujuhong/shim_tests
Automatic merge from submit-queue

dockershim: use the new Metadata types and add more unit tests

Part of #31459
2016-09-12 12:50:04 -07:00
Kubernetes Submit Queue bfef4ad73b Merge pull request #32508 from mwielgus/ca-0.3
Automatic merge from submit-queue

Bump cluster autoscaler to 0.3

Almost no changes comparing to 0.3.0-beta6. Just a minor fix in AWS support: https://github.com/kubernetes/contrib/pull/1721.
2016-09-12 12:49:58 -07:00
Kubernetes Submit Queue 74ad07de86 Merge pull request #32500 from kubernetes/revert-32196-rescheduler-e2e-gke
Automatic merge from submit-queue

Revert "Enabled Rescheduler e2e for gke"

Reverts kubernetes/kubernetes#32196

This broke gke-serial.

fix #31710
2016-09-12 12:49:53 -07:00
nikhiljindal 4c22c3fce5 Initialising cluster var before using it 2016-09-12 12:04:06 -07:00
Michael Taufen 28db03869b Fix memory eviction test parameters. Those parameters should NOT have come through in b9f0bd95 2016-09-12 12:01:53 -07:00
Phillip Wittrock dd6f8bfb31 Update CHANGELOG.md for v1.4.0-beta.3. 2016-09-12 11:32:49 -07:00
Saad Ali 33ef46ccc8 Merge pull request #32507 from kubernetes/revert-32279-remove-deletion-sleep
Revert "Remove long sleep in provisioning e2e tests."
2016-09-12 11:26:29 -07:00
Saad Ali 9ac08144d1 Revert "Remove long sleep in provisioning e2e tests." 2016-09-12 11:16:34 -07:00
Yu-Ju Hong 84aab8d4a8 dockershim: utilize the Metadata in container names
This commit changes how the shim constructs and parses docker container names
by using the new "Metadata" types.
2016-09-12 10:58:21 -07:00
Yu-Ju Hong 7227641fc2 dockershim: move naming helpers to a separate file 2016-09-12 10:58:21 -07:00
Yu-Ju Hong a1833d1947 dockershim: bug fixes and more unit tests
Fixing the name triming and other small bugs. Added sandbox listing unit tests.
2016-09-12 10:58:21 -07:00
Marcin Wielgus 0bee184681 Bump cluster autoscaler to 0.3 2016-09-12 18:56:54 +02:00
David McMahon 115855bbd2 Update CHANGELOG.md for v1.4.0-beta.2. 2016-09-12 09:03:13 -07:00
Piotr Szczesniak 70755448b0 Revert "Enabled Rescheduler e2e for gke" 2016-09-12 17:25:13 +02:00
deads2k 385831825b update error handling for daemoncontroller 2016-09-12 11:01:46 -04:00
Kubernetes Submit Queue 520cd7e6f3 Merge pull request #31241 from m1093782566/m109-cross-build-serve-hostname
Automatic merge from submit-queue

Cross-build test/images/serve_hostname

<!--  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**:

**cross build** `test/images/serve_hostname`

https://github.com/kubernetes/kubernetes/tree/master/test/images/serve_hostname

This PR is an effort to achieve multiarch Kubernetes(#26863)

**Which issue this PR fixes** : 

fixes #31238 

@luxas @spxtr
2016-09-12 05:57:46 -07:00
Kubernetes Submit Queue a29ab082d5 Merge pull request #32461 from smarterclayton/endpoints_loggy
Automatic merge from submit-queue

Endpoints controller is logspamming
2016-09-12 05:20:25 -07:00
Kubernetes Submit Queue 0b5e024789 Merge pull request #32471 from wojtek-t/use_controller_ref_for_avoid_priority
Automatic merge from submit-queue

Use "controller ref" in NodePreferAvoidPriority 

Ref #28590

@caesarxuchao - FYI
2016-09-12 05:20:20 -07:00
Kubernetes Submit Queue 7802a61e16 Merge pull request #32483 from wojtek-t/log_outgoing_channel_size
Automatic merge from submit-queue

Extend logging for performance debugging
2016-09-12 04:40:00 -07:00
Kubernetes Submit Queue c07d0b7752 Merge pull request #32462 from smarterclayton/sj_logs
Automatic merge from submit-queue

ScheduledJob controller is too chatty
2016-09-12 04:39:53 -07:00
Kubernetes Submit Queue 148628cbba Merge pull request #32279 from jsafrane/remove-deletion-sleep
Automatic merge from submit-queue

Remove long sleep in provisioning e2e tests.

PV controller sync is now 15 seconds, i.e. the controller re-tries to delete a PV four times in a minute until it succeeds. There is no need to wait for three minutes.

@kubernetes/sig-storage
2016-09-12 04:39:48 -07:00
Kubernetes Submit Queue fc30bf7e8b Merge pull request #32374 from soltysh/e2e_check_resource
Automatic merge from submit-queue

Provide an e2e skip helper checking for available resource

@janetkuo @dims this is the promised util function, but unfortunately I just learned that dynamic client suffers from the problem I've fixed in the manually written one (https://github.com/kubernetes/kubernetes/pull/29187) I need to look into the dynamic client in that case :/
2016-09-12 03:59:30 -07:00
Wojciech Tyczynski 949dd90593 Extend logging for performance debuggin 2016-09-12 12:46:19 +02:00
Kubernetes Submit Queue 630d7ab6d9 Merge pull request #32479 from gmarek/master
Automatic merge from submit-queue

Relax the CPU constraint for L7 lb

Ref. https://github.com/kubernetes/kubernetes/issues/32437#issuecomment-246215291
2016-09-12 02:39:56 -07:00
Kubernetes Submit Queue 6f875bb97e Merge pull request #32399 from deads2k/api-04-check-enable
Automatic merge from submit-queue

filter enabled versions by enablement

fixes https://github.com/kubernetes/kubernetes/issues/32224

@krousey ptal
2016-09-12 02:39:50 -07:00
Kubernetes Submit Queue a062d9fe3b Merge pull request #32477 from wojtek-t/fix_etcd3_suite
Automatic merge from submit-queue

Fix etcd3 suite
2016-09-12 02:02:00 -07:00
Kubernetes Submit Queue b50251c1eb Merge pull request #32472 from lojies/changeinfofErrorfendpoint_helper
Automatic merge from submit-queue

change infof to Errorf in endpoint_helper.go

change glog.Infof() to glog.Errorf()
2016-09-12 02:01:55 -07:00
Kubernetes Submit Queue ae839ffc44 Merge pull request #31543 from deads2k/rbac-06-change-role-ref
Automatic merge from submit-queue

Change rbac roleref to reflect the information we want

@liggitt @ericchiang This is a version of https://github.com/kubernetes/kubernetes/pull/31359 which updates the `RoleRef` to be (I think) the type that we want, with a group, resource, and name.

This is **not** backwards compatible with any existing data.  I'm ok with doing this since rbac was considered alpha, but its something to consider.

If we want this instead, I'll close the previous pull (or update it with this content).
2016-09-12 02:01:49 -07:00
gmarek a6e8789194 Relax the CPU constraint for L7 lb 2016-09-12 10:42:44 +02:00
Kubernetes Submit Queue af325ee7bf Merge pull request #31797 from aveshagarwal/master-dapi-volume-tests-image-update
Automatic merge from submit-queue

Update container image version for downward api volume tests

Some tests were using 0.7, and some were using 0.6, so updating all to 0.7.
@kubernetes/rh-cluster-infra
2016-09-12 01:22:27 -07:00
Marek Grabowski cc330692ba Merge pull request #32452 from MrHohn/revert-32018-kubedns-deployment
Revert "Use a Deployment for kube-dns"
2016-09-12 09:59:06 +02:00
lojies 9498b227a1 change infof to Errorf in some codes 2016-09-12 15:55:42 +08:00
Wojciech Tyczynski 7a9802d49f Fix etcd3 suite 2016-09-12 09:44:45 +02:00
Kubernetes Submit Queue ff1cec99cc Merge pull request #32307 from mikedanese/cloud-owners
Automatic merge from submit-queue

update pkg/cloudprovider OWNERS to spread the review load

This is going to make the mungebot start assigning reviews in your cloudprovider packages.

fyi @runseb @dagnello @imkin @anguslees @dagnello
2016-09-12 00:08:23 -07:00
Kubernetes Submit Queue 64e914b8da Merge pull request #32365 from lojies/addporttokubectl
Automatic merge from submit-queue

add targetport to framework.Failf()

add target port value to framework.Failf()
2016-09-12 00:08:19 -07:00