- 13 Jul, 2016 40 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue [client-gen] Allow passing subresources in Patch method Expand the Patch() method from: ``` Patch(name string, pt api.PatchType, data []byte) ``` to ``` Patch(name string, pt api.PatchType, data []byte, subresources ...string) ``` Continue on #27293. Fixes #26580. cc @Random-Liu @lavalamp
-
k8s-merge-robot authored
Automatic merge from submit-queue add default flannel configuration for cni I added a default flannel configuration for cni. So hyperkube can be started with: ``` --network-plugin=kubenet ``` or with flannel: ``` --network-plugin=cni --network-plugin-dir=/etc/cni/net.d ``` Requires update of cni binaries to 0.3.0 or later to work. See also https://github.com/kubernetes/kubernetes/issues/27603 This PR is intended to support multi-node Hyperkube https://github.com/kubernetes/kube-deploy/pull/115 CC @zreigz []()
-
k8s-merge-robot authored
Automatic merge from submit-queue update resource builder error message to be more clear release-note-none The error message given by command line `kubectl get` is sometimes of no help / not clear on what must be corrected, e.g.: `kubectl get pod pod/database-1-i10b9` error: when passing arguments in resource/name form, all arguments must include the resource ##### Steps to Reproduce: 1. Run command "$ kubectl get pod pod/database-1-i10b9" ##### Actual Result: Get unfriendly error message which is of no help: "error: when passing arguments in resource/name form, all arguments must include the resource" ##### Expected Result: Error message should recommend end user to run this cli in good grammar: "$ kubectl get pod database-1-i10b9" or "$ kubectl get pod/database-1-i10b9" ##### Before "error: when passing arguments in resource/name form, all arguments must include the resource" ##### After "error: there is no need to specify a resource type as a separate argument when passing arguments in resource/name form (e.g. `kubectl get resource/<resource_name>` instead of `kubectl get resource resource/<resource_name>`" []()
-
k8s-merge-robot authored
Automatic merge from submit-queue Stop eating panics Fixes #28365
-
k8s-merge-robot authored
Automatic merge from submit-queue Better visibility to contributing docs. <!-- 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 ``` []() 1. Updates the README.md to have a heading with the word "contribute", long time OSS contributors (or maybe I just do this) skim docs quickly and need a large call out to exactly what they are looking for. 2. The best resource I found was a developer guide that wasn't even linked in CONTRIBUTING.md, which seems like a shame so I made it right at the top!
-
Maisem Ali authored
Fix heading for previous releases on v1.3.0.
-
k8s-merge-robot authored
Automatic merge from submit-queue Don't add analytics to .entries.
-
k8s-merge-robot authored
Automatic merge from submit-queue Add SSH_OPTS to config ssh and scp port Add SSH_OPTS support.This can change ssh and scp default port. fixes #17934
-
k8s-merge-robot authored
Automatic merge from submit-queue cluster/ubuntu/download-release.sh: if $KUBE_VERSION is set, use it. ```release-note If $KUBE_VERSION is set in cluster/ubuntu/download-release.sh use that version, otherwise set it to the result of `get_latest_version_number`. ``` []()
-
k8s-merge-robot authored
Automatic merge from submit-queue controller-manager support number of garbage collector workers to be configurable The number of garbage collector workers of controller-manager is a fixed value 5 now, make it configurable should more properly
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix typo in pkg/runtime/serializer/codec_factory.go
-
k8s-merge-robot authored
Automatic merge from submit-queue Unify logging in generators and avoid annoying logs. @thockin regarding our discussing in the morning @lavalamp - FYI
-
Daniel Smith authored
-
David McMahon authored
-
Michael Taufen authored
-
k8s-merge-robot authored
Automatic merge from submit-queue kube-up: install new Docker pre-requisite (libltdl7) when not in image Docker now has a dependency on libltdl7; we have to specify it manually if we are installing docker using dpkg (vs using apt-get or similar, which would pull it in automatically) Fixes #28644
-
k8s-merge-robot authored
Automatic merge from submit-queue More optimizations to scheduler throughput Ref #28590 @davidopp @gmarek
-
k8s-merge-robot authored
Automatic merge from submit-queue Separate rate limiters for Pod evictions for different zones in NodeController Ref. #28832 NodeController needs to be able to separately adjust rate-limits for eviction for different zones. This PR splits rate limiters. cc @davidopp
-
k8s-merge-robot authored
Automatic merge from submit-queue Add custom-columns and custom-template-file to --help text
-
Wojciech Tyczynski authored
-
gmarek authored
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Few more optimizations for scheduler Ref #28590 @davidopp
-
k8s-merge-robot authored
Automatic merge from submit-queue Implement first version of indexing in cacher This PR adds a first version of indexing in cacher. It has a really significant impact on performance - __in empty 2000-node cluster, apiserver cpu usage drops by ~75%.__ Not for 1.3, but we need this soon after 1.3 is done. @lavalamp @mqliang @davidopp @gmarek @kubernetes/sig-scalability
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Don't check in generated code, part 1 This PR is a first step towards not commiting generated files, which make up a huge portion of "needs rebase" errors. It only handles deep-copy generation and conversion generation. More will come later, if the model passes muster. This is a mega-PR. Sorry. It was necessary to do 2 generators to convince myself it worked, and the evolution of the techniques warranted multiple commits. I have tried to keep the commits self-contained and reviewable. A quick summary of the major points in the series: - Start by making everything call `make` rather than the various hack/* scripts. The hack scripts still exist, but give a warning to use make instead, and then they do what they did before, so it should be compatible. - Move deepcopy generation into the Makefile, so it is done automatically - Move conversion generation into the Makefile, so it is done automatically - Optimize makefile for faster rebuilds - Make CI pass Net result: if you run "make", it will rebuild any deepcopy or conversion files it needs. It takes a few seconds to figure out there's nothing to do, but it should be a net savings. There is more to do, and we can follow this up with other generators being converted, some of which are MUCH slower than these 2. @wojtek-t @lavalamp @smarterclayton @bgrant0607 @mikedanese @madhusudancs
-
k8s-merge-robot authored
Automatic merge from submit-queue check PodAntiAffinity even when pod has no AntiAffinity constraints Hard inter-pod anti-affinity is designed to be symmetric, in other word, the algorithm should check if AntiAffinity constraints from both the pod to be scheduled and pods already running are satisfied during scheduling. Current implementation skipped the checking when pod has no AntiAffinity constraints, ignored the anti-affinity constraints of existing pods , which is not correct. This PR is to fix it.
-
Ke Zhang authored
-
Tim Hockin authored
-
Tim Hockin authored
This makes it a little easier to look at the main Makefile without getting overwhelmed by code-generation stuff.
-
Tim Hockin authored
This is sort of gravy. There's no good way to do this for arbitrary directories because of the way Make works (we'd have to declare them all PHONY). If people hate using make directly we could wrap it in another level of indirection, but I didn't yet. E.g. build/make-all.sh -> make -> make-rules/all.sh -> go install This would insulate people from 'make' atthe cost of custom build tools. I prefer being able to say 'make' and having it just work.
-
Tim Hockin authored
-
Tim Hockin authored
-
Tim Hockin authored
-
Tim Hockin authored
This makes code generation MUCH MUCH faster.
-