- 11 May, 2016 5 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Quota integration test improvements This PR does the following: * allow a replication manager to get created that does not record events * improve the shutdown behavior of replication manager and resource quota to ensure doWork funcs exit properly * update quota integration test to use non event generating replication manager, reduce number of pods to provision I am hoping this combination of changes should fix the referenced flake. Fixes https://github.com/kubernetes/kubernetes/issues/25037
-
k8s-merge-robot authored
Automatic merge from submit-queue devel/ tree further minor edits Address line wrap issue #1488. Also cleans up other minor editing issues in the docs/devel/* tree such as spelling errors, links, content tables... Signed-off-by:Mike Brown <brownwm@us.ibm.com>
-
k8s-merge-robot authored
Automatic merge from submit-queue Return 'too old' errors from watch cache via watch stream Fixes #25151 This PR updates the API server to produce the same results when a watch is attempted with a resourceVersion that is too old, regardless of whether the etcd watch cache is enabled. The expected result is a `200` http status, with a single watch event of type `ERROR`. Previously, the watch cache would deliver a `410` http response. This is the uncached watch impl: ``` // Implements storage.Interface. func (h *etcdHelper) WatchList(ctx context.Context, key string, resourceVersion string, filter storage.FilterFunc) (watch.Interface, error) { if ctx == nil { glog.Errorf("Context is nil") } watchRV, err := storage.ParseWatchResourceVersion(resourceVersion) if err != nil { return nil, err } key = h.prefixEtcdKey(key) w := newEtcdWatcher(true, h.quorum, exceptKey(key), filter, h.codec, h.versioner, nil, h) go w.etcdWatch(ctx, h.etcdKeysAPI, key, watchRV) return w, nil } ``` once the resourceVersion parses, there is no path that returns a direct error, so all errors would have to be returned as an `ERROR` event via the ResultChan(). -
k8s-merge-robot authored
Automatic merge from submit-queue GKE provider: Add cluster-ipv4-cidr and arbitrary flags cc @roberthbailey @a-robinson @cjcullen <!-- 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/25437) <!-- Reviewable:end -->
-
k8s-merge-robot authored
Automatic merge from submit-queue modify kubenet mutex and add timer
-
- 10 May, 2016 35 commits
-
-
derekwaynecarr authored
-
derekwaynecarr authored
-
derekwaynecarr authored
-
k8s-merge-robot authored
Automatic merge from submit-queue remove extra quotation mark that breaks API docs Finish #24099
-
k8s-merge-robot authored
Automatic merge from submit-queue etcd3/watcher: Event.Object should have the same rev as etcd delete ### What's the problem? When a delete is watched, the revision should be larger than any previous to guarantee ordering. However, currently etcd3 decodes the previous rev into returned object: https://github.com/kubernetes/kubernetes/blob/995f022808d1407897a5b23373484ac683534390/pkg/storage/etcd3/watcher.go#L322 This will break, for example, cacher's assumption here if it re-watch. https://github.com/kubernetes/kubernetes/blob/995f022808d1407897a5b23373484ac683534390/pkg/storage/cacher.go#L579-L581 The etcd2 impl. also takes the current ModifiedIndex to ensure it's a larger number: https://github.com/kubernetes/kubernetes/blob/995f022808d1407897a5b23373484ac683534390/pkg/storage/etcd/etcd_watcher.go#L437-L442 ### What's this PR? It fixes above problem by using etcd's delete revision.
-
k8s-merge-robot authored
Automatic merge from submit-queue kubenet try to retrieve ip inside pod net namespace Kubenet currently stores the ips of pods inside a map. Kubelet gets pod ip from kubenet during syncpod. If Kubelet restarts, all pods on the node lost their ips in podStatus. This PR adds logic to retrieve pod IP from pod netns. cc: @yujuhong
-
Zach Loafman authored
-
Fabio Yeon authored
fix rollout nil panice issue
-
Fabio Yeon authored
AWS kube-up: Increase timeout waiting for docker start
-
Fabio Yeon authored
Quota integration test was not closing launched controllers
-
Fabio Yeon authored
Update links for the user and troubleshooting guides for the build cop
-
Chao Xu authored
-
Hongchao Deng authored
-
Robert Bailey authored
cop to copy-paste from the oncall documentation.
-
Hongchao Deng authored
instead of previous object's revision.
-
Fabio Yeon authored
Adding extra logging in case of error.
-
k8s-merge-robot authored
Automatic merge from submit-queue devel/ tree more minor edits Address line wrap issue #1488. Also cleans up other minor editing issues in the docs/devel/* tree such as spelling errors, links, content tables... Signed-off-by:Mike Brown <brownwm@us.ibm.com>
-
derekwaynecarr authored
-
Tim Hockin authored
Remove errant FIXME that got merged
-
Tim Hockin authored
-
Jordan Liggitt authored
-
Justin Santa Barbara authored
Apparently our cluster start time increased, to the point where users are reporting spurious timeouts (#23623) and users are reporting that increasing the timeout fixes the issue (thanks @paralin for the suggestion and @jlfields for confirming). Fix #23623
-
k8s-merge-robot authored
Automatic merge from submit-queue Sort resources in quota errors to avoid duplicate events Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1333122 Errors describing why a request was rejected to quota would get variable responses (cpu=x,memory=y or memory=x,cpu=y) which caused duplicate events for the same root cause. /cc @ncdc @jwforres
-
k8s-merge-robot authored
Automatic merge from submit-queue Introduce skeleton of new attach/detach controller This PR introduces the skeleton of the new attach/detach controller for #20262
-
k8s-merge-robot authored
Automatic merge from submit-queue Moving StorageFactory building logic to genericapiserver Adding a DefaultStorageFactoryBuilder which builds the required StorageFactory. This allows us to remove the duplicated code between `cmd/kube-apiserver` and `federation/cmd/federated-apiserver` cc @deads2k @lavalamp @jianhuiz
-
k8s-merge-robot authored
Automatic merge from submit-queue Display line number on JSON errors Related issue: https://github.com/kubernetes/kubernetes/issues/12231 This PR will introduce line numbers for all JSON errors in the CLI: (this is existing error reporting for YAML) ```console $ kubectl create -f broken.yaml yaml: line 8: mapping values are not allowed in this context ``` (this is error reporting proposed in this PR for JSON) ```console $ kubectl create -f broken.json json: line 35: invalid character '{' after object key ``` (and this is the current reporting:) ```console $ kubectl create -f broken.json invalid character '{' after object key ``` []()
-
nikhiljindal authored
-
David Oppenheimer authored
Pod anti affinity admission controller
-
k8s-merge-robot authored
Automatic merge from submit-queue GCI/Trusty: Fix the running of kube-addon-manager This PR fixes the issue that kube-addon-master (added in #23600) is not started. Without this fix, no kube-system pods can be running correctly. As a result, the GCI-based Jenkins testing k8s head has been down for a couple of days. The root cause is that we stopped to use namespace.yaml, but configure-helper.sh still tries to copy it. This PR also gets rid of /var/cache/kubernetes-install/kube_env.yaml, as it is not needed anymore after #24108. @mikedanese @roberthbailey @dchen1107 please review it. If possible please mark it as P1, as it blocks GCI-based Jenkins tests. cc/ @kubernetes/goog-image @fabioy FYI
-
k8s-merge-robot authored
Automatic merge from submit-queue How to update docs - doc ## Contributor 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. (_this would also contain updated detail later about this new template_) ```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 ```
-
k8s-merge-robot authored
Automatic merge from submit-queue Added vsphere support for vagrant Since the native vsphere support (using govc library) requires admin permissions on ESX/vCenter, not everyone can have such permissions. So I'm adding a vsphere support using vagrant using vagrant-vsphere plugin
-
k8s-merge-robot authored
Automatic merge from submit-queue GCE: Allow node count to exceed GCE TargetPool maximums ```release-note If the cluster node count exceeds the GCE TargetPool maximum (currently 1000), randomly select which nodes are members of Kubernetes External Load Balancers. ``` []() If we would exceeded the TargetPool API maximums, instead just randomly select some subsection of the nodes to include in the TP instead.
-
k8s-merge-robot authored
Automatic merge from submit-queue followup to add http server close method Fixes #25009, a follow up of https://github.com/kubernetes/kubernetes/pull/24595.
-
k8s-merge-robot authored
Automatic merge from submit-queue Kubelet: Add docker operation timeout For #23563. Based on #24748, only the last 2 commits are new. This PR: 1) Add timeout for all docker operations. 2) Add docker operation timeout metrics 3) Cleanup kubelet stats and add runtime operation error and timeout rate monitoring. 4) Monitor runtime operation error and timeout rate in kubelet perf. @yujuhong /cc @gmarek Because of the metrics change. /cc @kubernetes/sig-node
-
Zach Loafman authored
If we would exceeded the TargetPool API maximums, instead just randomly select some subsection of the nodes to include in the TP instead.
-