- 16 Jul, 2016 4 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue rkt: Copy the /etc/hosts /etc/resolv.conf into pod dir before mounting. rkt: Copy the /etc/hosts /etc/resolv.conf into pod dir before mounting. This enables the container to modify the /etc/hosts/ /etc/resolv.conf without changing the host's ones. With this PR, we now match the docker's behavior. Fix https://github.com/kubernetes/kubernetes/issues/29022 cc @kubernetes/sig-rktnetes @quentin-m -
k8s-merge-robot authored
Automatic merge from submit-queue Scale kube-proxy conntrack limits by cores (new default behavior) For large machines we want more conntrack entries than smaller machines. Commence bike-shedding on names and values and semantics. I'd love to get this in as a patch to 1.3.x since we have had some trouble for users on large machines. Fixes #28867
-
Yifan Gu authored
This enables the container to modify the /etc/hosts/ /etc/resolv.conf without changing the host's ones. With this PR, we now match the docker's behavior.
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix a bug in mirror pod node e2e test. Fixed a bug in test/e2e_node/mirror_pod_test.go. The function 'checkMirrorPodDisappear' returns nil even when the pod does not disappear. It should return a non-nil error. @Random-Liu
-
- 15 Jul, 2016 36 commits
-
-
Tim Hockin authored
For large machines we want more conntrack entries than smaller machines.
-
k8s-merge-robot authored
Automatic merge from submit-queue Undelete generated files There's been enough people broken by not committing generated code, that we should undo that until we have a proper client that is `go get` compatible. This is temporary. Fixes #28920
-
k8s-merge-robot authored
Automatic merge from submit-queue Splitting OS_DISTRIBUTION into NODE_OS_DISTRIBUTION and MASTER_OS_DISTRIBUTION fixes #26183 []()
-
k8s-merge-robot authored
Automatic merge from submit-queue Better handle etcd compaction in multi-apiserver What: - Change etcd compaction routine to better handle multi-apiserver (HA) scenarios. See the docs in code.
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix make to include line-continuations This got broken in recent changes. Sorry for the noise.
-
Maisem Ali authored
MASTER_OS_DISTRIBUTION.
-
k8s-merge-robot authored
Automatic merge from submit-queue [Kubelet] Improving QOS in kubelet by introducing QoS level Cgroups - `--cgroups-per-qos` This PR is tied to this upstream issue #27204 Please note that only the last commit is unique to this PR. The first two commits are from previous PR's. It introduces a new flag in the Kubelet which can be used to specify if the user wants to use the QoS cgroup hierarchy. cc @kubernetes/sig-node
-
k8s-merge-robot authored
Automatic merge from submit-queue move api.ObjectReference.ObjectKind to pkg/api/ref.go This is needed to convert k8s components to use versioned clientset. To let components use versioned client, we need to convert `pkg/client/record` to v1, which depends on `pkg/api/ref.go`, so we need to make a `pkg/api/v1/ref.go`. And this [line](https://github.com/kubernetes/kubernetes/blob/master/pkg/api/ref.go#L44) requires v1.ObjectReference to be a runtime.Object. Moving `api.ObjectReference.ObjectKind` to `pkg/api/ref.go` will make the writing a conversion script easier because all the necessary changes will be restricted in `ref.go`.
-
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
-
Tim Hockin authored
There's been enough people broken by not committing generated code, that we should undo that until we have a proper client that is `go get` compatible. This is temporary.
-
Tim Hockin authored
-
Hongchao Deng authored
-
Hongchao Deng authored
-
Tim Hockin authored
-
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
-
Buddha Prakash authored
-
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
-