- 07 Oct, 2016 31 commits
-
-
David Oppenheimer authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add kubelet awareness to taint tolerant match caculator. Add kubelet awareness to taint tolerant match caculator. Ref: #25320 This is required by `TaintEffectNoScheduleNoAdmit` & `TaintEffectNoScheduleNoAdmitNoExecute `, so that node will know if it should expect the taint&tolerant
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue build: fix typo in error message help
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue fix pod eviction storage Refactor pod eviction storage to remove the tight order coupling of the storage. This also gets us ready to deal with cases where API groups are not co-located on the same server, though the particular client being used would assume a proxy.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Federated ingress unit test fix Adds RaceFreeFakeWatcher to watch.go. If this struct succeeds with helping IngressController i will try to move all FakeWatchers to this implementation. cc: @quinton-hoole @madhusudancs @wojtek-t @kubernetes/sig-cluster-federation Should help with #32685.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue test: bump deployment test timeout Matches the timeout used in [WaitForDeploymentStatus](https://github.com/kubernetes/kubernetes/blob/6d56d0337abd424f089e9b66b0dc77002e6068b3/test/e2e/framework/util.go#L3610) Fixes https://github.com/kubernetes/kubernetes/issues/31810
-
Jonathan Boulle authored
"hasn't been set of is set" --> "hasn't been set or is set"
-
Marcin Wielgus authored
-
Marcin Wielgus authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Clean up SchedulerPredicates e2e tests
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Simplify kubectl get --raw Write to configured output stream Don't assume output is a string
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't set timeouts in clients in tests We are not setting timeouts in production - we shouldn't do it in tests then... Addresses point 2. of #31345
-
Michail Kargakis authored
Matches the timeout used in WaitForDeploymentStatus
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Discovery client retry when failed to discovery resrouces Fix #32308 `ServerPreferredNamespacedResources()` fails if in the middle of its execution, the TPR e2e tests change the supported resources on the API server. This PR let the e2e test framework retry `ServerPreferredNamespacedResources()`. cc @lavalamp
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue add delete-namespace-on-failure flag I have been doing this for a while. Setting `--delete-namespace=false --clean-start=true` only works if you have only one e2e test running in a loop. This PR lets someone to set `delete-namespace-on-failure=false` and run multiple tests in parallel and preserve the crime scene. It makes it easier to reproduce failures. Let me know if this is worth it or there are some other tricks I am not aware.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove duplicated code in secret e2e tests <!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md 2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md 3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes --> **What this PR does / why we need it**: This come up when writing another PR: https://github.com/kubernetes/kubernetes/pull/28936 as a comment from @thockin. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: **Special notes for your reviewer**: **Release note**: <!-- Steps to write your release note: 1. Use the release-note-* labels to set the release note state (if you have access) 2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. --> ```NONE ``` This patch just removes duplicated code in secret e2e tests.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't tolerate unready endpoints in cockroachdb example That annotation was only included in the initial config due to cargo-culting, and has the potential to break node startup if it resolves its own address to gossip to. @bprashanth @tschottdorf
-
Ivan Shvedunov authored
Reduce repetition & don't use hardcoded pause image tags.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Small update to scheduler benchmark cc @hongchaodeng
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Ignore troublesome paths that cause coverage to fail **What this PR does / why we need it**: `KUBE_COVER=y make check` currently fails, this patch fixes it. **Which issue this PR fixes** fixes #31691 **Special notes for your reviewer**: None **Release note**: ```release-note NONE ``` This avoids the whole command failing because of errors like the following: ``` # cover k8s.io/kubernetes/pkg/client/restclient cover: internal error: block 268 overlaps block 270 ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Refactor: separate KubeletClient & ConnectionInfoGetter concepts KubeletClient implements ConnectionInfoGetter, but it is not a complete implementation: it does not set the kubelet port from the node record, for example. By renaming the method so that it does not implement the interface, we are able to cleanly see where the "raw" GetConnectionInfo is used (it is correct) and also have go type-checking enforce this for us. This is related to #25532; I wanted to satisfy myself that what we were doing there was correct, and I wanted also to ensure that the compiler could enforce this going forwards.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Update client config invalid option errors to be more specific This patch adds better error handling for cases where a global option (such as --context or --cluster) causes an invalid config to be returned. ```release-note release-note-none ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add node event for container/image GC failure Follow up to #31988. Add an event for a node when container/image GC fails.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Delete federation namespace after the test completes The code was commented because of a bug in namespace deletion which is now fixed. Note that this deletes the namespace in federation control plane. We still need to delete the namespace from each cluster (cascading deletion) cc @kubernetes/sig-cluster-federation
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubectl: implement kubectl apply --prune Closes https://github.com/kubernetes/kubernetes/issues/19805 Depends on #32599 @errordeveloper @lukemarsden
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use rsync to probe for rsync ready We were using netcat to try and figure out when the rsync container is ready. Now we instead use rsync itself. I suspect that there was a race condition with some versions of Docker where it would accept connections and then close them during container start. This fixes #34214 (I think)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix nil pointer issue when getting metrics from volume mounter Currently it is possible that the mounter object stored in Mounted Volume data structure in the actual state of kubelet volume manager is nil if this information is recovered from state sync process. This will cause nil pointer issue when calculating stats in volume_stat_calculator. A quick fix is to not return the volume if its mounter is nil. A more complete fix is to also recover mounter object when reconstructing the volume data structure which will be addressed in PR #33616
-
Mike Danese authored
-
Mike Danese authored
-
nikhiljindal authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Nodefs becomes imagefs on GCI Kubelet cannot identify rootfs correctly For #33444 ```release-note Enforce Disk based pod eviction with GCI base image in Kubelet ``` Signed-off-by:Vishnu kannan <vishnuk@google.com>
-
- 06 Oct, 2016 9 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove headers that are unnecessary for proxy target Some headers like authorization is unnecessary to pass to the proxy target. We should start removing these headers in proxy requests.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Fix wait.JitterUntil https://github.com/kubernetes/kubernetes/pull/29743 changed a util method to cause process exits if a handler function panics. Utility methods should not make process exit decisions. If a process (like the controller manager) wants to exit on panic, appending a panic handler or setting `ReallyCrash = true` is the right way to do that (discussed [here](https://github.com/kubernetes/kubernetes/pull/29743#r75509074)). This restores the documented behavior of wait.JitterUntil
-
juanvallejo authored
This patch provides a more relevant error message when a client configuration option is passed with an invalid or non-existent value. `$ kubectl get pods --cluster="non-existent"` ``` error: No configuration file found, please login or point to an existing file ``` `$ kubectl get pods --cluster="non-existent"` ``` error: cluster "non-existent" does not exist ```
-
mbohlool authored
-
Joe Beda authored
We were using netcat to try and figure out when the rsync container is ready. Now we instead use rsync itself. I suspect that there was a race condition with some versions of Docker where it would accept connections and then close them during container start. This fixes #34214 (I think)
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add missing argument to log message in federated ingress controller. Minor fix, to address this: 1006 01:08:50.605184 1 ingress_controller.go:674] No annotation "kubernetes.io/ingress.global-static-ip-name" exists on ingress "e2e-tests-federated-ingress-2787b/federated-ingress" in federation, and index of cluster "federation-e2e-gce-us-central1-f" is 1 and not zero. Not queueing create operation for ingress *%!q(MISSING)* until annotation exists
-
Jing Xu authored
Currently it is possible that the mounter object stored in Mounted Volume data structure in the actual state of kubelet volume manager is nil if this information is recovered from state sync process. This will cause nil pointer issue when calculating stats in volume_stat_calculator. A quick fix is to not return the volume if its mounter is nil. A more complete fix is to also recover mounter object when reconstructing the volume data structure which will be addressed in PR #33616
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue kubelet: eviction: avoid duplicate action on stale stats Currently, the eviction code can be overly aggressive when synchronize() is called two (or more) times before a particular stat has been recollected by cadvisor. The eviction manager will take additional action based on information for which it has already taken actions. This PR provides a method for the eviction manager to track the timestamp of the last obversation and not take action if the stat has not been updated since the last time synchronize() was run. @derekwaynecarr @vishh @kubernetes/rh-cluster-infra
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue controller: scale proportionally before rolling out new templates Once we have progressDeadlineSeconds (https://github.com/kubernetes/kubernetes/pull/19343) and https://github.com/kubernetes/kubernetes/issues/32863 we should be able to get meaningful errors for the concerns I raised in https://github.com/kubernetes/kubernetes/issues/29357. cc: @kubernetes/deployment Fixes https://github.com/kubernetes/kubernetes/issues/29357
-