Commit Graph

529 Commits

Author SHA1 Message Date
Tim Hockin b35f3aa8f5 Use file tags to generate conversions
This drives conversion generation from file tags like:
  // +conversion-gen=k8s.io/my/internal/version
.. rather than hardcoded lists of packages.

The only net change in generated code can be explained as correct.  Previously
it didn't know that conversion was available.
2016-07-07 22:09:08 -07:00
k8s-merge-robot 3bc5017e01 Merge pull request #28578 from thockin/dont-checkin-generated-code-prep-1
Automatic merge from submit-queue

Prep for not checking in generated, part 1/2

This PR is extracted from #25978 - it is just the deep-copy related parts.  All the Makefile and conversion stuff is excluded.

@wojtek-t this is literally branched, a bunch of commits deleted, and a very small number of manual fixups applied.  If you think this is easier to review (and if it passes CI) you can feel free to go over it again. I will follow this with a conversion-related PR to build on this.

Or if you prefer, just close this and let the mega-PR ride.

@lavalamp
2016-07-07 21:25:10 -07:00
Tim Hockin 19bae12d22 Recreate the opt-in/opt-out logic for deepcopy
This is the last piece of Clayton's #26179 to be implemented with file tags.
All diffs are accounted for.  Followup will use this to streamline some
packages.

Also add some V(5) debugging - it was helpful in diagnosing various issues, it
may be helpful again.
2016-07-07 16:49:46 -07:00
Tim Hockin 4a69f7cd28 Use file tags to generate deep-copies
This drives most of the logic of deep-copy generation from tags like:
  // +deepcopy-gen=package
..rather than hardcoded lists of packages.  This will make it possible to
subsequently generate code ONLY for packages that need it *right now*, rather
than all of them always.

Also remove pkgs that really do not need deep-copies (no symbols used
anywhere).
2016-07-07 16:49:46 -07:00
Tim St. Clair a96008ab10 Regenerate TOCs with duplicate header fix 2016-07-07 13:31:17 -07:00
k8s-merge-robot 0bc86fd69b Merge pull request #28460 from wojtek-t/remove_cmd_integration
Automatic merge from submit-queue

Remove cmd/integration test

Fix #24440

After few cleanup PRs:
https://github.com/kubernetes/kubernetes/pull/27182
https://github.com/kubernetes/kubernetes/pull/27535
https://github.com/kubernetes/kubernetes/pull/26016

