- 17 May, 2016 1 commit
-
-
deads2k authored
-
- 16 May, 2016 13 commits
-
-
Wojciech Tyczynski authored
Tune traces thresholds in etcdHelper
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Improve fatal error description in plugins.go of scheduler The PR add more information for the fatal error in plugins.go of scheduler.
-
k8s-merge-robot authored
Automatic merge from submit-queue Verify that openssl is installed in local-up-cluster.sh
-
k8s-merge-robot authored
Automatic merge from submit-queue AWS kube-down: don't fail if ELB not in VPC - #23784 Prevent python undefined key error. ``` Traceback (most recent call last): File "<string>", line 1, in <module> KeyError: 'VPCId' ``` Fixes #23784 <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/23785) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue Adding patch and cleaning up namespace code cc @kubernetes/sig-api-machinery
-
k8s-merge-robot authored
Automatic merge from submit-queue Introduce namespaces in load test Ref #25563
-
k8s-merge-robot authored
Automatic merge from submit-queue add index template for es aggregations This index template helps us to do es aggregations of namespace_name, pod_name and container_name. Then after doing eggs, we will get the whole name not all the spilt pieces. fix #25127
-
k8s-merge-robot authored
Automatic merge from submit-queue Fixed 'Invalid endpoint: https://ec2.us-east-.amazonaws.com'. #24420 #24420 Addresses: - https://github.com/kubernetes/kubernetes/issues/24020 - https://github.com/kubernetes/kubernetes/issues/24420
-
k8s-merge-robot authored
Automatic merge from submit-queue Add nfs support for vagrant nodes. ## Pull Request Guidelines 1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md). 1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md). 1. 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 * Use the release-note-* labels to set the release note state * Clear this block to use the PR title as the release note -OR- * Enter your extended release note here ``` []() This will allow to use NFS volumes on those nodes
-
Wojciech Tyczynski authored
-
PingWang authored
The PR add more information to fatal error in plugins.go of scheduler.
-
keontang authored
-
- 15 May, 2016 14 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Salt configuration for the new Cluster Autoscaler for GCE Adds support for cloud autoscaler from contrib/cloud-autoscaler in kube-up.sh GCE script. cc: @fgrzadkowski @piosz
-
k8s-merge-robot authored
Automatic merge from submit-queue Build hyperkube in hack/local-up-cluster instead of separate binaries This speeds up the build time a lot. Also add arm64 as a valid arch This is quite trivial. Let's get it in asap @thockin @pmorie @liggitt @eparis @zmerlynn @smarterclayton
-
k8s-merge-robot authored
Automatic merge from submit-queue Use --format='value(name)' with gcloud instead of grep/awk/cut Fixing our fragile parsing of `gcloud` is getting old (#24746, #25159, maybe others?). Instead, let's just get the proper output out of `gcloud` in the first place.
-
Lucas Käldström authored
Speed up hack/local-up-cluster.sh by building hyperkube instead of separate binaries. Also add arm64 as a valid arch
-
k8s-merge-robot authored
Automatic merge from submit-queue enable recursive processing in kubectl rollout This PR was split out of https://github.com/kubernetes/kubernetes/pull/23673 per @deads2k's suggestion: https://github.com/kubernetes/kubernetes/pull/23673#discussion-diff-61290415 It makes use of the recursive processing of a directory in `kubectl rollout {undo,pause,resume}` which now also conforms to the [command conventions](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/kubectl-conventions.md#command-implementation-conventions). `kubectl rollout history` is being omitted for the time being as its encountering what appears to be an anomaly of an issue: https://github.com/kubernetes/kubernetes/issues/24606. Once this issue has been resolved I will modify it to be recursive
-
k8s-merge-robot authored
Automatic merge from submit-queue add GCE PD volume e2e tests add GCE PD e2e volume test @kubernetes/sig-storage
-
k8s-merge-robot authored
Automatic merge from submit-queue Conversions have kube-isms and are not portable for downstream Some minor fixes to enable generators for OpenShift and others who need to generate conversions on Kube API groups outside the core. @deads2k
-
k8s-merge-robot authored
Automatic merge from submit-queue Support struct,array,slice types when sorting kubectl output Fixes https://github.com/kubernetes/kubernetes/issues/24328. Briefly, `sorting_printer` only take cares of the following type kinds: * `reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64` * `reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64` * `reflect.Float32, reflect.Float64` * `reflect.String` * `reflect.Ptr` This commit aims to add `reflect.Struct, reflect.Slice, reflect.Array`. /cc @bgrant0607
-
k8s-merge-robot authored
Automatic merge from submit-queue validate third party resources addresses validation portion of https://github.com/kubernetes/kubernetes/issues/22768 * ThirdPartyResource: validates name (3 segment DNS subdomain) and version names (single segment DNS label) * ThirdPartyResourceData: validates objectmeta (name is validated as a DNS label) * removes ability to use GenerateName with thirdpartyresources (kind and api group should not be randomized, in my opinion) test improvements: * updates resttest to clean up after create tests (so the same valid object can be used) * updates resttest to take a name generator (in case "foo1" isn't a valid name for the object under test) action required for alpha thirdpartyresource users: * existing thirdpartyresource objects that do not match these validation rules will need to be removed/updated (after removing thirdpartyresourcedata objects stored under the disallowed versions, kind, or group names) * existing thirdpartyresourcedata objects that do not match the name validation rule will not be able to be updated, but can be removed
-
k8s-merge-robot authored
Automatic merge from submit-queue Remove RunInContainer interface in Kubelet Runtime interface According to #24689, we should merge RunInContainer and ExecInContainer in the container runtime interface. @yujuhong @kubernetes/sig-node
-
k8s-merge-robot authored
Automatic merge from submit-queue Optimize group version allocations Avoid allocation in strings.Split() for most common cases. Extracted from #24845 @wojtek-t or @deads2k
-
k8s-merge-robot authored
Automatic merge from submit-queue Make IsQualifiedName return error strings Part of the larger validation PR, broken out for easier review and merge. @lavalamp FYI, but I know you're swamped, too.
-
k8s-merge-robot authored
Automatic merge from submit-queue Horizontal autoscalaer tolerance breaching verifier @piosz @jszczepkowski This is the original HPA test without the other modifications, it makes explicit the mathematics of the logic in case changes ever occur. <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24736) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue etcd_watcher: make Deleted Event.Object's version consistent ### What's the problem? In [sendDelete()](https://github.com/kubernetes/kubernetes/blob/995f022808d1407897a5b23373484ac683534390/pkg/storage/etcd/etcd_watcher.go#L437-L442), Deleted Event.Object's resource version will be set to the latest resource version. This is actually an assumption made by cacher that all later events should have objects with larger verions; See [here](https://github.com/kubernetes/kubernetes/blob/995f022808d1407897a5b23373484ac683534390/pkg/storage/cacher.go#L579-L581). In sendModify(), it could also return Deleted event. However, the resource version is still the old version, which is inconsistent behavior with sendDelete(). ### What's this PR? This PR sets the version of oldObj in sendModify() to be the latest version. Provided unit test for it.
-
- 14 May, 2016 12 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue rkt: Refactor GarbageCollect to enforce GCPolicy. Previously, we uses `rkt gc` to garbage collect dead pods, which is very coarse, and can cause the dead pods to be removed too aggressively. This PR improves the garbage collection, now after one GC iteration: - The deleted pods will be removed. - If the number of containers exceeds gcPolicy.MaxContainers, then containers whose ages are older than gcPolicy.minAge will be removed. cc @kubernetes/sig-node @euank @sjpotter Pending on #23887 for the Godep updates. <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24647) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue Refactor downward API volume to use AtomicWriter Make the downward API plugin use `AtomicWriter` instead. @thockin @saad-ali @sdminonne <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24625) <!-- Reviewable:end -->
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Add pod status/ready/restartCount conformance test add more test cases to cover containers which will be terminated/running/failed/pending. Signed-off-by:liang chenye <liangchenye@huawei.com>
-
k8s-merge-robot authored
Automatic merge from submit-queue fix expose multi protocols issue Please refer #23882 for more detail. @bprashanth @bgrant0607 ptal. <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24090) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue Rate limitting requeue I think this will do what I want in almost every case. I'm going to try it out for a single writer quota evaluation. `NewRateLimitingQueue(NewControllerRateLimiter(qps, burst))` gives an `AddRateLimited(item)` that backs off based on the max of a bucket and exponential backoff per item. @liggitt Want to see if the interface works for you too? <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24052) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue federated api servers: Adding a discovery summarizer server Ref https://github.com/kubernetes/kubernetes/issues/20229 The server reads a config file to get the list of federated servers and then surfaces the combined discovery information at `/api` and `/apis`. cc @kubernetes/sig-api-machinery @lavalamp <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/20358) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue Rename NewGoRoutine to Run in GoRoutineMap
-
k8s-merge-robot authored
Automatic merge from submit-queue Moving federation-apiserver to use genericapiserver.ServerRunOptions and deleting federation-apiserver options The remaining params were related to authz and authn and one parameter for WatchCacheSize. Have moved them to genericapiserver.ServerRunOptions and now federation-apiserver can just use genericapiserver.ServerRunOptions() cc @jianhuiz @kubernetes/sig-cluster-federation
-
k8s-merge-robot authored
Automatic merge from submit-queue Adding Services to federation clientset Commits: 1. Regenerate the client without any changes to client-gen 2. Update clientgen to add a parameter to specify generating client only for Services v1 object. 3. Regenerate federation_internalclientset 4. Regenerate federation_release_1_3 Second commit is the most important one. Other 3 commits are auto generated by running client-gen. I have added a command line argument to client-gen that takes in a list of group/version/resource. If a group version is part of this list, then only the resources in this list are included in the client. For other group versions, the existing check of genclient=true in types.go is used. Other alternatives considered were: * Update genclient in types.go to mention the clientset name in which it should be included instead of just saying genclient=true (so Services will say genclient=core,federation while all other v1 resources will say genclient=core). This requires a code change in types.go to change a client set. * Create another types.go which will only include Services and use that to generate federation clientset. This will lead to duplicate Service definition. cc @caesarxuchao @lavalamp @jianhuiz @mfanjie @kubernetes/sig-cluster-federation <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/25443) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue Retry fetching http urls passed to '-f' in kubectl. ## Pull Request Guidelines 1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md). 1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md). 1. 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 * kubectl now retries failed http gets for urls passed through the '-f' flag. ``` []() Closes #24089.
-
k8s-merge-robot authored
Automatic merge from submit-queue The remaining API changes for PodDisruptionBudget. It's mostly the boilerplate required for the registry, some extra codegen, and a few tests. Will squash once we're sure it's good.
-