- 15 Jul, 2016 40 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix build for non-GOPATH users I want feedback on this. There are 2 commits here, we should probably only do one of them. The release note will depend on which one we choose. Also docs need update. Fixes #28890 Fixes #28987
-
k8s-merge-robot authored
Automatic merge from submit-queue move kube-dns to the cluster/addons/ directory Fixes #28553 cc @girishkalele @bprashanth
-
k8s-merge-robot authored
Automatic merge from submit-queue Reexport term.IsTerminal Reexport term.IsTerminal so downstream consumers (e.g. OpenShift) can use it. @smarterclayton @sttts
-
David McMahon authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Few more optimizations of priority functions in scheduler Ref #28590 @davidopp
-
k8s-merge-robot authored
Automatic merge from submit-queue First step of optimizing PodAffinity priority function Ref #26144 This is obviously only a first step - I will continue working on this code. However, this is changing the general scheme of computations to what is described in: https://github.com/kubernetes/kubernetes/issues/26144#issuecomment-232612384
-
Tim Hockin authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix make on Mac replacing sed with tr fixes #28930
-
k8s-merge-robot authored
Automatic merge from submit-queue Don't double encode protobuf runtime.Unknown When using runtime.Object and runtime.RawExtension, passing runtime.Unknown to protobuf serializer should result in the raw message being serialized (since all normal protobuf objects are runtime.Unknown). Also, avoid setting a content-type when decoding a protobuf object except when the content appears to be proto. @wojtek-t
-
Marek Grabowski authored
Fix the fix for taint scheduler predicate test
-
gmarek authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Including ContainerRemoved in PLEG event reporting
-
k8s-merge-robot authored
Automatic merge from submit-queue Defer taint removal in SchedulerPredictes cc @davidopp @kevin-wangzefeng
-
k8s-merge-robot authored
Automatic merge from submit-queue Support deleting all unused images #25239
-
k8s-merge-robot authored
Automatic merge from submit-queue Generate a better Stringer method for proto types This replaces the bad string output generated by golang/proto with gogo/protobuf stringer generation. Makes the output similar to %#v and more debuggable. We have to have a String() method to implement proto.Message, so this is strictly better. @wojtek-t, @thockin for after your PR merges Fixes #28756
-
k8s-merge-robot authored
Automatic merge from submit-queue Implement a RESTMappings method With the introduction of batch/v1 and batch/v2alpha1, any MultiRESTMapper that has per groupversion mappers (as a naive discovery client would create) would end up being unable to call RESTMapping() on batch.Jobs. As we finish up discovery we will need to be able to choose prioritized RESTMappings based on the service discovery doc. This change implements RESTMappings(groupversion) which returns all possible RESTMappings for that kind. That allows a higher level call to prioritize the returned mappings by server or client preferred version. @deads2k
-
gmarek authored
-
k8s-merge-robot authored
Automatic merge from submit-queue [GarbageCollector] Let the RC manager set/remove ControllerRef What's done: * RC manager sets Controller Ref when creating new pods * RC manager sets Controller Ref when adopting pods with matching labels but having no controller * RC manager clears Controller Ref when pod labels change * RC manager clears pods' Controller Ref when rc's selector changes * RC manager stops adoption/creating/deleting pods when rc's DeletionTimestamp is set * RC manager bumps up ObservedGeneration: The [original code](https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/replication/replication_controller_utils.go#L36) will do this. * Integration tests: * verifies that changing RC's selector or Pod's Labels triggers adoption/abandoning * e2e tests (separated to #27151): * verifies GC deletes the pods created by RC if DeleteOptions.OrphanDependents=false, and orphans the pods if DeleteOptions.OrphanDependents=true. TODO: - [x] we need to be able to select Pods that have a specific ControllerRef. Then each time we sync the RC, we will iterate through all the Pods that has a controllerRef pointing the RC, event if the labels of the Pod doesn't match the selector of RC anymore. This will prevent a Pod from stuck with a stale controllerRef, which could be caused by the race between abandoner (the goroutine that removes controllerRef) and worker the goroutine that add controllerRef to pods). - [ ] use controllerRef instead of calling `getPodController`. This might be carried out by the control-plane team. - [ ] according to the controllerRef proposal (#25256): "For debugging purposes we want to add an adoptionTime annotation prefixed with kubernetes.io/ which will keep the time of last controller ownership transfer." This might be carried out by the control-plane team. cc @lavalamp @gmarek
-
k8s-merge-robot authored
Automatic merge from submit-queue kubelet external componentconfig
-
k8s-merge-robot authored
Automatic merge from submit-queue Allow proto tag to define field name When we introduce a new field for backwards compatibility, we may want to specify a different protobuf field name (one that matches JSON) than the automatic transformation applied to the struct field. This allows an API field to define the name of its protobuf tag. @wojtek-t hit this while adding protobuf to OpenShift - we have fields we keep for backward compatibility that need to be assigned a field by name. Has no impact on existing (already tagged) fields.
-
Marek Grabowski authored
Revert "[garbage collector] add e2e test"
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue devel/ tree additional minor edits Address line wrap issue #1488. Also cleans up other minor editing issues in the docs/devel/* tree such as spelling errors, links,... Signed-off-by:Mike Brown <brownwm@us.ibm.com>
-
k8s-merge-robot authored
Automatic merge from submit-queue Remove id field from rbd examples Currently the RBD examples fail with the following error: ``` kubectl create -f examples/volumes/rbd/rbd-with-secret.json error validating "examples/volumes/rbd/rbd-with-secret.json": error validating data: found invalid field id for v1.Pod; if you choose to ignore these errors, turn validation off with --validate=false ``` fixes #28831
-
k8s-merge-robot authored
Automatic merge from submit-queue AWS: Add ap-south-1 to list of known AWS regions Adding the new ap-south-1 region (Mumbai)
-
Chao Xu authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Modify wrong description about "InsecurePort" in genericapiserver.go Modify wrong description about "InsecurePort" in genericapiserver.go, avoid misleading.
-
k8s-merge-robot authored
Automatic merge from submit-queue Improve fatal error description for init in genericapiserver.go When api.NewRequestContextFilter return error in the "init" function of genericapiserver.go, there are no handler info, add more information to indicate s.Handler or s.InsecureHandler, I suggest.
-
k8s-merge-robot authored
Automatic merge from submit-queue Optimise the New function in genericapiserver.go It needn't the handlerContainer variable in the "New" function when deal s.HandlerContainer, I think, and it seems the codes more concise.
-
k8s-merge-robot authored
Automatic merge from submit-queue Add RELEASE_INFRA_PUSH related code to support pushes from kubernetes/release. ref #16529
-
k8s-merge-robot authored
Automatic merge from submit-queue [garbage collector] add e2e test This PR also includes some changes to plumb controller-manager's `--enable_garbage_collector` from the environment variable. The e2e test will not be run by the core suite because it's marked `[Feature:GarbageCollector]`. The corresponding jenkins job configuration PR is https://github.com/kubernetes/test-infra/pull/132.
-
Michael Taufen authored
Move SystemReserved and KubeReserved into KubeletConfiguration struct Convert int64 to int32 for some external type fields so they match internal ones tLS* to tls* for JSON field names Fix dependency on removed options.AutoDetectCloudProvider Change floats in KubeletConfiguration API to ints
-
Michael Taufen authored
These tests can just use the empty string for the PodInfraContainerImage.
-
Michael Taufen authored
Update external KubeletConfiguration type Add defaults for new KubeletConfiguration fields Modify some defaults to match upstream settings Add/rename some conversion functions Updated codegen Fixed typos Mike Danese caught that s.NodeLabels wasn't allocated, fix on line 118 of cmd/kubelet/app/options/options.go. Provide list of valid sources in comment for HostNetworkSources field
-
Mike Danese authored
-
Mike Danese authored
-
Manuel de Brito Fontes authored
-
Maisem Ali authored
Revert "Remove pod mutation for PVs with supplemental GIDs"
-
Daniel Smith authored
-