The only things that are being tested here is:
- starting master components without any verification (so if it didn't start, it will still work :P)
- checking if kubelet is starting containers from http manifest.

The latter is already tested in:
https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/config/http_test.go#L54

So the test is now useless, at the same time, significantly increasing time spent on integration tests.

@lavalamp @mikedanese @spxtr @fejta
2016-07-07 11:36:19 -07:00
Mike Danese c5324cf452 update docs
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-07-07 00:54:23 -07:00
k8s-merge-robot 0bafb2a75b 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
dubstack 17596a7ef5 Fix minor typo 2016-07-05 20:00:41 -07:00
Wojciech Tyczynski 74429867d8 Remove cmd/integration test 2016-07-04 13:07:12 +02:00
Zach Loafman 219d085b1a Revert "Revert "Merge pull request #28193 from zmerlynn/pull-ci-elsewhere""
Bring back #28193. We caught a break in
https://github.com/kubernetes/test-infra/issues/240 and discovered the
previous issue, fixed in
https://github.com/kubernetes/test-infra/pull/241 and
https://github.com/kubernetes/test-infra/pull/244, so I have a pretty
good handle on what was causing the previous bringup issues (and it
wasn't #28193). By the time this merges, we'll have good signal on GKE
in the `kubernetes-e2e-gke-updown` job.

This reverts commit ee1d48033366cfbb2e32fc98af6d37c0789e03c2.
2016-06-29 15:10:24 -07:00
Zach Loafman 950814d73c Revert "Merge pull request #28193 from zmerlynn/pull-ci-elsewhere"
This reverts commit d965b4719cb113f8f607e991755b09a3b0dbb33d, reversing
changes made to 08a28e5123d3ef2aac444e8398979fec2cdc74eb.
2016-06-29 07:55:53 -07:00
joe2far 91f8164944 Make kubectl help strings consistent 2016-06-29 12:50:24 +01:00
Zach Loafman 8e1eb3f045 Change references to gs://kubernetes-release/ci
Change over to gs://kubernetes-release-dev/ci. This should be all the
places we reference gs://kubernetes-release/ci or
https://storage.googleapis.com/kubernetes-release/ci. I'm happy to be
wrong.

Follow-on to #28172
2016-06-28 16:45:12 -07:00
k8s-merge-robot 4274904728 Merge pull request #26761 from matchstick/dedent
Automatic merge from submit-queue

Dedent

Adding the dedent package and then applying it to the kubectl help commands. Also updating the documentation to reflect the use of dedent.
2016-06-28 12:50:59 -07:00
k8s-merge-robot 6f656531e2 Merge pull request #27816 from spxtr/no-travis
Automatic merge from submit-queue

Remove all traces of travis.
2016-06-28 03:53:34 -07:00
Michael Rubin b601f18a29 Document usage of dedent for kubectl commands 2016-06-26 22:51:16 -07:00
David McMahon 53d6a995ab relnotes ready for use. 2016-06-24 17:09:22 -07:00
k8s-merge-robot cc54afc155 Merge pull request #26729 from quinton-hoole/2016-06-02-tell-mac-wussies-to-be-more-linux
Automatic merge from submit-queue

Add note to development guide regarding GNU tools versions


…especially on Mac OS X.
2016-06-24 13:56:43 -07:00
Joe Finney bce51fbf2f Remove all traces of travis. 2016-06-21 15:58:34 -07:00
k8s-merge-robot cee060cd4a Merge pull request #26932 from aaronlevy/conformance-fix
Automatic merge from submit-queue

Allow conformance tests to run on non-GCE providers

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

Creates a skeleton provider which has all the required function stubs -- but will allow a previously set "skeleton" KUBERNETES_PROVIDER to not be overriden with "gce".
2016-06-21 14:30:58 -07:00
Daniel Smith 3d6c8acef6 Merge pull request #26032 from pmorie/improve-tests
Testing improvements
2016-06-15 15:44:33 -07:00
Daniel Smith a1bb96827b Merge pull request #27221 from david-mcmahon/updatedocs
Update the latestReleaseBranch to release-1.3 in the munger.
2016-06-15 14:43:06 -07:00
Paul Morie 4c6e8c6738 Improve debugging experience for single integration test case 2016-06-14 12:51:02 -04:00
Zach Loafman 0e792ecc02 Revert "Redo v1.4.0-alpha.0"
This reverts commit c7f1485e1b3491e98f102c30e7e342cb53dda818, reversing
changes made to 939ad4115a2a96f1e18758ec45b7d312bec65aa7.
2016-06-14 09:01:53 -07:00
Zach Loafman 52a8d6c084 Redo v1.4.0-alpha.0 2016-06-14 09:01:41 -07:00
David McMahon 4a5d209960 Updated docs and examples for release-1.3. 2016-06-13 12:24:34 -07:00
Paul Morie c2022785be Improve developer docs on unit and integration testing 2016-06-13 15:10:46 -04:00
k8s-merge-robot 0c80872838 Merge pull request #26951 from madhusudancs/fed-detect-project-registry-base
Automatic merge from submit-queue

Detect the project in which the federation of clusters are being created and point the federation docker registry to that project.

Only the last commit here needs review.

Depends on #26950.

cc @colhom @kubernetes/sig-cluster-federation

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-13 06:00:04 -07:00
Madhusudan.C.S 72606c72a7 Default to GCR as the image registry if the provider is GCE or GKE. 2016-06-13 02:08:59 -07:00
Dawn Chen 94ac5ff7f0 Revert "Versioning docs and examples for v1.4.0-alpha.0."
This reverts commit cce9db3aa9555671c5ddf69549b46ed0fd7e472a.
2016-06-10 16:46:46 -07:00
David McMahon 2f5640b791 Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:55:35 -07:00
David McMahon 31b4c511aa Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:21:20 -07:00
k8s-merge-robot c520a561a8 Merge pull request #27072 from colhom/federation-e2e-docs
Automatic merge from submit-queue

Updating e2e docs with instructions on running federation tests

Last two commits are for review. Depends on #26951

\cc @madhusudancs @quinton-hoole @nikhiljindal 
 
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-09 19:14:11 -07:00
Colin Hom e1cb35afcd document federation e2e cli flow 2016-06-09 15:11:52 -07:00
Daniel Smith ff8d9af6f8 update documentation & hooks 2016-06-08 17:22:12 -07:00
k8s-merge-robot 7e3393ba4f Merge pull request #26832 from pwittrock/node-e2e-makefile
Automatic merge from submit-queue

Node e2e Makefile support for running remote tests against kubernetes…

Fixes #26665

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

…-node-e2e-images.
2016-06-08 14:25:28 -07:00
Phillip Wittrock be58a6eddd Node e2e Makefile support for running remote tests against kubernetes-node-e2e-images.
Also includes other improvements:
- Makefile rule to run tests against remote instance using existing host or image
- Makefile will reuse an instance created from an image if it was not torn down
- Runner starts gce instances in parallel with building source
- Runner uses instance ip instead of hostname so that it doesn't need to resolve
- Runner supports cleaning up files and processes on an instance without stopping / deleting it
- Runner runs tests using `ginkgo` binary to support running tests in parallel
2016-06-08 07:31:54 -07:00
Aaron Levy 304fe55153 Use a skeleton provider for unimplemented functionality 2016-06-07 16:08:09 -07:00
Eric Paris 8ea330781d update automation.md 2016-06-07 17:30:50 -04:00
pwittrock 5ebb3f2f88 Node e2e use vendored testing packages. 2016-06-03 17:01:50 -07:00
Quinton Hoole 3577ba87d6 Add note to development guide regarding GNU tools versions, especially on Mac OS X. 2016-06-02 11:30:31 -07:00
Girish Kalele cc10b53fc0 Switch DNS addons from skydns to kubedns
Unified skydns templates using a simple underscore based template and
added transform sed scripts to transform into salt and sed yaml
templates

Moved all content out of cluster/addons/dns into build/kube-dns and
saltbase/salt/kube-dns
2016-05-31 10:14:14 -07:00
k8s-merge-robot bbc5a56dc3 Merge pull request #25531 from ingvagabund/introduce-memory-pressure-to-scheduler
Automatic merge from submit-queue

Introduce node memory pressure condition to scheduler

Following the work done by @derekwaynecarr at https://github.com/kubernetes/kubernetes/pull/21274, introducing memory pressure predicate for scheduler.

Missing:

* write down unit-test
* test the implementation

At the moment this is a heads up for further discussion how the new node's memory pressure condition should be handled in the generic scheduler.

**Additional info**

* Based on [1], only best effort pods are subject to filtering.
* Based on [2], best effort pods are those pods "iff requests & limits are not specified for any resource across all containers".

[1] 542668cc79/docs/proposals/kubelet-eviction.md (scheduler)
[2] https://github.com/kubernetes/kubernetes/pull/14943
2016-05-21 19:37:15 -07:00
Jan Chaloupka c3d5cfb6c4 Scheduler: introduce CheckNodeMemoryPressurePredicate, don't schedule pods for nodes that reports memory pressury.
Introduce unit-test for CheckNodeMemoryPressurePredicate

Following work done in #14943
2016-05-22 00:40:28 +02:00
Vishnu kannan a9712c6560 Updating QoS policy to be per-pod instead of per-resource.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-20 11:52:16 -07:00
Daniel Smith aa8bf9763e Merge pull request #25672 from ihmccreery/fix-link
Fix link to Jenkins
2016-05-18 17:56:08 -07:00
Paul Morie 97c046019f Add notes about endgame for test flakes 2016-05-17 17:34:09 -04:00
k8s-merge-robot 2f8d5bf5e5 Merge pull request #25576 from k82/k8s-24411-doc
Automatic merge from submit-queue

Update document for kubectl service output.

Fix for #24411, Update document for kubectl service output
2016-05-17 01:55:59 -07:00
Tim Hockin f11086ed30 Document godep updates better
`godep update` doesn't work.  It just says 'nothing to update'.  Drop it, and
use The Big Hammer instead.
2016-05-16 13:15:39 -07:00