- 17 Mar, 2017 1 commit
-
-
Anthony Yeh authored
The GC expects that once it sees a controller with a non-nil DeletionTimestamp, that controller will not attempt any adoption. There was a known race condition that could cause a controller to re-adopt something orphaned by the GC, because the controller is using a cached value of its own spec from before DeletionTimestamp was set. This fixes that race by doing an uncached quorum read of the controller spec just before the first adoption attempt. It's important that this read occurs after listing potential orphans. Note that this uncached read is skipped if no adoptions are attempted (i.e. at steady state).
-
- 10 Mar, 2017 20 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42877, 42853) discriminate more when parsing kube-env :( Exactly match the key. Right now CA_KEY matches ETCD_CA_KEY and we just pick the first because fml. I HATE BASH more fixes for kubelet rbac enablement upgrades.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42877, 42853) Remove unused functions and make logs slightly better Zero risk cleanup, removing function that are not used anymore, and adding few more logs to help debugging problems. cc @aveshagarwal
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 36704, 42719) Extend timeouts in taints test to account for slow Pod deletions Fix #42685 Before merging this we need a consensus on what to do with slow Pod deletions.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Use Prometheus instrumentation conventions The `System` and `Subsystem` parameters are subject to removal. (x-ref: https://github.com/prometheus/client_golang/issues/240) All metrics should use base units, which is seconds in the duration case. Counters should always end in `_total` and metrics should avoid referring to potential label dimensions. Those should rather be mentioned in the documentation string. @kubernetes/sig-instrumentation Reference docs: https://prometheus.io/docs/practices/instrumentation/ https://prometheus.io/docs/practices/naming/ **Release note**: ``` Breaking change: Renamed REST client Prometheus metrics to follow the instrumentation conventions ("request_latency_microseconds" -> "rest_client_request_latency_seconds", "request_status_codes" -> "rest_client_requests_total"). Please update your alerting pipeline if you rely on them. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue e2e test: Log container output on TestContainerOutput error When a pod started with TestContainerOutput or TestContainerOutputRegexp fails from unknown reason, we should log all output of all its containers so we can analyze what went wrong. This would help us to see what wrong in https://github.com/kubernetes/kubernetes/issues/40811 - a container is running there for 3 minutes and dies and we want to see what it did for these 3 minutes. ```release-note NONE ```
-
gmarek authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Fix removing kube-dns configmap during cluster unjoin Fixes: #42836 cc @madhusudancs @kubernetes/sig-federation-bugs
-
gmarek authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Add new DaemonSetStatus to kubectl printer and describer @kargakis @lukaszo @kubernetes/sig-apps-pr-reviews @kubernetes/sig-cli-pr-reviews ```release-note Add new DaemonSet status fields to kubectl printer and describer. ```
-
Jan Safranek authored
When a pod started with TestContainerOutput or TestContainerOutputRegexp fails from unknown reason, we should log all output of all its containers so we can analyze what went wrong.
-
shashidharatd authored
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue [Federation] Prevent trailing periods in kube-dns federations domains kubefed-level fix to catch cases where FEDERATIONS_DOMAIN_MAP is not set in the environment (i.e. CI). Addresses https://github.com/kubernetes/kubernetes/issues/42809
-
Fabian Reinartz authored
A histogram allows to aggregate by labels and calculate more comprehensive quantiles.
-
Fabian Reinartz authored
The `System` and `Subsystem` parameters are subject to removal. (x-ref: https://github.com/prometheus/client_golang/issues/240) All metrics should use base units, which is seconds in the duration case. Counters should always end in `_total` and metrics should avoid referring to potential label dimensions. Those should rather be mentioned in the documentation string.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42811, 42859) Change the junit file name format to `junit_image-name_id.xml`, With this, the junit file name will be `junit_image-name_id.xml: ``` junit_containervm_id.xml junit_coreos-alpha_id.xml junit_gci_id.xml junit_ubuntu-docker10_id.xml junit_ubuntu-docker12_id.xml ``` The test infra team will use the `image-name` inside the junit file name and replace the original `[1] [2] [3] ..` with the actual image name. This will make it a little bit easier for debugging. /cc @dchen1107 @krzyzacy @kubernetes/sig-node-pr-reviews /cc @kubernetes/release-maintainers This is a minor test only change to make it easier to debug issues.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42811, 42859) Validation PVs for mount options We are going to move the validation in its own package and we will be calling validation for individual volume types as needed. Fixes https://github.com/kubernetes/kubernetes/issues/42573
-
Random-Liu authored
and make the gci image name shorter.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42024, 42780, 42808, 42640) kubectl: respect DaemonSet strategy parameters for rollout status It handles "after-merge" comments from #41116 cc @kargakis @janetkuo I will add one more e2e test later. I need to handle some in company stuff.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42024, 42780, 42808, 42640) Node controller test flake 39975 with delay for try function **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39975 /cc @ncdc @gmarek @liggitt
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42024, 42780, 42808, 42640) Handle NPD during cluster upgrade. Generate NPD token during upgrade. I could not fully verify this change because of https://github.com/kubernetes/kubernetes/issues/42199. However, at least I tried upgrade master, and the corresponding environment variables are correctly generated. ``` ... ENABLE_NODE_PROBLEM_DETECTOR: 'standalone' ... KUBELET_TOKEN: 'PKNgAaVXeL3VojND2s0KMleELjzGK0oW' ``` @maisem @dchen1107
-
- 09 Mar, 2017 19 commits
-
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Remove VCenterPort from vsphere cloud provider. **What this PR does / why we need it**: Address a bug inside vsphere cloud provider when a port number other than 443 is specified inside the config file. The url which is used for communicating with govmomi should not include port number. A port number other than 443 will result in 404 error. VCenterPort stays in VSphereConfig structure for backward compatibility. **Which issue this PR fixes** : fixes https://github.com/kubernetes/kubernetes-anywhere/issues/338
-
Janet Kuo authored
-
Mike Danese authored
I HATE BASH
-
Hemant Kumar authored
We are going to move the validation in its own package and we will be calling validation for individual volume types as needed.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42734, 42745, 42758, 42814, 42694) Dropped docker 1.9.x support. Changed the minimumDockerAPIVersion to 1.22 cc/ @Random-Liu @yujuhong We talked about dropping docker 1.9.x support for a while. I just realized that we haven't really done it yet. ```release-note Dropped the support for docker 1.9.x and the belows. ```
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42734, 42745, 42758, 42814, 42694) kubemark: enable CRI in the hollow kubelet
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42734, 42745, 42758, 42814, 42694) Implement automated downgrade testing. Node version cannot be higher than the master version, so we must switch the node version first. Also, we must use the upgrade script from the appropriate version for GCE.
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42734, 42745, 42758, 42814, 42694) Bump glbc version to 0.9.2 Follow up to https://github.com/kubernetes/ingress/pull/384
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue (batch tested with PRs 42734, 42745, 42758, 42814, 42694) Create DefaultPodDeletionTimeout for e2e tests In our e2e and e2e_node tests, we had a number of different timeouts for deletion. Recent changes to the way deletion works (#41644, #41456) have resulted in some timeouts in e2e tests. #42661 was the most recent fix for this. Most of these tests are not meant to test pod deletion latency, but rather just to clean up pods after a test is finished. For this reason, we should change all these tests to use a standard, fairly high timeout for deletion. cc @vishh @Random-Liu
-
Random-Liu authored
-
Dawn Chen authored
[Bug Fix] Allow Status Updates for Pods that can be deleted
-
Kubernetes Submit Queue authored
Automatic merge from submit-queue Don't wait for the final deletion of pod The final deletion of the pod depends on kubelet and other components operating correctly. The purpose of this e2e test is verifying the clientset can handle deleteOptions correctly, so waiting for the deletionTimestamp and deletionGraceperiod get set is good enough. In the long run, we should move this set of e2e tests to integration tests. Fix #42724 #42646 cc @marun
-
Kris authored
Node version cannot be higher than the master version, so we must switch the node version first. Also, we must use the upgrade script from the appropriate version for GCE.
-
Chao Xu authored
-
Christian Bell authored
kubefed-level fix to catch cases where FEDERATIONS_DOMAIN_MAP is not set in the environment (i.e. CI).
-
ravisantoshgudimetla authored
-
Łukasz Oleś authored
It handles "after-merge" comments from #41116
-
Yu-Ju Hong authored
-
David Ashpole authored
-